mesa-25.1.0~rc2-2.fc43
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_debug.c:309:25: warning[-Wanalyzer-null-argument]: use of NULL ‘wave_dump’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_debug.c:293:10: enter_function: entry to ‘ac_get_wave_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_debug.c:301:7: branch_true: following ‘true’ branch (when ‘wave_dump’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_debug.c:302:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_debug.c:302:14: call_function: calling ‘ac_get_umr_waves’ from ‘ac_get_wave_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_debug.c:302:14: return_function: returning to ‘ac_get_wave_info’ from ‘ac_get_umr_waves’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_debug.c:309:25: danger: argument 1 (‘wave_dump’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:68:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:55:13: enter_function: entry to ‘ac_roll_context’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:67:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:68:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:68:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘ac_roll_context’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:68:7: return_function: returning to ‘ac_roll_context’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:68:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*ctx.rolls, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:109:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx.cur’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:307:6: enter_function: entry to ‘ac_gather_context_rolls’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:315:14: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:319:25: branch_true: following ‘true’ branch (when ‘i < num_ibs’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:320:59: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_gather_context_rolls.c:320:7: call_function: calling ‘ac_ib_gather_context_rolls’ from ‘ac_gather_context_rolls’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:323:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rgp_shader_data’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:289:1: enter_function: entry to ‘ac_rgp_file_write_elf_text’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:293:28: release_memory: ‘rgp_shader_data’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:299:10: call_function: calling ‘get_lowest_shader’ from ‘ac_rgp_file_write_elf_text’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:299:10: return_function: returning to ‘ac_rgp_file_write_elf_text’ from ‘get_lowest_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:299:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:323:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:323:36: release_memory: ‘rgp_shader_data’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rgp_elf_object_pack.c:323:21: danger: dereference of NULL ‘rgp_shader_data’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def5]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:217:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:232:6: enter_function: entry to ‘ac_rtld_open’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:246:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:270:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:284:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:287:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:287:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:292:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:301:32: branch_true: following ‘true’ branch (when ‘part_idx < <unknown>’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:302:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:307:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:309:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:310:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:311:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:311:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:315:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:315:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:316:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:316:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:318:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:320:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:324:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:325:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:328:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:331:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:331:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:334:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:334:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:335:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:367:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:368:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/ac_rtld.c:368:18: call_function: calling ‘read_private_lds_symbols’ from ‘ac_rtld_open’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/llvm/ac_llvm_build.c:527:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/llvm/ac_llvm_build.c:3284:14: enter_function: entry to ‘ac_build_reduce’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/llvm/ac_llvm_build.c:3287:7: branch_false: following ‘false’ branch (when ‘cluster_size != 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/llvm/ac_llvm_build.c:3289:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/llvm/ac_llvm_build.c:3289:4: call_function: calling ‘ac_build_optimization_barrier’ from ‘ac_build_reduce’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:157:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe_ctx’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:86:24: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:148:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:148:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:155:5: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:156:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:157:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:157:9: danger: dereference of NULL ‘pipe_ctx’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:169:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe_ctx’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:86:24: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:148:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:148:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:155:5: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:156:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:159:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vpelib/src/chip/vpe10/vpe10_cmd_builder.c:169:9: danger: dereference of NULL ‘pipe_ctx’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:78:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:173:1: enter_function: entry to ‘handle_accel_struct_write’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:210:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:211:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:213:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:214:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:217:25: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_rra_layer.c:218:14: call_function: calling ‘rra_init_accel_struct_data_buffer’ from ‘handle_accel_struct_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:193:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘submission’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1681:1: enter_function: entry to ‘sqtt_CreateGraphicsPipelines’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1690:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1693:25: branch_true: following ‘true’ branch (when ‘i < count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1694:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1696:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1699:101: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1699:54: call_function: calling ‘vk_graphics_pipeline_create_flags’ from ‘sqtt_CreateGraphicsPipelines’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1699:54: return_function: returning to ‘sqtt_CreateGraphicsPipelines’ from ‘vk_graphics_pipeline_create_flags’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1700:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1703:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/layers/radv_sqtt_layer.c:1703:16: call_function: calling ‘radv_sqtt_reloc_graphics_shaders’ from ‘sqtt_CreateGraphicsPipelines’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:262:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:553:1: enter_function: entry to ‘radv_nir_apply_pipeline_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:570:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘radv_nir_apply_pipeline_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:570:4: return_function: returning to ‘radv_nir_apply_pipeline_layout’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:570:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:578:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:579:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:579:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:579:10: call_function: inlined call to ‘exec_node_is_head_sentinel’ from ‘radv_nir_apply_pipeline_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:579:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:579:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:580:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:580:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:581:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c:581:33: call_function: calling ‘apply_layout_to_tex’ from ‘radv_nir_apply_pipeline_layout’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:146:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fields’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:113:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:118:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:118:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:126:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:126:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:127:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:140:10: branch_true: following ‘true’ branch (when ‘change != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:143:42: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:143:42: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:145:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:146:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_cooperative_matrix.c:146:10: danger: ‘fields + (long unsigned int)i * 48’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_printf.c:29:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_printf.c:16:1: enter_function: entry to ‘pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_printf.c:23:21: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_printf.c:27:35: call_function: inlined call to ‘nir_src_as_deref’ from ‘pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_printf.c:28:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_printf.c:29:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_printf.c:29:7: danger: ‘args + (long unsigned int)i * 8’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:261:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:571:1: enter_function: entry to ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:579:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: return_function: returning to ‘radv_nir_lower_ray_queries’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:590:7: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: call_function: inlined call to ‘nir_start_block’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: call_function: inlined call to ‘nir_intrinsic_is_ray_query’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:609:67: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:629:16: call_function: calling ‘lower_rq_initialize’ from ‘radv_nir_lower_ray_queries’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:284:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:571:1: enter_function: entry to ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:579:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: return_function: returning to ‘radv_nir_lower_ray_queries’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:590:7: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: call_function: inlined call to ‘nir_start_block’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: call_function: inlined call to ‘nir_intrinsic_is_ray_query’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:609:67: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:629:16: call_function: calling ‘lower_rq_initialize’ from ‘radv_nir_lower_ray_queries’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:285:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:571:1: enter_function: entry to ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:579:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: return_function: returning to ‘radv_nir_lower_ray_queries’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:590:7: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: call_function: inlined call to ‘nir_start_block’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: call_function: inlined call to ‘nir_intrinsic_is_ray_query’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:609:67: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:629:16: call_function: calling ‘lower_rq_initialize’ from ‘radv_nir_lower_ray_queries’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:563:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘opaque_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:571:1: enter_function: entry to ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:578:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:579:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: return_function: returning to ‘radv_nir_lower_ray_queries’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:587:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:590:7: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: call_function: inlined call to ‘nir_start_block’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:599:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:600:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:601:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:606:18: call_function: inlined call to ‘nir_intrinsic_is_ray_query’ from ‘radv_nir_lower_ray_queries’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:609:67: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_ray_queries.c:617:35: call_function: calling ‘radv_lower_opaque_ray_query_deref’ from ‘radv_nir_lower_ray_queries’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def18]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:404:13: warning[-Wanalyzer-null-argument]: use of NULL ‘last_inst’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:390:41: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:392:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:394:11: branch_true: following ‘true’ branch (when ‘next’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:395:53: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:398:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:400:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:402:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:403:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:404:13: danger: argument 2 (‘last_inst’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING: [#def19]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:404:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1129:1: enter_function: entry to ‘radv_dump_faulty_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1151:4: call_function: calling ‘radv_add_split_disasm’ from ‘radv_dump_faulty_shader’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def20]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:404:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘inst’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1129:1: enter_function: entry to ‘radv_dump_faulty_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1148:44: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1151:4: call_function: calling ‘radv_add_split_disasm’ from ‘radv_dump_faulty_shader’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def21]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:404:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘last_inst’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1129:1: enter_function: entry to ‘radv_dump_faulty_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1148:44: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1151:4: call_function: calling ‘radv_add_split_disasm’ from ‘radv_dump_faulty_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:425:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1129:1: enter_function: entry to ‘radv_dump_faulty_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1148:44: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1151:4: call_function: calling ‘radv_add_split_disasm’ from ‘radv_dump_faulty_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:425:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘last_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1129:1: enter_function: entry to ‘radv_dump_faulty_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1148:44: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_debug.c:1151:4: call_function: calling ‘radv_add_split_disasm’ from ‘radv_dump_faulty_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1123:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1424:1: enter_function: entry to ‘radv_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1430:4: call_function: inlined call to ‘radv_update_descriptor_sets_impl’ from ‘radv_UpdateDescriptorSets’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1430:4: call_function: inlined call to ‘radv_update_descriptor_sets_impl’ from ‘radv_UpdateDescriptorSets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1341:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘accel_structs’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1424:1: enter_function: entry to ‘radv_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1430:4: call_function: inlined call to ‘radv_update_descriptor_sets_impl’ from ‘radv_UpdateDescriptorSets’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_descriptor_set.c:1430:4: call_function: inlined call to ‘radv_update_descriptor_sets_impl’ from ‘radv_UpdateDescriptorSets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_formats.c:882:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_formats.c:1320:1: enter_function: entry to ‘radv_GetPhysicalDeviceSparseImageFormatProperties2’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_formats.c:1328:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_formats.c:1333:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_formats.c:1342:13: call_function: calling ‘radv_get_image_format_properties’ from ‘radv_GetPhysicalDeviceSparseImageFormatProperties2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1796:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1764:1: enter_function: entry to ‘radv_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1768:25: branch_true: following ‘true’ branch (when ‘i < bindInfoCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1769:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1771:36: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1771:36: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1779:10: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1779:10: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1781:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1781:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1794:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1794:10: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1795:23: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1795:23: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1796:44: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_image.c:1796:44: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_nir_to_llvm.c:446:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbin’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_nir_to_llvm.c:469:1: enter_function: entry to ‘llvm_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_nir_to_llvm.c:482:4: call_function: calling ‘radv_compile_nir_shader’ from ‘llvm_compile_shader’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_nir_to_llvm.c:452:1: warning[-Wanalyzer-malloc-leak]: leak of ‘rbin’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_nir_to_llvm.c:469:1: enter_function: entry to ‘llvm_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_nir_to_llvm.c:482:4: call_function: calling ‘radv_compile_nir_shader’ from ‘llvm_compile_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:418:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ac_block’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:909:1: enter_function: entry to ‘radv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:915:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:920:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:920:9: call_function: calling ‘radv_init_perfcounter_descs’ from ‘radv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:920:9: return_function: returning to ‘radv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR’ from ‘radv_init_perfcounter_descs’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:920:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:929:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:931:22: call_function: calling ‘radv_get_counter_registers’ from ‘radv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:931:22: return_function: returning to ‘radv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR’ from ‘radv_get_counter_registers’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:933:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:938:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_perfcounter.c:938:18: call_function: calling ‘radv_get_num_counter_passes’ from ‘radv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:863:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:800:1: enter_function: entry to ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:807:7: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:807:7: return_function: returning to ‘radv_GetPipelineExecutableStatisticsKHR’ from ‘radv_get_shader_from_executable_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:816:46: branch_true: following ‘true’ branch (when ‘pStatistics’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:816:63: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:819:7: branch_false: following ‘false’ branch (when ‘pStatistics >= end’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:827:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:833:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:835:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:841:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:843:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:849:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:851:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:857:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:859:7: branch_true: following ‘true’ branch (when ‘s < end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:860:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:863:22: danger: dereference of NULL ‘radv_get_shader_from_executable_index(*pExecutableInfo.pipeline, (int)*pExecutableInfo.executableIndex, & stage)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:887:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:800:1: enter_function: entry to ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:807:7: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:807:7: return_function: returning to ‘radv_GetPipelineExecutableStatisticsKHR’ from ‘radv_get_shader_from_executable_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:816:46: branch_true: following ‘true’ branch (when ‘pStatistics’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:816:63: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:819:7: branch_false: following ‘false’ branch (when ‘pStatistics >= end’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:827:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:833:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:835:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:841:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:843:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:849:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:851:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:857:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:859:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:865:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:867:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:873:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:875:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:881:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:883:7: branch_true: following ‘true’ branch (when ‘s < end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:884:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:887:22: danger: dereference of NULL ‘radv_get_shader_from_executable_index(*pExecutableInfo.pipeline, (int)*pExecutableInfo.executableIndex, & stage)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1035:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:800:1: enter_function: entry to ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:807:7: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:807:7: return_function: returning to ‘radv_GetPipelineExecutableStatisticsKHR’ from ‘radv_get_shader_from_executable_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:816:46: branch_false: following ‘false’ branch (when ‘pStatistics’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:825:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:827:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:833:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:835:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:841:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:843:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:849:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:851:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:857:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:859:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:865:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:867:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:873:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:875:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:881:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:883:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:889:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:891:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:950:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:952:7: branch_false: following ‘false’ branch (when ‘s >= end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1033:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1035:8: danger: dereference of NULL ‘radv_get_shader_from_executable_index(*pExecutableInfo.pipeline, (int)*pExecutableInfo.executableIndex, & stage)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1099:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1079:1: enter_function: entry to ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1088:7: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1088:7: return_function: returning to ‘radv_GetPipelineExecutableInternalRepresentationsKHR’ from ‘radv_get_shader_from_executable_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1092:9: branch_true: following ‘true’ branch (when ‘pInternalRepresentations’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1092:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1095:7: branch_true: following ‘true’ branch (when ‘pInternalRepresentations < end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1096:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1099:60: danger: dereference of NULL ‘radv_get_shader_from_executable_index(*pExecutableInfo.pipeline, (int)*pExecutableInfo.executableIndex, & stage)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1114:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1079:1: enter_function: entry to ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1088:7: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1088:7: return_function: returning to ‘radv_GetPipelineExecutableInternalRepresentationsKHR’ from ‘radv_get_shader_from_executable_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1092:9: branch_true: following ‘true’ branch (when ‘pInternalRepresentations’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1092:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1095:7: branch_false: following ‘false’ branch (when ‘pInternalRepresentations >= end’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1105:7: branch_true: following ‘true’ branch (when ‘end > p’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1106:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1107:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1108:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1114:60: danger: dereference of NULL ‘radv_get_shader_from_executable_index(*pExecutableInfo.pipeline, (int)*pExecutableInfo.executableIndex, & stage)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1120:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1079:1: enter_function: entry to ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1088:7: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutableInternalRepresentationsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1088:7: return_function: returning to ‘radv_GetPipelineExecutableInternalRepresentationsKHR’ from ‘radv_get_shader_from_executable_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1092:9: branch_true: following ‘true’ branch (when ‘pInternalRepresentations’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1092:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1095:7: branch_false: following ‘false’ branch (when ‘pInternalRepresentations >= end’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1105:7: branch_false: following ‘false’ branch (when ‘end <= p’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1120:7: branch_true: following ‘true’ branch (when ‘end > p’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1120:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:1120:19: danger: dereference of NULL ‘radv_get_shader_from_executable_index(*pExecutableInfo.pipeline, (int)*pExecutableInfo.executableIndex, & stage)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:156:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:364:1: enter_function: entry to ‘radv_CreatePipelineBinariesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:371:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:379:4: call_function: inlined call to ‘util_dynarray_init’ from ‘radv_CreatePipelineBinariesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:382:13: call_function: calling ‘radv_create_pipeline_binaries’ from ‘radv_CreatePipelineBinariesKHR’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def38]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:156:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipeline_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:364:1: enter_function: entry to ‘radv_CreatePipelineBinariesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:371:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:382:13: call_function: calling ‘radv_create_pipeline_binaries’ from ‘radv_CreatePipelineBinariesKHR’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def39]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:186:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipeline_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:364:1: enter_function: entry to ‘radv_CreatePipelineBinariesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:371:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:382:13: call_function: calling ‘radv_create_pipeline_binaries’ from ‘radv_CreatePipelineBinariesKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:242:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:364:1: enter_function: entry to ‘radv_CreatePipelineBinariesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:371:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:379:4: call_function: inlined call to ‘util_dynarray_init’ from ‘radv_CreatePipelineBinariesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:382:13: call_function: calling ‘radv_create_pipeline_binaries’ from ‘radv_CreatePipelineBinariesKHR’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:242:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipeline_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:364:1: enter_function: entry to ‘radv_CreatePipelineBinariesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:371:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline_binary.c:382:13: call_function: calling ‘radv_create_pipeline_binaries’ from ‘radv_CreatePipelineBinariesKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:144:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:217:1: enter_function: entry to ‘radv_build_printf’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:219:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:223:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:237:4: call_function: calling ‘radv_build_printf_args’ from ‘radv_build_printf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:150:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘strides’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:217:1: enter_function: entry to ‘radv_build_printf’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:219:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:223:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:237:4: call_function: calling ‘radv_build_printf_args’ from ‘radv_build_printf’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def44]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:213:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:217:1: enter_function: entry to ‘radv_build_printf’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:219:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:223:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_false: following ‘false’ branch (when ‘num_args <= i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:235:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:237:4: call_function: calling ‘radv_build_printf_args’ from ‘radv_build_printf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:214:1: warning[-Wanalyzer-malloc-leak]: leak of ‘format.string’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:217:1: enter_function: entry to ‘radv_build_printf’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:219:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:223:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_false: following ‘false’ branch (when ‘num_args <= i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:235:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:237:4: call_function: calling ‘radv_build_printf_args’ from ‘radv_build_printf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘args’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:219:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:223:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:230:21: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:232:25: branch_true: following ‘true’ branch (when ‘num_args > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:233:7: danger: ‘args + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def47]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:290:26: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘print_str’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:245:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:248:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:253:69: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:254:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:270:28: branch_true: following ‘true’ branch (when ‘num_args >= i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:271:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:273:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:278:51: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:285:28: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_printf.c:290:26: danger: argument 1 (‘print_str’) from [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_radeon_winsys.h:324:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_probs_bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2624:1: enter_function: entry to ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2639:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2644:4: call_function: inlined call to ‘radv_vid_buffer_upload_alloc’ from ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2648:4: call_function: calling ‘ruvd_dec_message_decode’ from ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2648:4: return_function: returning to ‘radv_uvd_decode_video’ from ‘ruvd_dec_message_decode’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2653:4: call_function: calling ‘send_cmd’ from ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2653:4: return_function: returning to ‘radv_uvd_decode_video’ from ‘send_cmd’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2666:4: call_function: calling ‘send_cmd’ from ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2666:4: return_function: returning to ‘radv_uvd_decode_video’ from ‘send_cmd’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2671:4: call_function: calling ‘send_cmd’ from ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2671:4: return_function: returning to ‘radv_uvd_decode_video’ from ‘send_cmd’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2672:4: call_function: calling ‘send_cmd’ from ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2672:4: return_function: returning to ‘radv_uvd_decode_video’ from ‘send_cmd’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2673:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2675:16: call_function: inlined call to ‘radv_buffer_get_va’ from ‘radv_uvd_decode_video’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def49]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_rmv.c:160:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_rmv.c:729:1: enter_function: entry to ‘radv_rmv_log_sparse_remove_residency’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_rmv.c:731:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_rmv.c:734:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_rmv.c:740:4: call_function: calling ‘radv_rmv_collect_trace_events’ from ‘radv_rmv_log_sparse_remove_residency’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:2527:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘submission’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:3359:1: enter_function: entry to ‘radv_create_ps_epilog’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:3367:4: call_function: calling ‘radv_fill_nir_compiler_options’ from ‘radv_create_ps_epilog’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:3367:4: return_function: returning to ‘radv_create_ps_epilog’ from ‘radv_fill_nir_compiler_options’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:3396:13: call_function: calling ‘radv_shader_part_create’ from ‘radv_create_ps_epilog’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:3217:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘part_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:3215:84: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader.c:3217:4: danger: ‘part_binary’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader_info.c:1209:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader_info.c:1196:1: enter_function: entry to ‘radv_nir_shader_info_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader_info.c:1202:55: call_function: inlined call to ‘exec_list_get_head_const’ from ‘radv_nir_shader_info_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader_info.c:1204:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_shader_info.c:1209:4: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:1230:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2682:1: enter_function: entry to ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: call_function: calling ‘rvcn_dec_message_decode’ from ‘radv_vcn_decode_video’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:1373:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2682:1: enter_function: entry to ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: call_function: calling ‘rvcn_dec_message_decode’ from ‘radv_vcn_decode_video’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:1518:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2682:1: enter_function: entry to ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: call_function: calling ‘rvcn_dec_message_decode’ from ‘radv_vcn_decode_video’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:1518:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘probs_ptr’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2682:1: enter_function: entry to ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2690:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2717:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2720:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2720:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2725:4: call_function: inlined call to ‘radv_vid_buffer_upload_alloc’ from ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2728:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: call_function: calling ‘rvcn_dec_message_decode’ from ‘radv_vcn_decode_video’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:1955:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_dynamic_dpb’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2682:1: enter_function: entry to ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: call_function: calling ‘rvcn_dec_message_decode’ from ‘radv_vcn_decode_video’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2138:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2393:1: enter_function: entry to ‘ruvd_dec_message_decode’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2429:10: call_function: calling ‘get_uvd_h264_msg’ from ‘ruvd_dec_message_decode’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2138:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it_ptr’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2624:1: enter_function: entry to ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2632:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2632:25: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2639:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2644:4: call_function: inlined call to ‘radv_vid_buffer_upload_alloc’ from ‘radv_uvd_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2648:4: release_memory: ‘it_probs_ptr’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2648:4: call_function: calling ‘ruvd_dec_message_decode’ from ‘radv_uvd_decode_video’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def60]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2750:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘slice_offset’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2682:1: enter_function: entry to ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2717:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2720:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2720:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2725:4: call_function: inlined call to ‘radv_vid_buffer_upload_alloc’ from ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: call_function: calling ‘rvcn_dec_message_decode’ from ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2732:4: return_function: returning to ‘radv_vcn_decode_video’ from ‘rvcn_dec_message_decode’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2734:4: call_function: calling ‘send_cmd’ from ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2734:4: return_function: returning to ‘radv_vcn_decode_video’ from ‘send_cmd’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2736:4: call_function: calling ‘send_cmd’ from ‘radv_vcn_decode_video’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2736:4: return_function: returning to ‘radv_vcn_decode_video’ from ‘send_cmd’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2750:13: danger: use of uninitialized value ‘slice_offset’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2794:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2783:1: enter_function: entry to ‘radv_video_get_profile_alignments’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2789:7: branch_true: following ‘true’ branch (when ‘profile_list’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2790:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2791:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2791:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2793:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2793:16: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_video_get_profile_alignments’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2793:16: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_video_get_profile_alignments’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2794:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video.c:2794:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:448:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1851:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1854:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:478:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1851:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1854:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:558:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1851:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1854:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:577:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1851:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1854:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:634:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1851:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1854:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1251:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1851:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1854:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1258:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1851:1: enter_function: entry to ‘radv_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1854:4: call_function: calling ‘radv_vcn_encode_video’ from ‘radv_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1910:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1893:1: enter_function: entry to ‘radv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1908:10: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_GetEncodedVideoSessionParametersKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1908:10: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1909:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1910:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1938:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1893:1: enter_function: entry to ‘radv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1936:10: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_GetEncodedVideoSessionParametersKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1936:10: call_function: inlined call to ‘__vk_find_struct’ from ‘radv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1937:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_video_enc.c:1938:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ibs’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:24: branch_false: following ‘false’ branch (when ‘type != 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1497:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1497:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1498:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1503:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1506:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1512:13: branch_false: following ‘false’ branch (when ‘type != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:16: release_memory: ‘ibs’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:13: danger: dereference of NULL ‘ibs + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ibs’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:24: branch_true: following ‘true’ branch (when ‘type == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:69: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:62: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1497:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1498:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1503:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1506:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1512:13: branch_false: following ‘false’ branch (when ‘type != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:13: danger: ‘ibs + (long unsigned int)i * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1531:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ib_dw_sizes’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:24: branch_true: following ‘true’ branch (when ‘type == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1493:69: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1495:48: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1497:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1498:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1503:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1506:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1512:13: branch_false: following ‘false’ branch (when ‘type != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1530:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1531:13: danger: ‘ib_dw_sizes + (long unsigned int)i * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def74]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1559:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_annotation’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1556:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1557:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1558:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1559:7: danger: argument 1 (‘new_annotation’) from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-122): [#def75]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1767:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1787:1: enter_function: entry to ‘radv_amdgpu_cs_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1803:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1806:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1809:7: branch_false: following ‘false’ branch (when ‘chunks’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1812:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1815:7: branch_false: following ‘false’ branch (when ‘chunk_data’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1820:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1842:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1843:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1878:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1879:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1879:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1881:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1880:27: call_function: calling ‘radv_amdgpu_cs_alloc_timeline_syncobj_chunk’ from ‘radv_amdgpu_cs_submit’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def76]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1768:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1787:1: enter_function: entry to ‘radv_amdgpu_cs_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1803:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1806:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1809:7: branch_false: following ‘false’ branch (when ‘chunks’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1812:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1815:7: branch_false: following ‘false’ branch (when ‘chunk_data’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1820:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1842:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1843:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1878:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1879:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1879:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1881:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1880:27: call_function: calling ‘radv_amdgpu_cs_alloc_timeline_syncobj_chunk’ from ‘radv_amdgpu_cs_submit’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def77]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1769:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1787:1: enter_function: entry to ‘radv_amdgpu_cs_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1803:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1806:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1809:7: branch_false: following ‘false’ branch (when ‘chunks’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1812:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1815:7: branch_false: following ‘false’ branch (when ‘chunk_data’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1820:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1842:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1843:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1878:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1879:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1879:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1881:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c:1880:27: call_function: calling ‘radv_amdgpu_cs_alloc_timeline_syncobj_chunk’ from ‘radv_amdgpu_cs_submit’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/null/radv_null_cs.c:66:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/null/radv_null_cs.c:53:30: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/null/radv_null_cs.c:54:7: branch_false: following ‘false’ branch (when ‘cs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/null/radv_null_cs.c:57:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/null/radv_null_cs.c:61:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/null/radv_null_cs.c:66:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/winsys/null/radv_null_cs.c:66:11: danger: ‘cs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def79]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:193:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:243:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:245:7: branch_false: following ‘false’ branch (when ‘argc == 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:251:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:258:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:264:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:267:7: branch_false: following ‘false’ branch (when ‘spirv_map != 18446744073709551615’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:274:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:278:4: call_function: calling ‘nir_precomp_print_header’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:278:4: return_function: returning to ‘main’ from ‘nir_precomp_print_header’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:286:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:286:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:294:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:295:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:333:10: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:333:10: return_function: returning to ‘main’ from ‘nir_shader_intrinsics_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:335:13: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:339:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:342:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:342:16: branch_false: following ‘false’ branch (when the strings are equal)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:346:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:353:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:358:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:360:13: call_function: calling ‘print_shader’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def80]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:463:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:446:1: enter_function: entry to ‘agx_block_add_successor’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:454:25: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:455:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:463:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘agx_block_add_successor’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:463:7: return_function: returning to ‘agx_block_add_successor’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:463:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*successor.predecessors, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def81]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:590:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3762:1: enter_function: entry to ‘agx_compile_shader_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3823:4: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘agx_compile_shader_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3823:4: return_function: returning to ‘agx_compile_shader_nir’ from ‘nir_shader_intrinsics_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3827:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3827:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3827:4: call_function: calling ‘agx_optimize_nir’ from ‘agx_compile_shader_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3827:4: return_function: returning to ‘agx_compile_shader_nir’ from ‘agx_optimize_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3840:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘agx_compile_shader_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3840:4: return_function: returning to ‘agx_compile_shader_nir’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3840:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_compile.c:3842:10: call_function: calling ‘agx_compile_function_nir’ from ‘agx_compile_shader_nir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def82]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_lower_parallel_copy.c:170:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘copies2’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_lower_parallel_copy.c:394:1: enter_function: entry to ‘agx_emit_parallel_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_lower_parallel_copy.c:400:4: call_function: calling ‘agx_emit_parallel_copies_for_class’ from ‘agx_emit_parallel_copies’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_lower_parallel_copy.c:185:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘copies2’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_lower_parallel_copy.c:394:1: enter_function: entry to ‘agx_emit_parallel_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_lower_parallel_copy.c:400:4: call_function: calling ‘agx_emit_parallel_copies_for_class’ from ‘agx_emit_parallel_copies’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_nir_lower_interpolation.c:114:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_nir_lower_interpolation.c:105:1: enter_function: entry to ‘needs_lower’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_nir_lower_interpolation.c:114:15: call_function: inlined call to ‘nir_src_as_intrinsic’ from ‘needs_lower’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_nir_lower_interpolation.c:114:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_nir_lower_interpolation.c:114:15: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:551:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:595:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:609:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:618:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:674:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:696:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:762:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:788:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:822:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:849:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:850:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def96]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:917:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:919:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:959:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def99]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:961:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1010:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1011:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def102]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1012:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1035:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def104]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1052:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def105]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1057:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def106]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1065:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1093:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1131:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1150:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1179:1: enter_function: entry to ‘agx_pack_binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1187:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1189:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1190:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/compiler/agx_pack.c:1191:10: call_function: calling ‘agx_pack_instr’ from ‘agx_pack_binary’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def110]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:125:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘req’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:123:41: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:125:4: danger: ‘req’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def111]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:244:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘req’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:242:39: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:244:4: danger: ‘req’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:263:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vdrm_syncs’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:261:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:262:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:263:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_device_virtio.c:263:7: danger: ‘vdrm_syncs + (long unsigned int)i * 16’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def113]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_sample_intrinsics.c:67:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘xy[1]’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_sample_intrinsics.c:204:1: enter_function: entry to ‘agx_nir_lower_sample_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_sample_intrinsics.c:207:11: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘agx_nir_lower_sample_intrinsics’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_prolog_epilog.c:120:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘data’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_prolog_epilog.c:691:1: enter_function: entry to ‘agx_nir_fs_prolog’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_prolog_epilog.c:720:4: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘agx_nir_fs_prolog’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:44:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘va’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:16:1: enter_function: entry to ‘agx_va_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:38:4: call_function: calling ‘simple_mtx_unlock’ from ‘agx_va_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:38:4: return_function: returning to ‘agx_va_alloc’ from ‘simple_mtx_unlock’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:40:7: branch_false: following ‘false’ branch (when ‘addr != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:43:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:43:24: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_va.c:44:4: danger: ‘va’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:100:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:88:7: branch_true: following ‘true’ branch (when ‘mem’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:89:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:91:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:92:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:100:25: danger: dereference of NULL ‘mem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:168:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:1104:1: enter_function: entry to ‘libagxdecode_usc’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/decode.c:1107:4: call_function: calling ‘agxdecode_stateful’ from ‘libagxdecode_usc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/pool.c:24:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/pool.c:56:1: enter_function: entry to ‘agx_pool_alloc_aligned_with_bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/pool.c:67:12: call_function: calling ‘agx_pool_alloc_backing’ from ‘agx_pool_alloc_aligned_with_bo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_buffer.c:187:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_buffer.c:631:1: enter_function: entry to ‘hk_upload_usc_words’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_buffer.c:644:23: call_function: inlined call to ‘hk_pool_usc_alloc’ from ‘hk_upload_usc_words’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_buffer.h:559:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_draw.c:3785:1: enter_function: entry to ‘hk_CmdDrawIndexedIndirectCount’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_draw.c:3790:4: call_function: calling ‘hk_draw_indirect_count’ from ‘hk_CmdDrawIndexedIndirectCount’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_buffer.h:797:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_dispatch.c:87:1: enter_function: entry to ‘dispatch’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_dispatch.c:89:26: call_function: inlined call to ‘hk_only_variant’ from ‘dispatch’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_dispatch.c:90:23: call_function: inlined call to ‘hk_cmd_buffer_get_cs’ from ‘dispatch’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_dispatch.c:90:23: call_function: inlined call to ‘hk_cmd_buffer_get_cs’ from ‘dispatch’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_dispatch.c:91:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_dispatch.c:96:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_cmd_dispatch.c:115:4: call_function: calling ‘hk_dispatch_with_local_size’ from ‘dispatch’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def122]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:113:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:707:1: enter_function: entry to ‘hk_descriptor_set_write_template’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:711:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:714:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:719:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:721:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:723:13: call_function: calling ‘write_sampled_image_view_desc’ from ‘hk_descriptor_set_write_template’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def123]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:115:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:707:1: enter_function: entry to ‘hk_descriptor_set_write_template’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:711:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:714:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:719:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:721:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:723:13: call_function: calling ‘write_sampled_image_view_desc’ from ‘hk_descriptor_set_write_template’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def124]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:116:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:707:1: enter_function: entry to ‘hk_descriptor_set_write_template’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:711:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:714:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:719:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:721:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set.c:723:13: call_function: calling ‘write_sampled_image_view_desc’ from ‘hk_descriptor_set_write_template’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:104:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:302:1: enter_function: entry to ‘hk_GetDescriptorSetLayoutSupport’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:310:7: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_GetDescriptorSetLayoutSupport’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:310:7: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_GetDescriptorSetLayoutSupport’
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:313:7: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_GetDescriptorSetLayoutSupport’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:313:7: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_GetDescriptorSetLayoutSupport’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:321:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:321:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:322:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:324:10: call_function: inlined call to ‘hk_descriptor_get_type_list’ from ‘hk_GetDescriptorSetLayoutSupport’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:149:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:110:1: enter_function: entry to ‘hk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:140:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘hk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:141:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘hk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:143:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘hk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:146:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:149:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:149:10: release_memory: ‘layout’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_descriptor_set_layout.c:149:4: danger: dereference of NULL ‘layout’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:74:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:53:1: enter_function: entry to ‘hk_add_ext_bo_locked’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:74:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘hk_add_ext_bo_locked’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:74:4: return_function: returning to ‘hk_add_ext_bo_locked’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:74:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*dev.external_bos.list, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:76:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:80:1: enter_function: entry to ‘hk_add_ext_bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:82:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:83:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_device_memory.c:84:7: call_function: calling ‘hk_add_ext_bo_locked’ from ‘hk_add_ext_bo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:881:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1336:1: enter_function: entry to ‘hk_GetDeviceImageSubresourceLayoutKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1344:13: call_function: calling ‘hk_image_init’ from ‘hk_GetDeviceImageSubresourceLayoutKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1416:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1378:1: enter_function: entry to ‘hk_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1382:25: branch_true: following ‘true’ branch (when ‘i < bindInfoCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1383:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1390:10: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1390:10: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1393:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1393:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1411:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1412:10: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1413:57: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1413:57: call_function: inlined call to ‘__vk_find_struct’ from ‘hk_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1416:46: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_image.c:1416:46: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_query_pool.c:282:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_query_pool.c:519:1: enter_function: entry to ‘hk_CmdEndQueryIndexedEXT’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_query_pool.c:525:4: call_function: calling ‘hk_cmd_begin_end_query’ from ‘hk_CmdEndQueryIndexedEXT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def132]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:482:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:404:1: enter_function: entry to ‘hk_flush_bind’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:482:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘hk_flush_bind’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:482:4: return_function: returning to ‘hk_flush_bind’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:482:4: danger: argument 1 (‘util_dynarray_grow_bytes(&*b.binds, 1, 32)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def133]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:492:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:404:1: enter_function: entry to ‘hk_flush_bind’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:482:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘hk_flush_bind’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:482:4: return_function: returning to ‘hk_flush_bind’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:492:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘hk_flush_bind’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:492:4: return_function: returning to ‘hk_flush_bind’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_queue.c:492:4: danger: argument 1 (‘util_dynarray_grow_bytes(&*b.binds, 1, 32)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1346:23: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)blob_read_uint32(blob))’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1361:1: enter_function: entry to ‘hk_deserialize_api_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1369:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1373:45: call_function: inlined call to ‘hk_num_variants’ from ‘hk_deserialize_api_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1378:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1382:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1384:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1382:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1382:25: call_function: calling ‘hk_deserialize_shader’ from ‘hk_deserialize_api_shader’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1347:7: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)blob_read_uint32(blob))’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1361:1: enter_function: entry to ‘hk_deserialize_api_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1369:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1373:45: call_function: inlined call to ‘hk_num_variants’ from ‘hk_deserialize_api_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1378:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1382:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1384:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1381:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1382:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_shader.c:1382:25: call_function: calling ‘hk_deserialize_shader’ from ‘hk_deserialize_api_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:48:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘name’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:43:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:46:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:47:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:47:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:48:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:48:25: danger: ‘name + (sizetype)j’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:52:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘name’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:43:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:46:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:47:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:47:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:49:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:49:27: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:52:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:52:25: danger: ‘name + (sizetype)j’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:55:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘name’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:43:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/clif/v3dx_dump.c:55:9: danger: ‘name + (sizetype)j’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def139]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:162:52: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:2993:1: enter_function: entry to ‘v3d_qpu_schedule_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3037:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3038:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3042:27: call_function: calling ‘qpu_schedule_instructions_block’ from ‘v3d_qpu_schedule_instructions’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def140]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:165:22: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:2993:1: enter_function: entry to ‘v3d_qpu_schedule_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3037:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3038:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3042:27: call_function: calling ‘qpu_schedule_instructions_block’ from ‘v3d_qpu_schedule_instructions’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def141]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:313:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:2993:1: enter_function: entry to ‘v3d_qpu_schedule_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3037:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3038:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/qpu_schedule.c:3042:27: call_function: calling ‘qpu_schedule_instructions_block’ from ‘v3d_qpu_schedule_instructions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir.c:343:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir.c:2310:1: enter_function: entry to ‘vir_uniform’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir.c:2327:30: call_function: calling ‘vir_NOP’ from ‘vir_uniform’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def143]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:336:51: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned char *)((char *)&dst + offsetof(struct qpu_reg, magic))’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:468:1: enter_function: entry to ‘v3d_vir_to_qpu’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:475:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: call_function: calling ‘v3d_generate_code_block’ from ‘v3d_vir_to_qpu’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def144]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:339:50: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned char *)((char *)&dst + offsetof(struct qpu_reg, magic))’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:468:1: enter_function: entry to ‘v3d_vir_to_qpu’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:475:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: call_function: calling ‘v3d_generate_code_block’ from ‘v3d_vir_to_qpu’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def145]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:358:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:468:1: enter_function: entry to ‘v3d_vir_to_qpu’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:475:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: call_function: calling ‘v3d_generate_code_block’ from ‘v3d_vir_to_qpu’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def146]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:376:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:468:1: enter_function: entry to ‘v3d_vir_to_qpu’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:475:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: call_function: calling ‘v3d_generate_code_block’ from ‘v3d_vir_to_qpu’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:392:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst.index’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:468:1: enter_function: entry to ‘v3d_vir_to_qpu’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:475:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/vir_to_qpu.c:476:17: call_function: calling ‘v3d_generate_code_block’ from ‘v3d_vir_to_qpu’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cl.h:105:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dvx_meta_common.c:1437:1: enter_function: entry to ‘v3d42_meta_fill_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dvx_meta_common.c:1450:11: branch_true: following ‘true’ branch (when ‘num_items != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dvx_meta_common.c:1452:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dvx_meta_common.c:1453:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dvx_meta_common.c:1457:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dvx_meta_common.c:1469:7: call_function: calling ‘v3d42_meta_emit_fill_buffer_rcl’ from ‘v3d42_meta_fill_buffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:1253:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4483:1: enter_function: entry to ‘v3dv_CmdBeginRenderingKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4496:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4498:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4499:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4502:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4514:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4525:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4554:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4555:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4555:4: call_function: calling ‘cmd_buffer_init_render_pass_attachment_state’ from ‘v3dv_CmdBeginRenderingKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:1256:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4483:1: enter_function: entry to ‘v3dv_CmdBeginRenderingKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4496:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4498:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4499:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4502:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4514:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4525:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4554:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4555:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4555:4: call_function: calling ‘cmd_buffer_init_render_pass_attachment_state’ from ‘v3dv_CmdBeginRenderingKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:1258:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4483:1: enter_function: entry to ‘v3dv_CmdBeginRenderingKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4496:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4498:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4499:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4502:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4514:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4525:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4554:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4555:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:4555:4: call_function: calling ‘cmd_buffer_init_render_pass_attachment_state’ from ‘v3dv_CmdBeginRenderingKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1079:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sampler’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1161:1: enter_function: entry to ‘v3dv_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1168:25: branch_true: following ‘true’ branch (when ‘i < descriptorWriteCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1169:64: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1191:28: branch_true: following ‘true’ branch (when ‘descriptor_count > j’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1192:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1221:13: call_function: calling ‘write_image_descriptor’ from ‘v3dv_UpdateDescriptorSets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1265:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1161:1: enter_function: entry to ‘v3dv_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1168:25: branch_true: following ‘true’ branch (when ‘i < descriptorWriteCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1169:64: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1191:28: branch_true: following ‘true’ branch (when ‘descriptor_count > j’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1192:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1258:16: call_function: inlined call to ‘__vk_find_struct’ from ‘v3dv_UpdateDescriptorSets’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1258:16: call_function: inlined call to ‘__vk_find_struct’ from ‘v3dv_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1265:45: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_descriptor_set.c:1265:45: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2155:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2199:1: enter_function: entry to ‘v3dv_AllocateMemory’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2219:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2222:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2223:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2226:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2228:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2232:45: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2238:4: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2238:4: branch_true: following ‘true’ branch (when ‘ext’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2239:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2238:4: branch_false: following ‘false’ branch (when ‘ext’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2238:4: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2271:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2271:7: branch_false: following ‘false’ branch (when ‘wsi_info’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2273:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2273:14: branch_false: following ‘false’ branch (when ‘fd_info’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2280:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2280:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2291:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2294:7: branch_false: following ‘false’ branch (when ‘result == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2299:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2300:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2313:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2313:7: branch_true: following ‘true’ branch (when ‘flags_info’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2314:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2313:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2315:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2316:7: call_function: inlined call to ‘device_add_device_address_bo’ from ‘v3dv_AllocateMemory’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2316:7: call_function: inlined call to ‘device_add_device_address_bo’ from ‘v3dv_AllocateMemory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2526:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2483:1: enter_function: entry to ‘bind_image_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2497:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2508:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2508:10: call_function: inlined call to ‘__vk_find_struct’ from ‘bind_image_memory’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2508:10: call_function: inlined call to ‘__vk_find_struct’ from ‘bind_image_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2526:46: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_device.c:2526:46: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_image.c:450:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_image.c:690:1: enter_function: entry to ‘v3dv_GetDeviceImageSubresourceLayoutKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_image.c:699:22: call_function: calling ‘create_image’ from ‘v3dv_GetDeviceImageSubresourceLayoutKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:230:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:184:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:187:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:202:7: branch_false: following ‘false’ branch (when ‘subpass_attachment_count == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:213:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:213:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:216:36: release_memory: ‘p’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:217:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:218:44: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:225:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:226:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:229:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:230:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:230:39: release_memory: ‘p’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:230:13: danger: dereference of NULL ‘p + (long unsigned int)j * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:242:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:184:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:187:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:202:7: branch_false: following ‘false’ branch (when ‘subpass_attachment_count == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:213:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:213:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:216:36: release_memory: ‘p’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:217:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:218:44: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:225:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:237:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:237:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:238:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:241:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:242:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:242:39: release_memory: ‘p’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pass.c:242:13: danger: dereference of NULL ‘p + (long unsigned int)j * 8’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def159]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3456:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3409:1: enter_function: entry to ‘pipeline_collect_executable_data’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3422:41: branch_true: following ‘true’ branch (when ‘s != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3424:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3425:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3429:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3456:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘pipeline_collect_executable_data’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3456:7: return_function: returning to ‘pipeline_collect_executable_data’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3456:7: danger: argument 1 (‘util_dynarray_grow_bytes(&*pipeline.executables.data, 1, 24)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3459:1: warning[-Wanalyzer-malloc-leak]: leak of ‘util_dynarray_grow_bytes(&*pipeline.executables.data, 1, 24)’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3548:1: enter_function: entry to ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3556:4: call_function: calling ‘pipeline_collect_executable_data’ from ‘v3dv_GetPipelineExecutableStatisticsKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3548:1: enter_function: entry to ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3562:7: call_function: inlined call to ‘pipeline_get_prog_data’ from ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3566:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3571:7: branch_true: following ‘true’ branch (when ‘qpu_inst_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: call_function: calling ‘__vk_outarray_next’ from ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: return_function: returning to ‘v3dv_GetPipelineExecutableStatisticsKHR’ from ‘__vk_outarray_next’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3578:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3548:1: enter_function: entry to ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3562:7: call_function: inlined call to ‘pipeline_get_prog_data’ from ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3566:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3571:7: branch_true: following ‘true’ branch (when ‘qpu_inst_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: call_function: calling ‘__vk_outarray_next’ from ‘v3dv_GetPipelineExecutableStatisticsKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: return_function: returning to ‘v3dv_GetPipelineExecutableStatisticsKHR’ from ‘__vk_outarray_next’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3572:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3578:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_pipeline.c:3578:26: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_private.h:2576:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘job’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:1993:1: enter_function: entry to ‘v3dv_job_clone_in_cmd_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:1998:7: call_function: inlined call to ‘v3dv_flag_oom’ from ‘v3dv_job_clone_in_cmd_buffer’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_cmd_buffer.c:1998:7: call_function: inlined call to ‘v3dv_flag_oom’ from ‘v3dv_job_clone_in_cmd_buffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:174:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:179:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:331:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:331:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:525:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:581:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:601:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘offsets’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:602:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:602:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:651:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:651:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def175]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:652:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘kperfmon_ids’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:976:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1128:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1269:1: enter_function: entry to ‘v3dv_queue_driver_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1283:20: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1284:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1289:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1291:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1292:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1294:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1316:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1320:43: branch_false: following ‘false’ branch (when ‘first_suspend_job’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_queue.c:1323:16: call_function: calling ‘queue_handle_job’ from ‘v3dv_queue_driver_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_uniforms.c:274:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*cmd_buffer.push_constants_resource.bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_uniforms.c:459:1: enter_function: entry to ‘v3dv_write_uniforms_wg_offsets’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_uniforms.c:490:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_uniforms.c:491:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_uniforms.c:543:10: call_function: calling ‘write_ubo_ssbo_uniforms’ from ‘v3dv_write_uniforms_wg_offsets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:37:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:65:11: branch_false: following ‘false’ branch (when ‘ch == -1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:84:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:84:25: branch_true: following ‘true’ branch (when ‘i < argc’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:85:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: return_function: returning to ‘main’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(<unknown>, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:121:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*infile, "rb")’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:37:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:65:11: branch_true: following ‘true’ branch (when ‘ch != -1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:67:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:84:25: branch_true: following ‘true’ branch (when ‘i < argc’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:85:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: return_function: returning to ‘main’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:91:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:97:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:97:7: branch_false: following ‘false’ branch (when ‘outfile’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:103:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:108:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:109:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:109:18: acquire_resource: opened here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:110:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:116:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:121:10: danger: ‘fopen(*infile, "rb")’ leaks here; was opened at [(26)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:121:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*infile, "rb")’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:37:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:65:11: branch_true: following ‘true’ branch (when ‘ch != -1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:67:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:84:25: branch_true: following ‘true’ branch (when ‘i < argc’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:85:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:88:7: return_function: returning to ‘main’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:91:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:97:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:97:7: branch_false: following ‘false’ branch (when ‘outfile’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:103:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:108:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:109:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:109:18: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:110:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:116:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/clc/mesa_clc.c:121:10: danger: ‘fopen(*infile, "rb")’ leaks here; was allocated at [(26)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:760:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ub_array’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1248:1: enter_function: entry to ‘gl_nir_link_uniform_blocks’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1253:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1254:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1260:10: branch_false: following ‘false’ branch (when ‘linked’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1263:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1263:7: call_function: calling ‘link_linked_shader_uniform_blocks’ from ‘gl_nir_link_uniform_blocks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:766:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ub_array’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1248:1: enter_function: entry to ‘gl_nir_link_uniform_blocks’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1253:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1254:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1260:10: branch_false: following ‘false’ branch (when ‘linked’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1263:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1263:7: call_function: calling ‘link_linked_shader_uniform_blocks’ from ‘gl_nir_link_uniform_blocks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:498:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ainfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1534:1: enter_function: entry to ‘gl_nir_link_uniforms’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1546:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1548:32: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1549:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1550:13: branch_false: following ‘false’ branch (when ‘sh’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1554:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1558:10: call_function: calling ‘add_var_use_shader’ from ‘gl_nir_link_uniforms’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:501:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1534:1: enter_function: entry to ‘gl_nir_link_uniforms’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1546:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1548:32: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1549:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1550:13: branch_false: following ‘false’ branch (when ‘sh’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1554:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1558:10: call_function: calling ‘add_var_use_shader’ from ‘gl_nir_link_uniforms’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1099:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1534:1: enter_function: entry to ‘gl_nir_link_uniforms’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1576:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1612:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1615:35: branch_true: following ‘true’ branch (when ‘shader_type != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1616:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1617:10: branch_false: following ‘false’ branch (when ‘sh’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1620:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1633:22: branch_false: following ‘false’ branch (when ‘fill_parameters == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1633:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1635:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1635:7: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1635:7: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘gl_nir_link_uniforms’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1635:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1636:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1680:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1681:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniforms.c:1692:13: call_function: calling ‘build_type_tree_for_type’ from ‘gl_nir_link_uniforms’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:2679:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shader_list’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3611:1: enter_function: entry to ‘gl_nir_link_glsl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3617:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3620:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:10: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_false: following ‘false’ branch (when ‘i == 6’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3637:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3638:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3739:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: call_function: calling ‘link_intrastage_shaders’ from ‘gl_nir_link_glsl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3380:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var2_written’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3611:1: enter_function: entry to ‘gl_nir_link_glsl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3617:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3620:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_false: following ‘false’ branch (when ‘i == 6’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3637:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3638:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3739:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: call_function: calling ‘link_intrastage_shaders’ from ‘gl_nir_link_glsl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: return_function: returning to ‘gl_nir_link_glsl’ from ‘link_intrastage_shaders’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3745:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3751:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3739:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3739:52: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3758:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3759:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3760:10: branch_true: following ‘true’ branch (when ‘sh’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3761:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3770:13: call_function: calling ‘validate_vertex_shader_executable’ from ‘gl_nir_link_glsl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3382:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var3_written’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3611:1: enter_function: entry to ‘gl_nir_link_glsl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3617:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3620:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3631:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3629:20: branch_false: following ‘false’ branch (when ‘i == 6’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3637:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3638:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3739:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: call_function: calling ‘link_intrastage_shaders’ from ‘gl_nir_link_glsl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3742:13: return_function: returning to ‘gl_nir_link_glsl’ from ‘link_intrastage_shaders’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3745:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3751:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3739:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3740:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3739:52: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3758:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3759:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3760:10: branch_true: following ‘true’ branch (when ‘sh’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3761:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_linker.c:3770:13: call_function: calling ‘validate_vertex_shader_executable’ from ‘gl_nir_link_glsl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_atomics.c:121:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_atomics.c:155:1: enter_function: entry to ‘gl_nir_lower_atomics_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_atomics.c:162:11: call_function: calling ‘lower_deref_instr’ from ‘gl_nir_lower_atomics_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:157:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:363:1: enter_function: entry to ‘gl_nir_lower_named_interface_blocks’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:365:29: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:366:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:366:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:367:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:368:10: call_function: calling ‘lower_named_interface_blocks’ from ‘gl_nir_lower_named_interface_blocks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:128:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:353:1: enter_function: entry to ‘gl_nir_lower_samplers_as_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:363:20: call_function: calling ‘nir_shader_instructions_pass’ from ‘gl_nir_lower_samplers_as_deref’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:161:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:353:1: enter_function: entry to ‘gl_nir_lower_samplers_as_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_samplers_as_deref.c:363:20: call_function: calling ‘nir_shader_instructions_pass’ from ‘gl_nir_lower_samplers_as_deref’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def194]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:106:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘get_field_name(name + 1)’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:153:1: enter_function: entry to ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:156:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:156:30: return_function: returning to ‘gl_nir_lower_xfb_varying’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:158:20: call_function: calling ‘nir_before_impl’ from ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:158:20: return_function: returning to ‘gl_nir_lower_xfb_varying’ from ‘nir_before_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:162:9: call_function: calling ‘get_deref’ from ‘gl_nir_lower_xfb_varying’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def195]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:112:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘get_field_name(name)’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:153:1: enter_function: entry to ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:156:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:156:30: return_function: returning to ‘gl_nir_lower_xfb_varying’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:158:20: call_function: calling ‘nir_before_impl’ from ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:158:20: return_function: returning to ‘gl_nir_lower_xfb_varying’ from ‘nir_before_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:162:9: call_function: calling ‘get_deref’ from ‘gl_nir_lower_xfb_varying’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def196]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:99:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘consumer_info.texcoord_array’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:449:1: enter_function: entry to ‘gl_nir_opt_dead_builtin_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:459:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:467:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:467:4: call_function: calling ‘initialise_varying_info’ from ‘gl_nir_opt_dead_builtin_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:467:4: return_function: returning to ‘gl_nir_opt_dead_builtin_varyings’ from ‘initialise_varying_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:468:4: call_function: calling ‘initialise_varying_info’ from ‘gl_nir_opt_dead_builtin_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:468:4: return_function: returning to ‘gl_nir_opt_dead_builtin_varyings’ from ‘initialise_varying_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:470:7: branch_true: following ‘true’ branch (when ‘producer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:471:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:471:7: call_function: calling ‘get_varying_info’ from ‘gl_nir_opt_dead_builtin_varyings’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def197]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:1208:17: warning[-Wanalyzer-deref-before-check]: check of ‘node_b’ for NULL after already dereferencing it
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2252:1: enter_function: entry to ‘_macro_equal’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2262:11: call_function: calling ‘_token_list_equal_ignoring_space’ from ‘_macro_equal’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def198]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:1216:17: warning[-Wanalyzer-deref-before-check]: check of ‘node_a’ for NULL after already dereferencing it
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2252:1: enter_function: entry to ‘_macro_equal’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2262:11: call_function: calling ‘_token_list_equal_ignoring_space’ from ‘_macro_equal’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def199]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:1230:17: warning[-Wanalyzer-deref-before-check]: check of ‘node_a’ for NULL after already dereferencing it
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2561:1: enter_function: entry to ‘glcpp_parser_copy_defines’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2567:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2570:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2574:24: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2574:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2575:7: branch_true: following ‘true’ branch (when ‘previous’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2576:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-parse.y:2576:11: call_function: calling ‘_macro_equal’ from ‘glcpp_parser_copy_defines’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/list.h:145:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1187:1: enter_function: entry to ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: return_function: returning to ‘nir_opt_loop_unroll’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1194:19: call_function: calling ‘nir_opt_loop_unroll_impl’ from ‘nir_opt_loop_unroll’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/list.h:145:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cursor.<U a0>.block’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1187:1: enter_function: entry to ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: return_function: returning to ‘nir_opt_loop_unroll’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1194:19: call_function: calling ‘nir_opt_loop_unroll_impl’ from ‘nir_opt_loop_unroll’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/list.h:145:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1187:1: enter_function: entry to ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: return_function: returning to ‘nir_opt_loop_unroll’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1194:19: call_function: calling ‘nir_opt_loop_unroll_impl’ from ‘nir_opt_loop_unroll’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/list.h:151:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_comparison_pre.c:372:1: enter_function: entry to ‘nir_opt_comparison_pre_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_comparison_pre.c:377:4: call_function: inlined call to ‘block_queue_init’ from ‘nir_opt_comparison_pre_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_comparison_pre.c:383:7: call_function: calling ‘comparison_pre_block’ from ‘nir_opt_comparison_pre_impl’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def204]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:541:33: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘field_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/isa/ir3-isa.c:15768:6: enter_function: entry to ‘ir3_isa_disasm’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/isa/ir3-isa.c:15770:5: call_function: calling ‘isa_disasm’ from ‘ir3_isa_disasm’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def205]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:841:33: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘field_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:874:1: enter_function: entry to ‘decode_bitset’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:881:12: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:888:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:889:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:889:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:890:37: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:895:44: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:896:25: call_function: calling ‘decode_field’ from ‘decode_bitset’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def206]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:979:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*<unknown>.print.out’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:954:1: enter_function: entry to ‘isa_disasm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:969:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:971:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:976:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:978:17: call_function: calling ‘disasm’ from ‘isa_disasm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:978:17: return_function: returning to ‘isa_disasm’ from ‘disasm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/isaspec/isaspec_decode_impl.c:979:17: danger: argument 1 (‘*<unknown>.print.out’) from [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def207]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:2205:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘old_uses.next’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:2236:1: enter_function: entry to ‘nir_shader_lower_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:2243:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_shader_lower_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:2243:4: return_function: returning to ‘nir_shader_lower_instructions’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:2243:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:2244:11: call_function: calling ‘nir_function_impl_lower_instructions’ from ‘nir_shader_lower_instructions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3073:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3064:1: enter_function: entry to ‘nir_intrinsic_instr_src_type’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3071:32: call_function: inlined call to ‘nir_src_as_deref’ from ‘nir_intrinsic_instr_src_type’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3072:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3072:10: branch_true: following ‘true’ branch (when ‘src == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3073:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3073:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3112:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3104:1: enter_function: entry to ‘nir_intrinsic_instr_dest_type’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3111:32: call_function: inlined call to ‘nir_src_as_deref’ from ‘nir_intrinsic_instr_dest_type’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3112:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.c:3112:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1135:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:84:1: enter_function: entry to ‘nir_lower_ubo_vec4_lower’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:91:27: call_function: inlined call to ‘nir_ushr_imm’ from ‘nir_lower_ubo_vec4_lower’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:91:27: call_function: inlined call to ‘nir_ushr_imm’ from ‘nir_lower_ubo_vec4_lower’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:121:7: branch_false: following ‘false’ branch (when ‘aligned_mul == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:126:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:126:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:133:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:131:10: call_function: calling ‘nir_iand_imm’ from ‘nir_lower_ubo_vec4_lower’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:131:10: return_function: returning to ‘nir_lower_ubo_vec4_lower’ from ‘nir_iand_imm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_ubo_vec4.c:135:16: call_function: calling ‘nir_vector_extract’ from ‘nir_lower_ubo_vec4_lower’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1665:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:318:1: enter_function: entry to ‘gl_nir_lower_buffers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:323:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:323:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:323:4: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘gl_nir_lower_buffers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:332:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘gl_nir_lower_buffers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:332:4: return_function: returning to ‘gl_nir_lower_buffers’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:332:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_buffers.c:333:11: call_function: calling ‘lower_buffer_interface_derefs_impl’ from ‘gl_nir_lower_buffers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1665:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:363:1: enter_function: entry to ‘gl_nir_lower_named_interface_blocks’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:365:29: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:366:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:366:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:367:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_named_interface_blocks.c:368:10: call_function: calling ‘lower_named_interface_blocks’ from ‘gl_nir_lower_named_interface_blocks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1681:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:147:1: enter_function: entry to ‘nir_lower_array_deref_of_vec’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_array_deref_of_vec’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: return_function: returning to ‘nir_lower_array_deref_of_vec’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:154:11: call_function: calling ‘nir_lower_array_deref_of_vec_impl’ from ‘nir_lower_array_deref_of_vec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def214]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1681:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:892:1: enter_function: entry to ‘nir_lower_vars_to_ssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:896:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_vars_to_ssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:896:4: return_function: returning to ‘nir_lower_vars_to_ssa’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:896:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:897:19: call_function: calling ‘nir_lower_vars_to_ssa_impl’ from ‘nir_lower_vars_to_ssa’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1707:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:449:1: enter_function: entry to ‘gl_nir_opt_dead_builtin_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:459:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:467:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:470:7: branch_true: following ‘true’ branch (when ‘producer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:471:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_opt_dead_builtin_varyings.c:471:7: call_function: calling ‘get_varying_info’ from ‘gl_nir_opt_dead_builtin_varyings’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1707:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_constant_folding.c:430:1: enter_function: entry to ‘nir_opt_constant_folding’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_constant_folding.c:436:20: call_function: calling ‘nir_shader_instructions_pass’ from ‘nir_opt_constant_folding’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1756:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘operand’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:408:1: enter_function: entry to ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: return_function: returning to ‘nir_opt_combine_stores’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:422:19: call_function: calling ‘combine_stores_impl’ from ‘nir_opt_combine_stores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1756:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src_head’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:386:1: enter_function: entry to ‘lower_load_to_scalar_early’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:401:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:402:42: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:421:43: call_function: inlined call to ‘nir_src_as_deref’ from ‘lower_load_to_scalar_early’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:421:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:421:15: call_function: calling ‘clone_deref_array’ from ‘lower_load_to_scalar_early’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:1765:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_draw_helpers.c:164:1: enter_function: entry to ‘lower_aaline_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_draw_helpers.c:175:24: call_function: calling ‘nir_intrinsic_get_var’ from ‘lower_aaline_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:2774:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘indirect’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:312:1: enter_function: entry to ‘nir_lower_locals_to_regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:316:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_locals_to_regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:316:4: return_function: returning to ‘nir_lower_locals_to_regs’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:316:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:317:18: call_function: calling ‘impl’ from ‘nir_lower_locals_to_regs’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:3732:4: warning[-Wanalyzer-malloc-leak]: leak of ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:3732:4: danger: ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def222]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:3803:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:1117:1: enter_function: entry to ‘vtn_handle_opencl_core_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:1122:7: call_function: calling ‘handle_instr’ from ‘vtn_handle_opencl_core_instruction’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:4083:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_discard_flow.c:136:1: enter_function: entry to ‘gl_nir_lower_discard_flow’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_discard_flow.c:138:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘gl_nir_lower_discard_flow’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_discard_flow.c:138:30: return_function: returning to ‘gl_nir_lower_discard_flow’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_discard_flow.c:147:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘gl_nir_lower_discard_flow’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_discard_flow.c:147:4: return_function: returning to ‘gl_nir_lower_discard_flow’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_discard_flow.c:147:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_discard_flow.c:148:23: call_function: calling ‘nir_before_impl’ from ‘gl_nir_lower_discard_flow’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:4092:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:483:1: enter_function: entry to ‘gl_nir_lower_blend_equation_advanced’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:489:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘gl_nir_lower_blend_equation_advanced’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:489:30: return_function: returning to ‘gl_nir_lower_blend_equation_advanced’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:491:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:495:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:497:20: call_function: calling ‘nir_after_impl’ from ‘gl_nir_lower_blend_equation_advanced’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def225]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir.h:6169:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1248:1: enter_function: entry to ‘gl_nir_link_uniform_blocks’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1253:24: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1254:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1260:10: branch_false: following ‘false’ branch (when ‘linked’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1263:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_link_uniform_blocks.c:1263:7: call_function: calling ‘link_linked_shader_uniform_blocks’ from ‘gl_nir_link_uniform_blocks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.c:95:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.c:627:1: enter_function: entry to ‘nir_gen_rect_vertices’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.c:651:21: call_function: calling ‘nir_ilt_imm’ from ‘nir_gen_rect_vertices’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:57:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_packed_varyings.c:993:1: enter_function: entry to ‘gl_nir_lower_packed_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_packed_varyings.c:1004:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘gl_nir_lower_packed_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_packed_varyings.c:1004:30: return_function: returning to ‘gl_nir_lower_packed_varyings’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_packed_varyings.c:1009:4: branch_false: following ‘false’ branch (when ‘f’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_packed_varyings.c:1013:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_packed_varyings.c:1013:14: call_function: calling ‘nir_builder_create’ from ‘gl_nir_lower_packed_varyings’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def228]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:360:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘value’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1172:1: enter_function: entry to ‘etna_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1174:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1177:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1178:7: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1181:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1204:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1212:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1216:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘etna_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘etna_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1309:23: call_function: calling ‘nir_shader_get_entrypoint’ from ‘etna_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1309:23: return_function: returning to ‘etna_compile_shader’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1313:23: call_function: calling ‘emit_shader’ from ‘etna_compile_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:692:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:803:1: enter_function: entry to ‘prog_to_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:812:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:814:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:833:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:836:29: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:837:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:837:7: call_function: calling ‘ptn_emit_instruction’ from ‘prog_to_nir’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def230]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:726:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:606:1: enter_function: entry to ‘nir_opt_vectorize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:611:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_vectorize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:611:4: return_function: returning to ‘nir_opt_vectorize’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:611:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:612:19: call_function: calling ‘nir_opt_vectorize_impl’ from ‘nir_opt_vectorize’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:731:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:517:1: enter_function: entry to ‘vk_texcompress_etc2_late_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:523:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:525:26: call_function: inlined call to ‘vk_device_to_handle’ from ‘vk_texcompress_etc2_late_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:527:16: call_function: calling ‘etc2_init_ds_layout’ from ‘vk_texcompress_etc2_late_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:527:16: return_function: returning to ‘vk_texcompress_etc2_late_init’ from ‘etc2_init_ds_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:528:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:531:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:532:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:537:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_etc2.c:537:16: call_function: calling ‘etc2_init_pipeline’ from ‘vk_texcompress_etc2_late_init’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def232]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:857:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:184:1: enter_function: entry to ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:188:4: branch_true: following ‘true’ branch (when ‘ext_opcode == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:189:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:199:7: call_function: calling ‘vtn_value’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:199:7: return_function: returning to ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’ from ‘vtn_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:207:33: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:208:27: call_function: inlined call to ‘nir_deref_instr_parent’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:207:33: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:213:15: call_function: inlined call to ‘nir_deref_instr_parent’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:215:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:226:7: branch_true: following ‘true’ branch (when ‘vec_array_deref != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:228:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:228:13: call_function: calling ‘nir_vector_extract’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def233]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:899:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vec’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:731:1: enter_function: entry to ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:739:20: call_function: inlined call to ‘nir_imm_int’ from ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:739:20: call_function: inlined call to ‘nir_imm_int’ from ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:741:4: branch_true: following ‘true’ branch (when ‘__dword != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:742:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:742:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:745:47: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:746:28: call_function: calling ‘nir_undef’ from ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:746:28: return_function: returning to ‘ms_emit_attribute_ring_output_stores’ from ‘nir_undef’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:748:28: branch_true: following ‘true’ branch (when ‘c != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:749:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:749:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:750:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:750:25: call_function: calling ‘nir_vector_insert_imm’ from ‘ms_emit_attribute_ring_output_stores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def234]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:963:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:708:1: enter_function: entry to ‘summarize_repack’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:733:21: call_function: inlined call to ‘nir_imul_imm’ from ‘summarize_repack’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:733:21: call_function: inlined call to ‘nir_imul_imm’ from ‘summarize_repack’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:733:21: call_function: calling ‘nir_iadd_imm’ from ‘summarize_repack’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def235]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1005:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:592:6: enter_function: entry to ‘si_nir_lower_resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:600:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘si_nir_lower_resource’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def236]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1036:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:708:1: enter_function: entry to ‘summarize_repack’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:730:7: branch_true: following ‘true’ branch (when ‘mask_lane_id != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:731:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:731:17: call_function: calling ‘nir_iand_imm’ from ‘summarize_repack’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:731:17: return_function: returning to ‘summarize_repack’ from ‘nir_iand_imm’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:733:21: call_function: inlined call to ‘nir_imul_imm’ from ‘summarize_repack’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1077:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘y’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:356:1: enter_function: entry to ‘vc4_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:358:9: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘vc4_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:358:9: return_function: returning to ‘vc4_nir_lower_io’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:358:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:359:17: call_function: calling ‘vc4_nir_lower_io_impl’ from ‘vc4_nir_lower_io’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1102:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_tex.c:761:1: enter_function: entry to ‘nak_nir_lower_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_tex.c:763:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘nak_nir_lower_tex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1124:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:1519:1: enter_function: entry to ‘lower_direct_buffer_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:1530:14: call_function: calling ‘try_lower_direct_buffer_intrinsic’ from ‘lower_direct_buffer_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1175:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:551:1: enter_function: entry to ‘lower_cmat_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:555:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:561:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:564:7: call_function: calling ‘lower_cmat_load_store’ from ‘lower_cmat_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1269:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builtin_builder.c:163:1: enter_function: entry to ‘nir_atan’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builtin_builder.c:195:19: call_function: calling ‘nir_imm_floatN_t’ from ‘nir_atan’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builtin_builder.c:195:19: return_function: returning to ‘nir_atan’ from ‘nir_imm_floatN_t’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builtin_builder.c:197:25: branch_true: following ‘true’ branch (when ‘i != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builtin_builder.c:198:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builtin_builder.c:198:13: call_function: calling ‘nir_ffma_imm2’ from ‘nir_atan’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1422:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:380:1: enter_function: entry to ‘lower_vs_input_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:391:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:392:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:392:21: call_function: calling ‘lower_load_vs_input_from_prolog’ from ‘lower_vs_input_instr’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def243]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1422:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1349:1: enter_function: entry to ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1351:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1372:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1377:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1379:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1384:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1384:7: call_function: calling ‘nir_bitcast_vector’ from ‘vtn_handle_bitcast’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def244]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1428:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1349:1: enter_function: entry to ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1351:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1372:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1377:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1379:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1384:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1384:7: call_function: calling ‘nir_bitcast_vector’ from ‘vtn_handle_bitcast’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def245]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1428:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:380:1: enter_function: entry to ‘lower_vs_input_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:391:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:392:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:392:21: call_function: calling ‘lower_load_vs_input_from_prolog’ from ‘lower_vs_input_instr’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def246]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1432:11: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1349:1: enter_function: entry to ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1351:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1371:28: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_bitcast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1372:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1377:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1379:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1384:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:1384:7: call_function: calling ‘nir_bitcast_vector’ from ‘vtn_handle_bitcast’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def247]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1432:11: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:380:1: enter_function: entry to ‘lower_vs_input_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:391:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:392:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/nir/radv_nir_lower_vs_inputs.c:392:21: call_function: calling ‘lower_load_vs_input_from_prolog’ from ‘lower_vs_input_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def248]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1470:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:429:1: enter_function: entry to ‘st_translate_atifs_program’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:452:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:453:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:454:28: branch_true: following ‘true’ branch (when ‘r != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:455:45: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:456:10: call_function: calling ‘compile_setupinst’ from ‘st_translate_atifs_program’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def249]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1470:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘store_val’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:731:1: enter_function: entry to ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:739:20: call_function: inlined call to ‘nir_imm_int’ from ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:739:20: call_function: inlined call to ‘nir_imm_int’ from ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:741:4: branch_true: following ‘true’ branch (when ‘__dword != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:742:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:742:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:745:47: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:746:28: call_function: calling ‘nir_undef’ from ‘ms_emit_attribute_ring_output_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:746:28: return_function: returning to ‘ms_emit_attribute_ring_output_stores’ from ‘nir_undef’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:748:28: branch_true: following ‘true’ branch (when ‘c != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:749:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:749:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:748:35: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ngg_mesh.c:755:19: call_function: inlined call to ‘nir_trim_vector’ from ‘ms_emit_attribute_ring_output_stores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1565:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:640:1: enter_function: entry to ‘v3d_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:651:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:652:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:652:17: call_function: calling ‘v3d_nir_setup_vpm_layout_vs’ from ‘v3d_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:652:17: return_function: returning to ‘v3d_nir_lower_io’ from ‘v3d_nir_setup_vpm_layout_vs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:656:9: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘v3d_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:656:9: return_function: returning to ‘v3d_nir_lower_io’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:656:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:659:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:662:17: call_function: inlined call to ‘nir_start_block’ from ‘v3d_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:662:17: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:663:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:663:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:663:25: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘v3d_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:663:25: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:663:25: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:664:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/compiler/v3d_nir_lower_io.c:664:33: call_function: calling ‘v3d_nir_lower_io_instr’ from ‘v3d_nir_lower_io’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1668:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:153:1: enter_function: entry to ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:156:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:156:30: return_function: returning to ‘gl_nir_lower_xfb_varying’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:158:20: call_function: calling ‘nir_before_impl’ from ‘gl_nir_lower_xfb_varying’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:158:20: return_function: returning to ‘gl_nir_lower_xfb_varying’ from ‘nir_before_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:160:21: release_memory: ‘deref’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_xfb_varying.c:162:9: call_function: calling ‘get_deref’ from ‘gl_nir_lower_xfb_varying’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1810:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_single_sampled.c:91:1: enter_function: entry to ‘nir_lower_single_sampled’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_single_sampled.c:96:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_single_sampled.c:96:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_single_sampled.c:96:4: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘nir_lower_single_sampled’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_single_sampled.c:117:11: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘nir_lower_single_sampled’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def253]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1827:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:312:1: enter_function: entry to ‘calc_blend_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:341:4: call_function: inlined call to ‘swizzle_w’ from ‘calc_blend_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:341:4: call_function: inlined call to ‘swizzle_w’ from ‘calc_blend_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:345:4: call_function: calling ‘nir_imm_vec3’ from ‘calc_blend_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:345:4: return_function: returning to ‘calc_blend_result’ from ‘nir_imm_vec3’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_blend_equation_advanced.c:345:4: call_function: calling ‘nir_store_var’ from ‘calc_blend_result’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_builder.h:1985:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:32:1: enter_function: entry to ‘lower_printf_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:53:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:54:7: call_function: inlined call to ‘nir_imm_int’ from ‘lower_printf_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:54:7: call_function: inlined call to ‘nir_imm_int’ from ‘lower_printf_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:54:7: call_function: calling ‘nir_store_global’ from ‘lower_printf_intrin’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def255]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1276:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1541:1: enter_function: entry to ‘nir_opt_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: return_function: returning to ‘nir_opt_deref’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1546:11: call_function: calling ‘nir_opt_deref_impl’ from ‘nir_opt_deref’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1284:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1541:1: enter_function: entry to ‘nir_opt_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: return_function: returning to ‘nir_opt_deref’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1546:11: call_function: calling ‘nir_opt_deref_impl’ from ‘nir_opt_deref’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1304:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cast’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1541:1: enter_function: entry to ‘nir_opt_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: return_function: returning to ‘nir_opt_deref’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1545:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_deref.c:1546:11: call_function: calling ‘nir_opt_deref_impl’ from ‘nir_opt_deref’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def258]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:434:22: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1482:1: enter_function: entry to ‘nir_vertex_divergence_analysis’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1494:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_vertex_divergence_analysis’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1494:4: return_function: returning to ‘nir_vertex_divergence_analysis’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1494:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1497:7: call_function: calling ‘visit_cf_list’ from ‘nir_vertex_divergence_analysis’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def259]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:435:22: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1482:1: enter_function: entry to ‘nir_vertex_divergence_analysis’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1494:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_vertex_divergence_analysis’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1494:4: return_function: returning to ‘nir_vertex_divergence_analysis’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1494:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_divergence_analysis.c:1497:7: call_function: calling ‘visit_cf_list’ from ‘nir_vertex_divergence_analysis’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def260]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:354:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:318:1: enter_function: entry to ‘nir_gather_xfb_info_from_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:320:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_gather_xfb_info_from_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:320:30: return_function: returning to ‘nir_gather_xfb_info_from_intrinsics’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:328:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:329:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:329:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:329:7: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:330:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:330:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:331:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:330:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:336:29: call_function: inlined call to ‘nir_intrinsic_write_mask’ from ‘nir_gather_xfb_info_from_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:338:17: branch_true: following ‘true’ branch (when ‘wr_mask != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:339:26: call_function: inlined call to ‘u_bit_scan’ from ‘nir_gather_xfb_info_from_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:354:16: call_function: calling ‘util_dynarray_grow_bytes’ from ‘nir_gather_xfb_info_from_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:354:16: return_function: returning to ‘nir_gather_xfb_info_from_intrinsics’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_gather_xfb_info.c:354:16: danger: dereference of NULL ‘util_dynarray_grow_bytes(&array, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_inline_helpers.h:61:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:53:1: enter_function: entry to ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:64:19: call_function: calling ‘nir_instr_worklist_create’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:64:19: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_instr_worklist_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:65:21: call_function: calling ‘nir_instr_worklist_create’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:65:21: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_instr_worklist_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:70:4: branch_false: following ‘false’ branch (when ‘block’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:152:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:153:29: call_function: inlined call to ‘nir_instr_worklist_pop_head’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:155:10: call_function: calling ‘nir_foreach_src’ from ‘nir_opt_tex_skip_helpers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:993:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘in_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1081:1: enter_function: entry to ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1086:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1086:30: return_function: returning to ‘replace_duplicate_input’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1090:32: call_function: calling ‘nir_intrinsic_get_var’ from ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1090:32: return_function: returning to ‘replace_duplicate_input’ from ‘nir_intrinsic_get_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1093:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1094:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1094:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1094:7: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1095:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1095:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1099:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1099:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1102:38: call_function: inlined call to ‘nir_src_as_deref’ from ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1103:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1106:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1106:33: call_function: calling ‘nir_deref_instr_get_variable’ from ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1106:33: return_function: returning to ‘replace_duplicate_input’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1108:15: call_function: calling ‘does_varying_match’ from ‘replace_duplicate_input’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:993:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1081:1: enter_function: entry to ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1086:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1086:30: return_function: returning to ‘replace_duplicate_input’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1090:32: call_function: calling ‘nir_intrinsic_get_var’ from ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1090:32: return_function: returning to ‘replace_duplicate_input’ from ‘nir_intrinsic_get_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1093:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1094:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1094:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1094:7: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1095:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1095:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1099:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1099:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1102:38: call_function: inlined call to ‘nir_src_as_deref’ from ‘replace_duplicate_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1103:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1106:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1108:15: call_function: calling ‘does_varying_match’ from ‘replace_duplicate_input’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def264]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1013:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘out_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1372:1: enter_function: entry to ‘nir_link_opt_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1375:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1376:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1375:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1382:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1382:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_link_opt_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1382:30: return_function: returning to ‘nir_link_opt_varyings’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1390:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1390:4: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1391:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1391:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1396:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1396:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1399:36: call_function: inlined call to ‘nir_src_as_deref’ from ‘nir_link_opt_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1400:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1403:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1403:31: call_function: calling ‘nir_deref_instr_get_variable’ from ‘nir_link_opt_varyings’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1403:31: return_function: returning to ‘nir_link_opt_varyings’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1404:12: call_function: calling ‘can_replace_varying’ from ‘nir_link_opt_varyings’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def265]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1175:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uniform’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1236:1: enter_function: entry to ‘replace_varying_input_by_uniform_load’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1240:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘replace_varying_input_by_uniform_load’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1240:30: return_function: returning to ‘replace_varying_input_by_uniform_load’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1244:28: call_function: calling ‘nir_intrinsic_get_var’ from ‘replace_varying_input_by_uniform_load’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1244:28: return_function: returning to ‘replace_varying_input_by_uniform_load’ from ‘nir_intrinsic_get_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1247:29: call_function: inlined call to ‘nir_src_as_deref’ from ‘replace_varying_input_by_uniform_load’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1248:28: call_function: calling ‘nir_deref_instr_get_variable’ from ‘replace_varying_input_by_uniform_load’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1248:28: return_function: returning to ‘replace_varying_input_by_uniform_load’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1249:14: call_function: calling ‘nir_clone_uniform_variable’ from ‘replace_varying_input_by_uniform_load’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1196:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1193:1: enter_function: entry to ‘nir_clone_deref_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1196:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1199:36: call_function: inlined call to ‘nir_deref_instr_parent’ from ‘nir_clone_deref_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1200:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_linking_helpers.c:1200:30: call_function: calling ‘nir_clone_deref_instr’ from ‘nir_clone_deref_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def267]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:67:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:147:1: enter_function: entry to ‘nir_lower_array_deref_of_vec’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_array_deref_of_vec’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: return_function: returning to ‘nir_lower_array_deref_of_vec’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:153:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_array_deref_of_vec.c:154:11: call_function: calling ‘nir_lower_array_deref_of_vec_impl’ from ‘nir_lower_array_deref_of_vec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_bitmap.c:107:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_bitmap.c:113:1: enter_function: entry to ‘nir_lower_bitmap’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_bitmap.c:119:4: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_lower_bitmap’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_bitmap.c:119:4: return_function: returning to ‘nir_lower_bitmap’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_bitmap.c:119:4: call_function: calling ‘lower_bitmap_impl’ from ‘nir_lower_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def269]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:79:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:92:1: enter_function: entry to ‘lower’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:102:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:110:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:112:13: branch_false: following ‘false’ branch (when ‘suffix’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:112:61: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:118:25: branch_true: following ‘true’ branch (when ‘i != 470’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:119:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:128:25: branch_true: following ‘true’ branch (when ‘i != 703’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:129:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:129:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:130:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:129:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:132:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_calls_to_builtins.c:132:10: call_function: calling ‘lower_builtin_intr’ from ‘lower’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def270]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_cl_images.c:12:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_cl_images.c:52:1: enter_function: entry to ‘nir_dedup_inline_samplers_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_cl_images.c:65:28: call_function: calling ‘nir_deref_instr_get_variable’ from ‘nir_dedup_inline_samplers_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_cl_images.c:65:28: return_function: returning to ‘nir_dedup_inline_samplers_instr’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_cl_images.c:66:9: call_function: calling ‘var_is_inline_sampler’ from ‘nir_dedup_inline_samplers_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_double_ops.c:723:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘func’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_double_ops.c:797:1: enter_function: entry to ‘lower_doubles_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_double_ops.c:807:7: call_function: calling ‘lower_doubles_instr_to_soft’ from ‘lower_doubles_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def272]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_fragcolor.c:65:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_fragcolor.c:51:1: enter_function: entry to ‘lower_fragcolor_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_fragcolor.c:59:10: call_function: calling ‘nir_intrinsic_get_var’ from ‘lower_fragcolor_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_fragcolor.c:59:10: return_function: returning to ‘lower_fragcolor_intrin’ from ‘nir_intrinsic_get_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_fragcolor.c:60:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_fragcolor.c:65:16: danger: dereference of NULL ‘nir_intrinsic_get_var(instr, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def273]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:704:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_level’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:842:1: enter_function: entry to ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:854:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:855:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: call_function: calling ‘inside_outside’ from ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: return_function: returning to ‘nir_structurize’ from ‘inside_outside’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:866:7: call_function: calling ‘organize_levels’ from ‘nir_structurize’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:736:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_level’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:842:1: enter_function: entry to ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:854:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:855:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: call_function: calling ‘inside_outside’ from ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: return_function: returning to ‘nir_structurize’ from ‘inside_outside’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:866:7: call_function: calling ‘organize_levels’ from ‘nir_structurize’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def275]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:755:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:842:1: enter_function: entry to ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:854:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:855:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: call_function: calling ‘inside_outside’ from ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: return_function: returning to ‘nir_structurize’ from ‘inside_outside’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:866:7: call_function: calling ‘organize_levels’ from ‘nir_structurize’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def276]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:762:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:842:1: enter_function: entry to ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:854:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:855:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: call_function: calling ‘inside_outside’ from ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: return_function: returning to ‘nir_structurize’ from ‘inside_outside’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:866:7: call_function: calling ‘organize_levels’ from ‘nir_structurize’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def277]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:763:11: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:842:1: enter_function: entry to ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:854:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:855:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: call_function: calling ‘inside_outside’ from ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: return_function: returning to ‘nir_structurize’ from ‘inside_outside’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:866:7: call_function: calling ‘organize_levels’ from ‘nir_structurize’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def278]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:766:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:842:1: enter_function: entry to ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:854:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:855:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: call_function: calling ‘inside_outside’ from ‘nir_structurize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:860:7: return_function: returning to ‘nir_structurize’ from ‘inside_outside’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:866:7: call_function: calling ‘organize_levels’ from ‘nir_structurize’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:846:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:914:1: enter_function: entry to ‘nir_lower_goto_ifs_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:916:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:920:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:929:4: call_function: calling ‘nir_after_impl’ from ‘nir_lower_goto_ifs_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:929:4: return_function: returning to ‘nir_lower_goto_ifs_impl’ from ‘nir_after_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:929:4: call_function: calling ‘nir_before_impl’ from ‘nir_lower_goto_ifs_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:929:4: return_function: returning to ‘nir_lower_goto_ifs_impl’ from ‘nir_before_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:935:20: call_function: calling ‘nir_before_impl’ from ‘nir_lower_goto_ifs_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:935:20: return_function: returning to ‘nir_lower_goto_ifs_impl’ from ‘nir_before_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:944:7: call_function: inlined call to ‘exec_list_get_head’ from ‘nir_lower_goto_ifs_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:947:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_goto_ifs.c:953:4: call_function: calling ‘nir_structurize’ from ‘nir_lower_goto_ifs_impl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_gs_intrinsics.c:479:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_gs_intrinsics.c:446:1: enter_function: entry to ‘nir_lower_gs_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_gs_intrinsics.c:461:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_gs_intrinsics.c:468:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_gs_intrinsics.c:476:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_lower_gs_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_gs_intrinsics.c:476:30: return_function: returning to ‘nir_lower_gs_intrinsics’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_gs_intrinsics.c:479:9: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:107:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:228:1: enter_function: entry to ‘nir_lower_indirect_var_derefs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_indirect_var_derefs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:232:4: return_function: returning to ‘nir_lower_indirect_var_derefs’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:233:18: call_function: calling ‘lower_indirects_impl’ from ‘nir_lower_indirect_var_derefs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:145:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:228:1: enter_function: entry to ‘nir_lower_indirect_var_derefs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_indirect_var_derefs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:232:4: return_function: returning to ‘nir_lower_indirect_var_derefs’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_indirect_derefs.c:233:18: call_function: calling ‘lower_indirects_impl’ from ‘nir_lower_indirect_var_derefs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def283]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:93:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:184:1: enter_function: entry to ‘lower_input_attachments_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:201:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:203:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:203:17: call_function: calling ‘try_lower_input_load’ from ‘lower_input_attachments_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def284]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:164:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:214:1: enter_function: entry to ‘nir_lower_input_attachments’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_input_attachments.c:219:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘nir_lower_input_attachments’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def285]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:148:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3334:1: enter_function: entry to ‘nir_lower_io_passes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3336:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3340:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3387:4: call_function: calling ‘nir_lower_io’ from ‘nir_lower_io_passes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def286]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:190:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3334:1: enter_function: entry to ‘nir_lower_io_passes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3336:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3340:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:3387:4: call_function: calling ‘nir_lower_io’ from ‘nir_lower_io_passes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def287]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_arrays_to_elements.c:309:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_arrays_to_elements.c:399:1: enter_function: entry to ‘nir_lower_io_arrays_to_elements’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_arrays_to_elements.c:406:4: call_function: calling ‘create_indirects_mask’ from ‘nir_lower_io_arrays_to_elements’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_arrays_to_elements.c:406:4: return_function: returning to ‘nir_lower_io_arrays_to_elements’ from ‘create_indirects_mask’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_arrays_to_elements.c:407:4: call_function: calling ‘create_indirects_mask’ from ‘nir_lower_io_arrays_to_elements’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_arrays_to_elements.c:407:4: return_function: returning to ‘nir_lower_io_arrays_to_elements’ from ‘create_indirects_mask’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_arrays_to_elements.c:409:4: call_function: calling ‘lower_io_arrays_to_elements’ from ‘nir_lower_io_arrays_to_elements’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def288]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:521:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:489:1: enter_function: entry to ‘nir_lower_io_to_scalar_early_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:493:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:498:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:498:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:501:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:509:29: call_function: inlined call to ‘nir_src_as_deref’ from ‘nir_lower_io_to_scalar_early_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:510:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:513:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:513:24: call_function: calling ‘nir_deref_instr_get_variable’ from ‘nir_lower_io_to_scalar_early_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:513:24: return_function: returning to ‘nir_lower_io_to_scalar_early_instr’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:517:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:521:46: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io_to_scalar.c:521:46: danger: dereference of NULL ‘nir_deref_instr_get_variable(<unknown>)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:119:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:312:1: enter_function: entry to ‘nir_lower_locals_to_regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:316:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_locals_to_regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:316:4: return_function: returning to ‘nir_lower_locals_to_regs’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:316:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_locals_to_regs.c:317:18: call_function: calling ‘impl’ from ‘nir_lower_locals_to_regs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def290]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:150:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:187:1: enter_function: entry to ‘nir_lower_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:191:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:191:4: return_function: returning to ‘nir_lower_memcpy’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:191:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:192:11: call_function: calling ‘lower_memcpy_impl’ from ‘nir_lower_memcpy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def291]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:153:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:187:1: enter_function: entry to ‘nir_lower_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:191:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:191:4: return_function: returning to ‘nir_lower_memcpy’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:191:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memcpy.c:192:11: call_function: calling ‘lower_memcpy_impl’ from ‘nir_lower_memcpy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:40:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:228:1: enter_function: entry to ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: return_function: returning to ‘nir_lower_memory_model’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch (when ‘cf_node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: call_function: calling ‘lower_make_visible’ from ‘nir_lower_memory_model’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def293]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:44:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:228:1: enter_function: entry to ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: return_function: returning to ‘nir_lower_memory_model’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch (when ‘cf_node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: call_function: calling ‘lower_make_visible’ from ‘nir_lower_memory_model’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:49:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:228:1: enter_function: entry to ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: return_function: returning to ‘nir_lower_memory_model’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch (when ‘cf_node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: call_function: calling ‘lower_make_visible’ from ‘nir_lower_memory_model’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def295]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:82:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:228:1: enter_function: entry to ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: return_function: returning to ‘nir_lower_memory_model’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch (when ‘cf_node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: call_function: calling ‘lower_make_visible’ from ‘nir_lower_memory_model’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def296]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:86:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:228:1: enter_function: entry to ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: return_function: returning to ‘nir_lower_memory_model’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch (when ‘cf_node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: call_function: calling ‘lower_make_visible’ from ‘nir_lower_memory_model’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def297]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:91:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:228:1: enter_function: entry to ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_memory_model’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: return_function: returning to ‘nir_lower_memory_model’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:232:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:237:7: branch_true: following ‘true’ branch (when ‘cf_node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_memory_model.c:238:27: call_function: calling ‘lower_make_visible’ from ‘nir_lower_memory_model’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def298]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_non_uniform_access.c:203:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_non_uniform_access.c:504:1: enter_function: entry to ‘nir_lower_non_uniform_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_non_uniform_access.c:509:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_non_uniform_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_non_uniform_access.c:509:4: return_function: returning to ‘nir_lower_non_uniform_access’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_non_uniform_access.c:509:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_non_uniform_access.c:510:11: call_function: calling ‘nir_lower_non_uniform_access_impl’ from ‘nir_lower_non_uniform_access’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def299]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_passthrough_edgeflags.c:30:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_passthrough_edgeflags.c:56:1: enter_function: entry to ‘nir_lower_passthrough_edgeflags’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_passthrough_edgeflags.c:63:4: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_lower_passthrough_edgeflags’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_passthrough_edgeflags.c:63:4: return_function: returning to ‘nir_lower_passthrough_edgeflags’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_passthrough_edgeflags.c:63:4: call_function: calling ‘lower_impl’ from ‘nir_lower_passthrough_edgeflags’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def300]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:77:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:142:1: enter_function: entry to ‘nir_lower_point_smooth’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:145:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_lower_point_smooth’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:145:30: return_function: returning to ‘nir_lower_point_smooth’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:149:22: branch_true: following ‘true’ branch (when ‘set_barycentrics != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:149:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:149:41: call_function: calling ‘find_any_used_barycentrics’ from ‘nir_lower_point_smooth’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:149:41: return_function: returning to ‘nir_lower_point_smooth’ from ‘find_any_used_barycentrics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_point_smooth.c:152:11: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘nir_lower_point_smooth’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def301]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:95:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:32:1: enter_function: entry to ‘lower_printf_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:53:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:71:26: call_function: inlined call to ‘nir_intrinsic_fmt_idx’ from ‘lower_printf_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:83:28: call_function: inlined call to ‘nir_src_as_deref’ from ‘lower_printf_intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:91:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_printf.c:95:43: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def302]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_readonly_images_to_tex.c:45:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_readonly_images_to_tex.c:251:1: enter_function: entry to ‘nir_lower_readonly_images_to_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_readonly_images_to_tex.c:254:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘nir_lower_readonly_images_to_tex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def303]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1271:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1242:1: enter_function: entry to ‘lower_resume’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1244:4: call_function: inlined call to ‘wrap_instrs’ from ‘lower_resume’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1244:4: call_function: inlined call to ‘wrap_instrs’ from ‘lower_resume’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1246:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘lower_resume’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1246:30: return_function: returning to ‘lower_resume’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1247:30: call_function: calling ‘find_resume_instr’ from ‘lower_resume’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1247:30: return_function: returning to ‘lower_resume’ from ‘find_resume_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1249:8: call_function: calling ‘duplicate_loop_bodies’ from ‘lower_resume’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1249:8: return_function: returning to ‘lower_resume’ from ‘duplicate_loop_bodies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1249:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1264:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1271:32: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def304]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1660:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1616:1: enter_function: entry to ‘nir_opt_sort_and_pack_stack’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1621:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_opt_sort_and_pack_stack’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1621:30: return_function: returning to ‘nir_opt_sort_and_pack_stack’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1630:32: branch_true: following ‘true’ branch (when ‘call_idx < num_calls’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1631:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1635:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1636:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1636:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1636:10: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘nir_opt_sort_and_pack_stack’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1636:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1636:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1637:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1637:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1641:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1641:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1644:17: call_function: inlined call to ‘nir_intrinsic_call_idx’ from ‘nir_opt_sort_and_pack_stack’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1644:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1647:39: call_function: inlined call to ‘nir_intrinsic_value_id’ from ‘nir_opt_sort_and_pack_stack’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1660:13: call_function: calling ‘util_dynarray_grow_bytes’ from ‘nir_opt_sort_and_pack_stack’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1660:13: return_function: returning to ‘nir_opt_sort_and_pack_stack’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_shader_calls.c:1660:13: danger: argument 1 (‘util_dynarray_grow_bytes(&ops, 1, 24)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def305]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_texcoord_replace.c:110:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_texcoord_replace.c:131:1: enter_function: entry to ‘nir_lower_texcoord_replace’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_texcoord_replace.c:137:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_texcoord_replace’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_texcoord_replace.c:137:4: return_function: returning to ‘nir_lower_texcoord_replace’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_texcoord_replace.c:137:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_texcoord_replace.c:138:7: call_function: calling ‘nir_lower_texcoord_replace_impl’ from ‘nir_lower_texcoord_replace’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def306]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:148:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:892:1: enter_function: entry to ‘nir_lower_vars_to_ssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:896:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_lower_vars_to_ssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:896:4: return_function: returning to ‘nir_lower_vars_to_ssa’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:896:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_vars_to_ssa.c:897:19: call_function: calling ‘nir_lower_vars_to_ssa_impl’ from ‘nir_lower_vars_to_ssa’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def307]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:98:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:285:1: enter_function: entry to ‘nir_opt_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: return_function: returning to ‘nir_opt_access’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:297:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:298:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:298:10: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:298:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:299:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:299:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:300:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:300:16: call_function: calling ‘gather_intrinsic’ from ‘nir_opt_access’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:256:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:285:1: enter_function: entry to ‘nir_opt_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: return_function: returning to ‘nir_opt_access’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:298:10: branch_false: following ‘false’ branch (when ‘instr’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:297:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:297:7: branch_false: following ‘false’ branch (when ‘block’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: call_function: calling ‘nir_foreach_function_with_impl_next’ from ‘nir_opt_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: return_function: returning to ‘nir_opt_access’ from ‘nir_foreach_function_with_impl_next’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:296:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:306:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:313:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:313:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:316:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:316:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_access’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:316:4: return_function: returning to ‘nir_opt_access’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:316:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_access.c:317:19: call_function: calling ‘opt_access_impl’ from ‘nir_opt_access’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def309]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:226:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:408:1: enter_function: entry to ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: return_function: returning to ‘nir_opt_combine_stores’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:422:19: call_function: calling ‘combine_stores_impl’ from ‘nir_opt_combine_stores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:234:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:408:1: enter_function: entry to ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: return_function: returning to ‘nir_opt_combine_stores’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:422:19: call_function: calling ‘combine_stores_impl’ from ‘nir_opt_combine_stores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:204:72: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1521:1: enter_function: entry to ‘nir_opt_copy_prop_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1525:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_copy_prop_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1525:4: return_function: returning to ‘nir_opt_copy_prop_vars’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1525:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1526:19: call_function: calling ‘nir_copy_prop_vars_impl’ from ‘nir_opt_copy_prop_vars’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def312]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:239:145: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1521:1: enter_function: entry to ‘nir_opt_copy_prop_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1525:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_copy_prop_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1525:4: return_function: returning to ‘nir_opt_copy_prop_vars’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1525:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_copy_prop_vars.c:1526:19: call_function: calling ‘nir_copy_prop_vars_impl’ from ‘nir_opt_copy_prop_vars’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def313]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:106:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:278:1: enter_function: entry to ‘nir_opt_dead_write_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:283:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_dead_write_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:283:4: return_function: returning to ‘nir_opt_dead_write_vars’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:283:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:284:19: call_function: calling ‘remove_dead_write_vars_impl’ from ‘nir_opt_dead_write_vars’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def314]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:235:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:278:1: enter_function: entry to ‘nir_opt_dead_write_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:283:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_dead_write_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:283:4: return_function: returning to ‘nir_opt_dead_write_vars’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:283:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_dead_write_vars.c:284:19: call_function: calling ‘remove_dead_write_vars_impl’ from ‘nir_opt_dead_write_vars’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def315]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:118:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:674:1: enter_function: entry to ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: return_function: returning to ‘nir_opt_find_array_copies’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:679:11: call_function: calling ‘opt_find_array_copies_impl’ from ‘nir_opt_find_array_copies’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:126:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:674:1: enter_function: entry to ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: return_function: returning to ‘nir_opt_find_array_copies’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:679:11: call_function: calling ‘opt_find_array_copies_impl’ from ‘nir_opt_find_array_copies’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:403:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:674:1: enter_function: entry to ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: return_function: returning to ‘nir_opt_find_array_copies’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:679:11: call_function: calling ‘opt_find_array_copies_impl’ from ‘nir_opt_find_array_copies’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:404:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:674:1: enter_function: entry to ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_find_array_copies’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: return_function: returning to ‘nir_opt_find_array_copies’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:678:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_find_array_copies.c:679:11: call_function: calling ‘opt_find_array_copies_impl’ from ‘nir_opt_find_array_copies’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def319]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:47:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1438:1: enter_function: entry to ‘nir_opt_if’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1442:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_if’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1442:4: return_function: returning to ‘nir_opt_if’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1442:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1446:18: call_function: calling ‘opt_if_safe_cf_list’ from ‘nir_opt_if’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:384:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1438:1: enter_function: entry to ‘nir_opt_if’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1442:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_if’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1442:4: return_function: returning to ‘nir_opt_if’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1442:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_if.c:1446:18: call_function: calling ‘opt_if_safe_cf_list’ from ‘nir_opt_if’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_licm.c:60:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_licm.c:126:1: enter_function: entry to ‘nir_opt_licm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_licm.c:130:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_licm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_licm.c:130:4: return_function: returning to ‘nir_opt_licm’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_licm.c:130:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_licm.c:134:28: call_function: calling ‘visit_cf_list’ from ‘nir_opt_licm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def322]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:633:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1187:1: enter_function: entry to ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_loop_unroll’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: return_function: returning to ‘nir_opt_loop_unroll’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1193:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_loop_unroll.c:1194:19: call_function: calling ‘nir_opt_loop_unroll_impl’ from ‘nir_opt_loop_unroll’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def323]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:145:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:281:1: enter_function: entry to ‘nir_opt_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:285:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:285:4: return_function: returning to ‘nir_opt_memcpy’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:285:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:286:11: call_function: calling ‘opt_memcpy_impl’ from ‘nir_opt_memcpy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:146:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:281:1: enter_function: entry to ‘nir_opt_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:285:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:285:4: return_function: returning to ‘nir_opt_memcpy’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:285:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_memcpy.c:286:11: call_function: calling ‘opt_memcpy_impl’ from ‘nir_opt_memcpy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def325]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:100:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘__prev’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:136:1: enter_function: entry to ‘nir_opt_move’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:140:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_move’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:140:4: return_function: returning to ‘nir_opt_move’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:140:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:142:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:143:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_move.c:143:14: call_function: calling ‘nir_opt_move_block’ from ‘nir_opt_move’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def326]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_peephole_select.c:112:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_peephole_select.c:573:1: enter_function: entry to ‘nir_opt_peephole_select’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_peephole_select.c:578:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_peephole_select’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_peephole_select.c:578:4: return_function: returning to ‘nir_opt_peephole_select’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_peephole_select.c:578:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_peephole_select.c:579:19: call_function: calling ‘nir_opt_peephole_select_impl’ from ‘nir_opt_peephole_select’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def327]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_preamble.c:755:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_preamble.c:747:1: enter_function: entry to ‘nir_opt_preamble’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_preamble.c:754:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_opt_preamble’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_preamble.c:754:30: return_function: returning to ‘nir_opt_preamble’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_preamble.c:755:24: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def328]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:229:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:215:1: enter_function: entry to ‘nir_opt_ray_query_ranges’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:220:30: call_function: inlined call to ‘exec_list_get_head_const’ from ‘nir_opt_ray_query_ranges’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:224:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:224:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:224:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:229:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_ray_queries.c:229:4: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING: [#def329]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_shrink_vectors.c:137:18: note[note]: at offset [1, 15] into destination object ‘swizzle’ of size 16
Error: COMPILER_WARNING: [#def330]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_shrink_vectors.c:139:13: warning[-Wstringop-overflow=]: writing 16 bytes into a region of size 15
Error: GCC_ANALYZER_WARNING (CWE-476): [#def331]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:152:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:236:1: enter_function: entry to ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: return_function: returning to ‘nir_opt_sink’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:244:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: call_function: inlined call to ‘exec_node_is_head_sentinel’ from ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:247:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:247:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:250:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:253:16: call_function: calling ‘get_preferred_block’ from ‘nir_opt_sink’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:166:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:236:1: enter_function: entry to ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: return_function: returning to ‘nir_opt_sink’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:244:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: call_function: inlined call to ‘exec_node_is_head_sentinel’ from ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:247:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:247:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:250:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:253:16: call_function: calling ‘get_preferred_block’ from ‘nir_opt_sink’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def333]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:166:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:236:1: enter_function: entry to ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: return_function: returning to ‘nir_opt_sink’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:240:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:244:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: call_function: inlined call to ‘exec_node_is_head_sentinel’ from ‘nir_opt_sink’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:245:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:247:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:247:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:250:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_sink.c:253:16: call_function: calling ‘get_preferred_block’ from ‘nir_opt_sink’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def334]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:38:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:53:1: enter_function: entry to ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:64:19: call_function: calling ‘nir_instr_worklist_create’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:64:19: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_instr_worklist_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:65:21: call_function: calling ‘nir_instr_worklist_create’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:65:21: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_instr_worklist_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:70:4: branch_false: following ‘false’ branch (when ‘block’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:158:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:159:29: call_function: inlined call to ‘nir_instr_worklist_pop_head’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:178:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:181:15: call_function: inlined call to ‘def_needs_helpers’ from ‘nir_opt_tex_skip_helpers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def335]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:62:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:53:1: enter_function: entry to ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:62:24: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def336]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:166:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:320:1: enter_function: entry to ‘nir_opt_uniform_atomics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:333:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_uniform_atomics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:333:4: return_function: returning to ‘nir_opt_uniform_atomics’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:333:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:336:28: call_function: calling ‘opt_uniform_atomics’ from ‘nir_opt_uniform_atomics’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def337]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:167:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:320:1: enter_function: entry to ‘nir_opt_uniform_atomics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:333:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_uniform_atomics’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:333:4: return_function: returning to ‘nir_opt_uniform_atomics’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:333:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_uniform_atomics.c:336:28: call_function: calling ‘opt_uniform_atomics’ from ‘nir_opt_uniform_atomics’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def338]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:470:26: warning[-Wanalyzer-infinite-recursion]: infinite recursion
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:455:1: enter_function: entry to ‘nir_opt_vectorize_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:463:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:465:8: call_function: inlined call to ‘util_bitcount’ from ‘nir_opt_vectorize_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:463:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:470:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:470:26: call_function: calling ‘nir_opt_vectorize_io’ from ‘nir_opt_vectorize_io’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def339]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:567:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:455:1: enter_function: entry to ‘nir_opt_vectorize_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:463:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:465:8: call_function: inlined call to ‘util_bitcount’ from ‘nir_opt_vectorize_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:463:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:470:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize_io.c:470:26: call_function: calling ‘nir_opt_vectorize_io’ from ‘nir_opt_vectorize_io’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def340]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_precompiled.h:669:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fp’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:243:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:245:7: branch_false: following ‘false’ branch (when ‘argc == 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:251:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:258:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:264:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:267:7: branch_false: following ‘false’ branch (when ‘spirv_map != 18446744073709551615’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:274:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:274:17: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/clc/asahi_clc.c:278:4: call_function: calling ‘nir_precomp_print_header’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:85:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:61:1: enter_function: entry to ‘remove_tex_shadow’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:73:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:76:16: call_function: inlined call to ‘nir_tex_instr_src_index’ from ‘remove_tex_shadow’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:78:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:82:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:83:45: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:84:20: call_function: calling ‘nir_deref_instr_get_variable’ from ‘remove_tex_shadow’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:84:20: return_function: returning to ‘remove_tex_shadow’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_remove_tex_shadow.c:85:26: danger: dereference of NULL ‘nir_deref_instr_get_variable(*_31->src.ssa.parent_instr)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def342]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:447:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘n’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1274:1: enter_function: entry to ‘nir_schedule’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1277:42: call_function: calling ‘nir_schedule_get_scoreboard’ from ‘nir_schedule’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1277:42: return_function: returning to ‘nir_schedule’ from ‘nir_schedule_get_scoreboard’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1285:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_schedule’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1285:4: return_function: returning to ‘nir_schedule’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1285:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1286:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1287:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_schedule.c:1287:10: call_function: calling ‘nir_schedule_block’ from ‘nir_schedule’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def343]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:143:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_var’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:263:1: enter_function: entry to ‘nir_split_64bit_vec3_and_vec4_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:277:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:278:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:278:20: call_function: calling ‘split_load_deref’ from ‘nir_split_64bit_vec3_and_vec4_impl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:172:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:263:1: enter_function: entry to ‘nir_split_64bit_vec3_and_vec4_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:277:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:278:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_64bit_vec3_and_vec4.c:278:20: call_function: calling ‘split_load_deref’ from ‘nir_split_64bit_vec3_and_vec4_impl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def345]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:103:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:156:1: enter_function: entry to ‘nir_split_per_member_structs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘nir_split_per_member_structs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘nir_split_per_member_structs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:164:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:164:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:167:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: branch_false: following ‘false’ branch (when ‘__next’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:163:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:172:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:172:7: branch_true: following ‘true’ branch (when ‘progress != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:177:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_per_member_structs.c:177:4: call_function: calling ‘nir_shader_instructions_pass’ from ‘nir_split_per_member_structs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def346]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:40:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:33:1: enter_function: entry to ‘is_array_deref_of_vec’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:39:30: call_function: inlined call to ‘nir_deref_instr_parent’ from ‘is_array_deref_of_vec’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:40:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:40:41: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def347]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:40:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘copy_deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:1684:1: enter_function: entry to ‘nir_shrink_vec_array_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:1694:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_shrink_vec_array_vars’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:1694:4: return_function: returning to ‘nir_shrink_vec_array_vars’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:1694:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:1699:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:1701:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_split_vars.c:1701:10: call_function: calling ‘find_used_components_impl’ from ‘nir_shrink_vec_array_vars’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def348]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:99:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:394:1: enter_function: entry to ‘nir_convert_to_lcssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:402:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_convert_to_lcssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:402:4: return_function: returning to ‘nir_convert_to_lcssa’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:402:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:406:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:406:7: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:407:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:407:10: call_function: calling ‘convert_to_lcssa’ from ‘nir_convert_to_lcssa’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def349]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:342:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:394:1: enter_function: entry to ‘nir_convert_to_lcssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:402:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_convert_to_lcssa’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:402:4: return_function: returning to ‘nir_convert_to_lcssa’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:402:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:406:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:406:7: branch_true: following ‘true’ branch (when ‘node’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:407:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_to_lcssa.c:407:10: call_function: calling ‘convert_to_lcssa’ from ‘nir_convert_to_lcssa’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def350]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:69:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:664:1: enter_function: entry to ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:667:33: call_function: calling ‘vtn_untyped_value’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:667:33: return_function: returning to ‘vtn_handle_alu’ from ‘vtn_untyped_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:668:40: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:668:40: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:670:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:675:4: call_function: inlined call to ‘vtn_handle_no_contraction’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:690:36: call_function: calling ‘vtn_handle_matrix_alu’ from ‘vtn_handle_alu’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:74:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:664:1: enter_function: entry to ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:667:33: call_function: calling ‘vtn_untyped_value’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:667:33: return_function: returning to ‘vtn_handle_alu’ from ‘vtn_untyped_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:668:40: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:668:40: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:670:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:675:4: call_function: inlined call to ‘vtn_handle_no_contraction’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:690:36: call_function: calling ‘vtn_handle_matrix_alu’ from ‘vtn_handle_alu’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def352]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:688:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:664:1: enter_function: entry to ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:667:33: call_function: calling ‘vtn_untyped_value’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:667:33: return_function: returning to ‘vtn_handle_alu’ from ‘vtn_untyped_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:668:40: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:668:40: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:670:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:675:4: call_function: inlined call to ‘vtn_handle_no_contraction’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:682:25: branch_true: following ‘true’ branch (when ‘i < num_inputs’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:683:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:684:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:685:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:685:23: call_function: calling ‘vtn_mediump_downconvert_value’ from ‘vtn_handle_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:685:23: return_function: returning to ‘vtn_handle_alu’ from ‘vtn_mediump_downconvert_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:688:28: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_alu.c:688:28: danger: dereference of NULL ‘vtn_src[0]’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:208:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:184:1: enter_function: entry to ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:188:4: branch_true: following ‘true’ branch (when ‘ext_opcode == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:189:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:199:7: call_function: calling ‘vtn_value’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:199:7: return_function: returning to ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’ from ‘vtn_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:207:33: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:208:27: call_function: inlined call to ‘nir_deref_instr_parent’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:208:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:208:27: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:218:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:184:1: enter_function: entry to ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:188:4: branch_true: following ‘true’ branch (when ‘ext_opcode == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:189:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:199:7: call_function: calling ‘vtn_value’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:199:7: return_function: returning to ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’ from ‘vtn_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:207:33: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:208:27: call_function: inlined call to ‘nir_deref_instr_parent’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:207:33: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:213:15: call_function: inlined call to ‘nir_deref_instr_parent’ from ‘vtn_handle_amd_shader_explicit_vertex_parameter_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_amd.c:218:54: danger: dereference of NULL ‘deref’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:522:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:656:1: enter_function: entry to ‘vtn_emit_cf_func_unstructured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:664:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:667:7: call_function: inlined call to ‘list_del’ from ‘vtn_emit_cf_func_unstructured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:669:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:671:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:707:10: call_function: inlined call to ‘list_inithead’ from ‘vtn_emit_cf_func_unstructured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:708:10: call_function: calling ‘vtn_parse_switch’ from ‘vtn_emit_cf_func_unstructured’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def356]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:714:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:762:1: enter_function: entry to ‘vtn_function_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:772:12: call_function: calling ‘nir_after_impl’ from ‘vtn_function_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:772:12: return_function: returning to ‘vtn_function_emit’ from ‘nir_after_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:772:12: call_function: calling ‘nir_builder_at’ from ‘vtn_function_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:772:12: return_function: returning to ‘vtn_function_emit’ from ‘nir_builder_at’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_cfg.c:779:7: call_function: calling ‘vtn_emit_cf_func_unstructured’ from ‘vtn_function_emit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def357]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:218:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘w_dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:924:1: enter_function: entry to ‘vtn_handle_opencl_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:1076:7: call_function: calling ‘handle_instr’ from ‘vtn_handle_opencl_instruction’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def358]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:282:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest_type’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:924:1: enter_function: entry to ‘vtn_handle_opencl_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:969:7: call_function: calling ‘handle_instr’ from ‘vtn_handle_opencl_instruction’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def359]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:506:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest_type’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:924:1: enter_function: entry to ‘vtn_handle_opencl_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_opencl.c:1076:7: call_function: calling ‘handle_instr’ from ‘vtn_handle_opencl_instruction’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def360]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:494:11: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1527:1: enter_function: entry to ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1532:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1541:4: call_function: inlined call to ‘init_construct_stack’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1544:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1545:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1563:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1565:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1611:16: call_function: inlined call to ‘top_construct’ from ‘vtn_emit_cf_func_structured’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def361]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:507:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1527:1: enter_function: entry to ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1532:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1541:4: call_function: inlined call to ‘init_construct_stack’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1435:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1527:1: enter_function: entry to ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1532:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1541:4: call_function: inlined call to ‘init_construct_stack’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1544:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1545:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1563:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1615:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1615:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1624:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1645:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1646:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1650:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1653:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1718:16: call_function: calling ‘vtn_switch_case_condition’ from ‘vtn_emit_cf_func_structured’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1600:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1527:1: enter_function: entry to ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1532:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1541:4: call_function: inlined call to ‘init_construct_stack’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1544:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1545:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1563:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1565:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1591:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1597:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1597:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1598:34: call_function: inlined call to ‘nir_loop_last_block’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1599:21: call_function: inlined call to ‘nir_block_ends_in_jump’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1600:34: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def364]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1600:34: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘b’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1527:1: enter_function: entry to ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1532:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1541:4: call_function: inlined call to ‘init_construct_stack’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1542:4: call_function: inlined call to ‘push_construct’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1544:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1545:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1563:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1565:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1591:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1597:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1597:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1598:34: call_function: inlined call to ‘nir_loop_last_block’ from ‘vtn_emit_cf_func_structured’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_structured_cfg.c:1600:34: danger: use after ‘free’ of ‘b’; freed at [(22)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def365]
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:1763:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘interface_type’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2639:1: enter_function: entry to ‘vtn_handle_variables’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2651:35: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_variables’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2651:35: call_function: inlined call to ‘vtn_get_type’ from ‘vtn_handle_variables’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2670:31: call_function: calling ‘vtn_push_value’ from ‘vtn_handle_variables’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2670:31: return_function: returning to ‘vtn_handle_variables’ from ‘vtn_push_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2671:39: branch_false: following ‘false’ branch (when ‘count <= 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2673:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/spirv/vtn_variables.c:2673:7: call_function: calling ‘vtn_create_variable’ from ‘vtn_handle_variables’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def366]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1477:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old_dri2_dpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1395:1: enter_function: entry to ‘dri2_make_current’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1409:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1413:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1413:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1416:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1423:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1440:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1440:12: branch_false: following ‘false’ branch (when ‘dsurf’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1441:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1441:12: branch_false: following ‘false’ branch (when ‘rsurf’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1442:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1442:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1442:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1444:7: branch_true: following ‘true’ branch (when ‘cctx’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1445:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1445:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1455:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1469:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1471:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1471:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1472:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1472:17: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1475:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1475:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1476:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1476:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/egl_dri2.c:1477:17: danger: dereference of NULL ‘old_dri2_dpy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:294:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("kms_swrast")’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:276:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:279:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:282:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:289:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:289:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:289:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:289:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:290:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:294:31: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:294:7: danger: ‘strdup("kms_swrast")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:321:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(<unknown>)’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:336:1: enter_function: entry to ‘dri2_initialize_device’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:345:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:348:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:348:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:349:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_device.c:349:12: call_function: calling ‘device_probe_device_sw’ from ‘dri2_initialize_device’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def369]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:126:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘visual’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:113:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:119:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:119:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:124:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:126:31: danger: dereference of NULL ‘visual’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:635:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*_64->gbm_dri.driver_name)’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:613:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:618:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:628:7: branch_false: following ‘false’ branch (when the strings are equal)...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:633:35: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:633:28: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_drm.c:635:9: danger: ‘strdup(*_64->gbm_dri.driver_name)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def371]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:264:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("kms_swrast")’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:235:11: branch_true: following ‘true’ branch (when ‘dev_list’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:236:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:236:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:239:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:246:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:249:52: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:250:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:253:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:256:10: branch_true: following ‘true’ branch (when ‘swrast != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:262:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:262:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:262:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:264:37: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:264:13: danger: ‘strdup("kms_swrast")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:336:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(<unknown>)’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:335:28: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_surfaceless.c:336:7: danger: ‘strdup(<unknown>)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1785:10: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("zink")’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1769:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1772:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1772:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1775:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1775:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1780:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1782:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1784:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1784:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1785:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1785:34: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1785:10: danger: ‘strdup("zink")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1975:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("zink")’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1974:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1975:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1975:31: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1975:7: danger: ‘strdup("zink")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1977:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("swrast")’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1974:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1976:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1976:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1977:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1977:31: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/drivers/dri2/platform_x11.c:1977:7: danger: ‘strdup("swrast")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1627:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1607:1: enter_function: entry to ‘_eglWaitClientCommon’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1613:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1616:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1616:11: call_function: calling ‘_eglLockDisplay’ from ‘_eglWaitClientCommon’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1616:11: return_function: returning to ‘_eglWaitClientCommon’ from ‘_eglLockDisplay’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1619:8: call_function: inlined call to ‘_eglGetContextHandle’ from ‘_eglWaitClientCommon’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1620:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1620:8: call_function: inlined call to ‘_eglGetSurfaceHandle’ from ‘_eglWaitClientCommon’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1626:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1626:4: call_function: calling ‘_egl_relax_begin’ from ‘_eglWaitClientCommon’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1626:4: return_function: returning to ‘_eglWaitClientCommon’ from ‘_egl_relax_begin’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1626:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1627:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1627:13: danger: dereference of NULL ‘_eglLockDisplay(*<unknown>.Resource.Display)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def377]
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1672:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1650:1: enter_function: entry to ‘eglWaitNative’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1656:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1659:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1661:11: call_function: calling ‘_eglLockDisplay’ from ‘eglWaitNative’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1661:11: return_function: returning to ‘eglWaitNative’ from ‘_eglLockDisplay’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1664:8: call_function: inlined call to ‘_eglGetContextHandle’ from ‘eglWaitNative’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1665:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1665:8: call_function: inlined call to ‘_eglGetSurfaceHandle’ from ‘eglWaitNative’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1671:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1671:4: call_function: calling ‘_egl_relax_begin’ from ‘eglWaitNative’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1671:4: return_function: returning to ‘eglWaitNative’ from ‘_egl_relax_begin’
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1671:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1672:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/egl/main/eglapi.c:1672:13: danger: dereference of NULL ‘_eglLockDisplay(*<unknown>.Resource.Display)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:207:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo_from_handle(dev, size, req.handle, flags)’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:186:17: enter_function: entry to ‘etna_bo_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:196:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:199:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:202:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:205:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:206:14: call_function: calling ‘bo_from_handle’ from ‘etna_bo_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:206:14: return_function: returning to ‘etna_bo_new’ from ‘bo_from_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_bo.c:207:9: danger: dereference of NULL ‘bo_from_handle(dev, size, req.handle, flags)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def379]
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:78:23: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:124:22: enter_function: entry to ‘etna_perfmon_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:130:12: branch_false: following ‘false’ branch (when ‘pm’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:135:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:139:15: call_function: calling ‘etna_perfmon_query_domains’ from ‘etna_perfmon_create’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def380]
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:107:9: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:124:22: enter_function: entry to ‘etna_perfmon_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:130:12: branch_false: following ‘false’ branch (when ‘pm’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:135:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:139:15: call_function: calling ‘etna_perfmon_query_domains’ from ‘etna_perfmon_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:139:15: return_function: returning to ‘etna_perfmon_create’ from ‘etna_perfmon_query_domains’
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:140:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:141:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/etnaviv/drm/etnaviv_perfmon.c:146:9: call_function: inlined call to ‘etna_perfmon_del’ from ‘etna_perfmon_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:35:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘heap’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:33:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:35:4: danger: ‘heap’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def382]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:225:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:199:1: enter_function: entry to ‘fd_bo_heap_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:201:4: call_function: calling ‘heap_clean’ from ‘fd_bo_heap_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:201:4: return_function: returning to ‘fd_bo_heap_alloc’ from ‘heap_clean’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:218:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:223:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:223:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo_heap.c:225:4: danger: ‘s’ could be NULL: unchecked value from [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_pipe.c:222:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_pipe.c:220:25: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_pipe.c:222:4: danger: ‘f’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def384]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_priv.h:66:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*bo.fences’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo.c:783:1: enter_function: entry to ‘fd_bo_add_fence’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo.c:787:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo.c:811:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo.c:815:7: call_function: calling ‘grow’ from ‘fd_bo_add_fence’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo.c:815:7: return_function: returning to ‘fd_bo_add_fence’ from ‘grow’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_bo.c:818:4: call_function: calling ‘grow’ from ‘fd_bo_add_fence’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_priv.h:68:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:41:17: enter_function: entry to ‘fd_ringbuffer_sp_emit_reloc_ring_64’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:57:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:64:69: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp_reloc.h:64:7: call_function: calling ‘fd_ringbuffer_sp_emit_reloc_nonobj_64’ from ‘fd_ringbuffer_sp_emit_reloc_ring_64’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def386]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:761:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fd_ring’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:750:1: enter_function: entry to ‘fd_ringbuffer_sp_new_object’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:753:39: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:759:4: call_function: calling ‘simple_mtx_lock’ from ‘fd_ringbuffer_sp_new_object’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:759:4: return_function: returning to ‘fd_ringbuffer_sp_new_object’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:761:4: danger: ‘fd_ring’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:780:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fd_ring’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:750:1: enter_function: entry to ‘fd_ringbuffer_sp_new_object’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:753:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:780:11: call_function: calling ‘fd_ringbuffer_sp_init’ from ‘fd_ringbuffer_sp_new_object’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:780:11: return_function: returning to ‘fd_ringbuffer_sp_new_object’ from ‘fd_ringbuffer_sp_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/freedreno_ringbuffer_sp.c:780:11: danger: ‘fd_ring’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_device.c:69:4: warning[-Wanalyzer-malloc-leak]: leak of ‘msm_dev’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_device.c:40:14: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_device.c:41:7: branch_false: following ‘false’ branch (when ‘msm_dev’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_device.c:44:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_device.c:69:4: danger: ‘msm_dev’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def389]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:63:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmd’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:644:1: enter_function: entry to ‘msm_ringbuffer_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:664:20: call_function: calling ‘cmd_new’ from ‘msm_ringbuffer_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def390]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:675:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘msm_ring’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:672:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:675:4: danger: ‘msm_ring’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:685:11: warning[-Wanalyzer-malloc-leak]: leak of ‘msm_ring’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:672:38: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer.c:685:11: danger: ‘msm_ring’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def392]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:120:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘submit_bos’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:90:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:95:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:95:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:99:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:99:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:109:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:113:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:116:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:116:20: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:119:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:120:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/drm/msm/msm_ringbuffer_sp.c:120:7: danger: ‘submit_bos + (long unsigned int)i * 16’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1355:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1326:1: enter_function: entry to ‘ir3_valid_flags’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1340:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1346:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1346:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1353:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1353:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1354:40: call_function: inlined call to ‘ssa’ from ‘ir3_valid_flags’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1355:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.c:1355:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def394]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3.h:1059:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:496:1: enter_function: entry to ‘instr_cp’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:508:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:508:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:511:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:514:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:514:10: call_function: calling ‘instr_cp’ from ‘instr_cp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def395]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:578:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:496:1: enter_function: entry to ‘instr_cp’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:508:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:508:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:511:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:514:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_cp.c:514:10: call_function: calling ‘instr_cp’ from ‘instr_cp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def396]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:682:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:676:1: enter_function: entry to ‘ir3_nir_opt_prefetch_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:680:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘ir3_nir_opt_prefetch_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:680:30: return_function: returning to ‘ir3_nir_opt_prefetch_descriptors’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:682:34: danger: dereference of NULL ‘nir_shader_get_entrypoint(nir)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:800:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:796:1: enter_function: entry to ‘ir3_nir_lower_preamble’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:798:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘ir3_nir_lower_preamble’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:798:30: return_function: returning to ‘ir3_nir_lower_preamble’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_opt_preamble.c:800:9: danger: dereference of NULL ‘nir_shader_get_entrypoint(nir)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def398]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shader.c:246:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘stream’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shader.c:474:1: enter_function: entry to ‘ir3_shader_get_variant’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shader.c:481:35: call_function: calling ‘shader_variant’ from ‘ir3_shader_get_variant’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shader.c:481:35: return_function: returning to ‘ir3_shader_get_variant’ from ‘shader_variant’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shader.c:483:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shader.c:485:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shader.c:485:11: call_function: calling ‘create_variant’ from ‘ir3_shader_get_variant’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def399]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:235:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ctx.available[<unknown>]’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:1460:1: enter_function: entry to ‘ir3_ra_shared’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:1477:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:1478:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:1478:7: call_function: calling ‘handle_block’ from ‘ir3_ra_shared’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:333:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:828:1: enter_function: entry to ‘ensure_src_live’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:836:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:841:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:841:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:842:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_shared_ra.c:842:10: call_function: calling ‘reload_src’ from ‘ensure_src_live’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def401]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_context.c:1408:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_context.c:1414:1: enter_function: entry to ‘cso_single_sampler’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_context.c:1423:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_context.c:1428:11: call_function: inlined call to ‘cso_set_sampler’ from ‘cso_single_sampler’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_hash.c:119:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*hash.buckets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_hash.c:155:1: enter_function: entry to ‘cso_data_has_shrunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_hash.c:157:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_hash.c:158:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_hash.c:157:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_hash.c:159:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/cso_cache/cso_hash.c:160:7: call_function: calling ‘cso_data_rehash’ from ‘cso_data_has_shrunk’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:823:10: warning[-Wanalyzer-malloc-leak]: leak of ‘llvm_gs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:799:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:800:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:800:17: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:802:10: branch_false: following ‘false’ branch (when ‘llvm_gs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:805:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:814:7: branch_false: following ‘false’ branch (when ‘gs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:817:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:820:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:821:42: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:822:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:823:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:823:10: danger: ‘llvm_gs’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def404]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:906:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:789:1: enter_function: entry to ‘draw_create_geometry_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:799:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:800:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:802:10: branch_false: following ‘false’ branch (when ‘llvm_gs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:805:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:814:7: branch_false: following ‘false’ branch (when ‘gs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:817:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:843:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:848:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:903:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:904:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:905:22: call_function: calling ‘os_malloc_aligned’ from ‘draw_create_geometry_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:905:22: return_function: returning to ‘draw_create_geometry_shader’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:905:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_gs.c:906:7: danger: argument 1 (‘os_malloc_aligned(30720, 16)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def405]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1059:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘aos[j]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1546:1: enter_function: entry to ‘draw_llvm_generate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1632:16: branch_true: following ‘true’ branch (when ‘i != 14’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1633:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1632:16: branch_true: following ‘true’ branch (when ‘i != 14’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1633:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1973:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1975:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1975:10: call_function: calling ‘store_clip’ from ‘draw_llvm_generate’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def406]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1629:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1628:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:1629:4: danger: argument 1 (‘malloc(strlen(&func_name) + 1)’) 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): [#def407]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2367:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2366:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2367:4: danger: argument 1 (‘malloc(strlen(&func_name) + 1)’) from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def408]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2367:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2501:1: enter_function: entry to ‘draw_gs_llvm_create_variant’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2516:7: branch_false: following ‘false’ branch (when ‘variant’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2519:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2547:4: call_function: calling ‘draw_gs_llvm_generate’ from ‘draw_gs_llvm_create_variant’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def409]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2961:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2960:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2961:4: danger: argument 1 (‘malloc(strlen(&func_name) + 1)’) from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def410]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:2961:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3175:1: enter_function: entry to ‘draw_tcs_llvm_create_variant’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3188:7: branch_false: following ‘false’ branch (when ‘variant’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3191:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3222:4: call_function: calling ‘draw_tcs_llvm_generate’ from ‘draw_tcs_llvm_create_variant’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def411]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3545:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.function_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3544:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3545:4: danger: argument 1 (‘malloc(strlen(&func_name) + 1)’) 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-688): [#def412]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3545:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3714:1: enter_function: entry to ‘draw_tes_llvm_create_variant’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3727:7: branch_false: following ‘false’ branch (when ‘variant’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3730:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_llvm.c:3762:4: call_function: calling ‘draw_tes_llvm_generate’ from ‘draw_tes_llvm_create_variant’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def413]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_mesh_prim.c:206:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*output_prims.primitive_lengths’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_mesh_prim.c:205:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_mesh_prim.c:206:4: danger: ‘malloc(4)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:406:1: warning[-Wanalyzer-malloc-leak]: leak of ‘vbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:413:1: enter_function: entry to ‘draw_vbuf_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:415:30: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:416:7: branch_false: following ‘false’ branch (when ‘vbuf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:419:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: call_function: calling ‘os_malloc_aligned’ from ‘draw_vbuf_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: return_function: returning to ‘draw_vbuf_stage’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:434:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:435:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:449:7: call_function: calling ‘vbuf_destroy’ from ‘draw_vbuf_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:449:7: return_function: returning to ‘draw_vbuf_stage’ from ‘vbuf_destroy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:406:1: danger: ‘vbuf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:445:11: warning[-Wanalyzer-malloc-leak]: leak of ‘vbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:413:1: enter_function: entry to ‘draw_vbuf_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:415:30: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:416:7: branch_false: following ‘false’ branch (when ‘vbuf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:419:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: call_function: calling ‘os_malloc_aligned’ from ‘draw_vbuf_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:431:33: return_function: returning to ‘draw_vbuf_stage’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:434:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:437:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:438:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:441:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pipe_vbuf.c:445:11: danger: ‘vbuf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def416]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_prim_assembler.c:294:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*output_prims.primitive_lengths’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_prim_assembler.c:293:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_prim_assembler.c:294:4: danger: ‘malloc(4)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def417]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_prim_assembler.c:325:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ia’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_prim_assembler.c:323:32: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_prim_assembler.c:325:4: danger: ‘ia’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:365:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fse’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:352:35: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:353:7: branch_false: following ‘false’ branch (when ‘fse’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:356:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c:365:11: danger: ‘fse’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:494:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:498:1: enter_function: entry to ‘draw_pt_fetch_pipeline_or_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:501:7: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:502:7: branch_false: following ‘false’ branch (when ‘fpme’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:505:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:516:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:517:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:535:7: call_function: calling ‘fetch_pipeline_destroy’ from ‘draw_pt_fetch_pipeline_or_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:535:7: return_function: returning to ‘draw_pt_fetch_pipeline_or_emit’ from ‘fetch_pipeline_destroy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:494:1: danger: ‘fpme’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:531:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:501:7: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:502:7: branch_false: following ‘false’ branch (when ‘fpme’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:505:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:516:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:519:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:520:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:523:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:524:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:527:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:528:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:531:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c:531:11: danger: ‘fpme’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:870:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:874:1: enter_function: entry to ‘draw_pt_fetch_pipeline_or_emit_llvm’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:878:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:881:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:881:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:882:7: branch_false: following ‘false’ branch (when ‘fpme’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:885:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:896:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:897:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:921:7: call_function: calling ‘llvm_middle_end_destroy’ from ‘draw_pt_fetch_pipeline_or_emit_llvm’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:921:7: return_function: returning to ‘draw_pt_fetch_pipeline_or_emit_llvm’ from ‘llvm_middle_end_destroy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:870:1: danger: ‘fpme’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:917:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fpme’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:878:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:881:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:881:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:882:7: branch_false: following ‘false’ branch (when ‘fpme’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:885:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:896:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:899:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:900:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:903:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:904:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:907:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:908:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:911:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:912:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:915:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c:917:11: danger: ‘fpme’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:62:1: warning[-Wanalyzer-malloc-leak]: leak of ‘mpme’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:106:1: enter_function: entry to ‘draw_pt_mesh_pipeline_or_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:109:7: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:110:7: branch_false: following ‘false’ branch (when ‘mpme’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:113:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:118:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:119:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:128:7: call_function: calling ‘mesh_pipeline_destroy’ from ‘draw_pt_mesh_pipeline_or_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:128:7: return_function: returning to ‘draw_pt_mesh_pipeline_or_emit’ from ‘mesh_pipeline_destroy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:62:1: danger: ‘mpme’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:125:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mpme’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:109:7: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:110:7: branch_false: following ‘false’ branch (when ‘mpme’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:113:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:118:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:121:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:122:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:125:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_mesh_pipeline.c:125:11: danger: ‘mpme’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def425]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:149:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:272:1: enter_function: entry to ‘draw_pt_so_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:299:30: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:300:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:302:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:303:42: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:310:27: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:312:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:314:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:315:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_pt_so_emit.c:315:13: call_function: calling ‘so_run_linear’ from ‘draw_pt_so_emit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:404:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:321:5: enter_function: entry to ‘draw_tess_eval_shader_run’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:366:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:367:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:371:7: call_function: calling ‘llvm_fetch_tess_factors’ from ‘draw_tess_eval_shader_run’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:371:7: return_function: returning to ‘draw_tess_eval_shader_run’ from ‘llvm_fetch_tess_factors’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:376:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:380:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:400:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:404:47: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:404:27: call_function: inlined call to ‘u_prim_vertex_count’ from ‘draw_tess_eval_shader_run’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:404:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:404:16: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def427]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:465:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:426:1: enter_function: entry to ‘draw_create_tess_ctrl_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:436:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:437:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:439:10: branch_false: following ‘false’ branch (when ‘llvm_tcs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:442:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:451:7: branch_false: following ‘false’ branch (when ‘tcs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:454:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:462:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:464:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:464:24: call_function: calling ‘os_malloc_aligned’ from ‘draw_create_tess_ctrl_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:464:24: return_function: returning to ‘draw_create_tess_ctrl_shader’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:464:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:465:7: danger: argument 1 (‘os_malloc_aligned(24576, 16)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def428]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:468:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:426:1: enter_function: entry to ‘draw_create_tess_ctrl_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:436:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:437:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:439:10: branch_false: following ‘false’ branch (when ‘llvm_tcs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:442:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:451:7: branch_false: following ‘false’ branch (when ‘tcs’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:454:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:462:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:464:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:464:24: call_function: calling ‘os_malloc_aligned’ from ‘draw_create_tess_ctrl_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:464:24: return_function: returning to ‘draw_create_tess_ctrl_shader’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:467:25: call_function: calling ‘os_malloc_aligned’ from ‘draw_create_tess_ctrl_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:467:25: return_function: returning to ‘draw_create_tess_ctrl_shader’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:467:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:468:7: danger: argument 1 (‘os_malloc_aligned(40960, 16)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def429]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:593:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:528:1: enter_function: entry to ‘draw_create_tess_eval_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:538:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:539:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:541:10: branch_false: following ‘false’ branch (when ‘llvm_tes’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:544:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:552:7: branch_false: following ‘false’ branch (when ‘tes’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:555:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:590:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:592:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:592:24: call_function: calling ‘os_malloc_aligned’ from ‘draw_create_tess_eval_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:592:24: return_function: returning to ‘draw_create_tess_eval_shader’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:592:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/draw/draw_tess.c:593:7: danger: argument 1 (‘os_malloc_aligned(40960, 16)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:550:14: warning[-Wanalyzer-malloc-leak]: leak of ‘dscreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:549:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:552:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:552:7: branch_false: following ‘false’ branch (when the strings are non-equal)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:628:14: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:629:7: branch_false: following ‘false’ branch (when ‘dscreen’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:635:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:639:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:639:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:643:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:643:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:647:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:647:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:652:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:652:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:653:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:653:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:654:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:654:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:656:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:656:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:657:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:657:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:658:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:658:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:660:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:660:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:661:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:661:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:662:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:662:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:663:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:663:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:664:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:664:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:665:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:665:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:666:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:666:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:667:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:667:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:668:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:668:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:669:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:669:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:670:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:670:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:671:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:671:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:672:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:672:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:673:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:673:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:674:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:674:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:676:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:676:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:677:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:677:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:706:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:707:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_ddebug/dd_screen.c:550:14: danger: ‘dscreen’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:242:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:221:14: enter_function: entry to ‘noop_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:232:7: branch_false: following ‘false’ branch (when ‘transfer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:234:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:234:4: call_function: calling ‘pipe_resource_reference’ from ‘noop_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:234:4: return_function: returning to ‘noop_transfer_map’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:242:11: danger: dereference of NULL ‘resource’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def432]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:338:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:337:34: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:338:7: danger: ‘f’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:395:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:393:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_noop/noop_pipe.c:395:4: danger: ‘f’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_context.c:300:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_context.c:285:1: enter_function: entry to ‘trace_context_end_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_context.c:292:31: call_function: inlined call to ‘trace_query_unwrap’ from ‘trace_context_end_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_context.c:294:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_context.c:299:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_context.c:300:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_context.c:300:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:59:4: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_surf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:38:1: enter_function: entry to ‘trace_surf_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:44:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:49:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:49:14: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:50:7: branch_false: following ‘false’ branch (when ‘tr_surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:53:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:58:4: call_function: calling ‘pipe_resource_reference’ from ‘trace_surf_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:58:4: return_function: returning to ‘trace_surf_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:59:4: danger: ‘tr_surf’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:100:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_trans’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:79:1: enter_function: entry to ‘trace_transfer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:85:7: branch_false: following ‘false’ branch (when ‘transfer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:88:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:88:15: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:89:7: branch_false: following ‘false’ branch (when ‘tr_trans’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:92:38: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:97:4: call_function: calling ‘pipe_resource_reference’ from ‘trace_transfer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:97:4: return_function: returning to ‘trace_transfer_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:100:11: danger: ‘tr_trans’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def437]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:131:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tr_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:120:1: enter_function: entry to ‘trace_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:125:41: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:129:4: call_function: calling ‘pipe_resource_reference’ from ‘trace_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:129:4: return_function: returning to ‘trace_sampler_view_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:131:4: danger: ‘tr_view’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:132:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tr_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:120:1: enter_function: entry to ‘trace_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:125:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:129:4: call_function: calling ‘pipe_resource_reference’ from ‘trace_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:129:4: return_function: returning to ‘trace_sampler_view_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/driver_trace/tr_texture.c:132:11: danger: ‘tr_view’ leaks here; was allocated at [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:347:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:339:1: enter_function: entry to ‘gallivm_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:345:7: branch_true: following ‘true’ branch (when ‘gallivm’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:346:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:346:12: call_function: calling ‘init_gallivm_state’ from ‘gallivm_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:346:12: return_function: returning to ‘gallivm_create’ from ‘init_gallivm_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:346:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:347:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_init.c:347:10: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def440]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_intr.c:166:23: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_intr.c:355:1: enter_function: entry to ‘lp_build_intrinsic_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_intr.c:370:15: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_intr.c:371:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_intr.c:376:18: call_function: calling ‘lp_build_intrinsic’ from ‘lp_build_intrinsic_map’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def441]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:272:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘shuffles[<unknown>]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:867:1: enter_function: entry to ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:883:28: branch_true: following ‘true’ branch (when ‘chan != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:884:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:901:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:901:4: branch_true: following ‘true’ branch (when ‘variable’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:901:4: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:925:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:925:30: return_function: returning to ‘lp_build_nir_aos’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:926:4: call_function: calling ‘nir_next_decl_reg’ from ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:926:4: return_function: returning to ‘lp_build_nir_aos’ from ‘nir_next_decl_reg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:926:4: branch_false: following ‘false’ branch (when ‘reg’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:931:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:934:4: call_function: calling ‘visit_cf_list’ from ‘lp_build_nir_aos’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:933:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:867:1: enter_function: entry to ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:883:28: branch_true: following ‘true’ branch (when ‘chan != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:884:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:901:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:901:4: branch_true: following ‘true’ branch (when ‘variable’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:901:4: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:925:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:925:30: return_function: returning to ‘lp_build_nir_aos’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:926:4: call_function: calling ‘nir_next_decl_reg’ from ‘lp_build_nir_aos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:926:4: return_function: returning to ‘lp_build_nir_aos’ from ‘nir_next_decl_reg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:926:4: branch_false: following ‘false’ branch (when ‘reg’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:931:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c:933:26: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def443]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:227:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:883:1: enter_function: entry to ‘lp_build_resize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:914:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:922:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:922:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:926:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:926:19: call_function: calling ‘lp_build_pack’ from ‘lp_build_resize’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def444]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:241:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:883:1: enter_function: entry to ‘lp_build_resize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:914:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:922:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:922:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:926:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_pack.c:926:19: call_function: calling ‘lp_build_pack’ from ‘lp_build_resize’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def445]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:110:8: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:4981:1: enter_function: entry to ‘lp_build_image_op_array_case’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:4996:4: call_function: calling ‘lp_build_img_op_soa’ from ‘lp_build_image_op_array_case’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def446]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:111:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:4981:1: enter_function: entry to ‘lp_build_image_op_array_case’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:4996:4: call_function: calling ‘lp_build_img_op_soa’ from ‘lp_build_image_op_array_case’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def447]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:113:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:4981:1: enter_function: entry to ‘lp_build_image_op_array_case’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c:4996:4: call_function: calling ‘lp_build_img_op_soa’ from ‘lp_build_image_op_array_case’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def448]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:549:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:548:10: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:549:4: danger: ‘ctx’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def449]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:956:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1041:1: enter_function: entry to ‘emit_fetch_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1053:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1083:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1083:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1104:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1105:14: call_function: inlined call to ‘tgsi_type_is_64bit’ from ‘emit_fetch_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1106:91: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c:1106:19: call_function: calling ‘emit_fetch_64bit’ from ‘emit_fetch_input’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/hud/hud_sensors_temp.c:261:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sti’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/hud/hud_sensors_temp.c:329:1: enter_function: entry to ‘hud_get_num_sensors’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/hud/hud_sensors_temp.c:349:4: call_function: calling ‘build_sensor_list’ from ‘hud_get_num_sensors’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def451]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:110:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:250:6: enter_function: entry to ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:333:4: branch_false: following ‘false’ branch (when ‘variable’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:410:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:411:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:412:42: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:413:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:415:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:430:4: branch_false: following ‘false’ branch (when ‘variable’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:597:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:597:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:618:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: call_function: calling ‘__bitset_last_bit’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: return_function: returning to ‘nir_tgsi_scan_shader’ from ‘__bitset_last_bit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: call_function: calling ‘__bitset_last_bit’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: return_function: returning to ‘nir_tgsi_scan_shader’ from ‘__bitset_last_bit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: call_function: calling ‘__bitset_last_bit’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: return_function: returning to ‘nir_tgsi_scan_shader’ from ‘__bitset_last_bit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:634:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:638:7: call_function: inlined call to ‘exec_list_get_head_const’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:641:7: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:642:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:642:10: call_function: calling ‘scan_instruction’ from ‘nir_tgsi_scan_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def452]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:250:6: enter_function: entry to ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:333:4: branch_false: following ‘false’ branch (when ‘variable’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:410:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:411:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:412:42: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:413:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:415:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:430:4: branch_false: following ‘false’ branch (when ‘variable’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:597:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:597:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:618:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: call_function: calling ‘__bitset_last_bit’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:624:40: return_function: returning to ‘nir_tgsi_scan_shader’ from ‘__bitset_last_bit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: call_function: calling ‘__bitset_last_bit’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:625:45: return_function: returning to ‘nir_tgsi_scan_shader’ from ‘__bitset_last_bit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: call_function: calling ‘__bitset_last_bit’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:628:38: return_function: returning to ‘nir_tgsi_scan_shader’ from ‘__bitset_last_bit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:634:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:638:7: call_function: inlined call to ‘exec_list_get_head_const’ from ‘nir_tgsi_scan_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/nir_to_tgsi_info.c:640:4: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/tgsi_to_nir.c:2250:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘screen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/tgsi_to_nir.c:2692:1: enter_function: entry to ‘tgsi_to_nir_noscreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/nir/tgsi_to_nir.c:2698:8: call_function: calling ‘ttn_compile_init’ from ‘tgsi_to_nir_noscreen’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def454]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:103:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘driver_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:329:1: enter_function: entry to ‘pipe_loader_get_compatible_render_capable_device_fds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:358:9: call_function: calling ‘pipe_loader_drm_probe_fd’ from ‘pipe_loader_get_compatible_render_capable_device_fds’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def455]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:176:8: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*ddev.base.driver_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:329:1: enter_function: entry to ‘pipe_loader_get_compatible_render_capable_device_fds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:358:9: call_function: calling ‘pipe_loader_drm_probe_fd’ from ‘pipe_loader_get_compatible_render_capable_device_fds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:426:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘driconf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:396:1: enter_function: entry to ‘pipe_loader_drm_get_driconf_by_name’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:401:7: call_function: calling ‘get_driver_descriptor’ from ‘pipe_loader_drm_get_driconf_by_name’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:401:7: return_function: returning to ‘pipe_loader_drm_get_driconf_by_name’ from ‘get_driver_descriptor’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:418:17: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:424:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:425:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:425:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:426:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c:426:13: danger: ‘driconf + (long unsigned int)i * 128’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:227:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:207:1: enter_function: entry to ‘pipe_loader_sw_probe_dri’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:209:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:212:7: branch_false: following ‘false’ branch (when ‘sdev’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:215:9: call_function: inlined call to ‘pipe_loader_sw_probe_init_common’ from ‘pipe_loader_sw_probe_dri’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:224:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:227:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:227:4: danger: ‘sdev’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:257:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:237:1: enter_function: entry to ‘pipe_loader_vk_probe_dri’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:239:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:242:7: branch_false: following ‘false’ branch (when ‘sdev’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:245:9: call_function: inlined call to ‘pipe_loader_vk_probe_init_common’ from ‘pipe_loader_vk_probe_dri’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:254:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:257:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:257:4: danger: ‘sdev’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:293:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:270:1: enter_function: entry to ‘pipe_loader_sw_probe_kms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:272:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:275:7: branch_false: following ‘false’ branch (when ‘sdev’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:278:9: call_function: inlined call to ‘pipe_loader_sw_probe_init_common’ from ‘pipe_loader_sw_probe_kms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:281:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:284:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:285:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:290:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:293:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:293:4: danger: ‘sdev’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:326:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:306:1: enter_function: entry to ‘pipe_loader_sw_probe_null’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:308:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:311:7: branch_false: following ‘false’ branch (when ‘sdev’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:314:9: call_function: inlined call to ‘pipe_loader_sw_probe_init_common’ from ‘pipe_loader_sw_probe_null’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:317:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:318:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:323:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:326:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:326:4: danger: ‘sdev’ leaks here; was allocated at [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:371:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:350:1: enter_function: entry to ‘pipe_loader_sw_probe_wrapped’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:353:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:356:7: branch_false: following ‘false’ branch (when ‘sdev’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:359:9: call_function: inlined call to ‘pipe_loader_sw_probe_init_common’ from ‘pipe_loader_sw_probe_wrapped’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:362:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:363:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:368:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:371:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c:371:4: danger: ‘sdev’ leaks here; was allocated at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:220:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mm_buf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:175:1: enter_function: entry to ‘mm_bufmgr_create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:189:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:190:7: branch_false: following ‘false’ branch (when ‘mm_buf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:195:4: call_function: inlined call to ‘pipe_reference_init’ from ‘mm_bufmgr_create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:205:6: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:219:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c:220:11: danger: ‘mm_buf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:574:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:540:7: branch_false: following ‘false’ branch (when ‘provider’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:543:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:543:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:544:7: branch_false: following ‘false’ branch (when ‘mgr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:547:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:563:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:567:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:574:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c:574:11: danger: ‘mgr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def464]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:80:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘reg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:465:10: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:466:4: call_function: inlined call to ‘fill_scan_register1d’ from ‘iter_immediate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def465]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:91:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘reg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:392:1: enter_function: entry to ‘iter_declaration’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:409:9: call_function: inlined call to ‘check_file_name’ from ‘iter_declaration’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:411:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:411:32: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:414:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:437:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:438:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:439:48: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_sanity.c:439:13: call_function: inlined call to ‘fill_scan_register2d’ from ‘iter_declaration’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def466]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:186:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘is_mem_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:219:1: enter_function: entry to ‘scan_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:246:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:247:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:247:7: call_function: calling ‘scan_src_operand’ from ‘scan_instruction’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:247:7: return_function: returning to ‘scan_instruction’ from ‘scan_src_operand’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:251:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:252:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/tgsi/tgsi_scan.c:257:10: call_function: calling ‘scan_src_operand’ from ‘scan_instruction’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_generic.c:846:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_generic.c:784:35: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_generic.c:787:7: branch_false: following ‘false’ branch (when ‘tg’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_generic.c:792:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_generic.c:800:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_generic.c:844:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_generic.c:846:11: danger: ‘tg’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def468]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1420:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vb’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1507:1: enter_function: entry to ‘translate_sse2_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1512:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1515:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1515:8: call_function: calling ‘os_malloc_aligned’ from ‘translate_sse2_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1515:8: return_function: returning to ‘translate_sse2_create’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1516:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1519:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1529:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1569:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/translate/translate_sse.c:1569:9: call_function: calling ‘build_vertex_emit’ from ‘translate_sse2_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_buffer.c:647:30: enter_function: entry to ‘si_buffer_from_user_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_buffer.c:651:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_buffer.c:655:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_buffer.c:656:30: call_function: calling ‘si_alloc_buffer_struct’ from ‘si_buffer_from_user_memory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_bufmgr.c:396:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_bufmgr.c:401:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_bufmgr.c:401:14: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_bufmgr.c:402:9: call_function: inlined call to ‘pipe_reference_init’ from ‘vc4_bo_open_handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fence’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_fence.c:23:35: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_fence.c:25:4: call_function: inlined call to ‘pipe_reference_init’ from ‘i915_drm_fence_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘f’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:283:1: enter_function: entry to ‘lp_create_fence_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:289:7: branch_false: following ‘false’ branch (when ‘type == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:292:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:292:25: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:294:7: branch_false: following ‘false’ branch (when ‘fence’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:297:4: call_function: inlined call to ‘pipe_reference_init’ from ‘lp_create_fence_fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:451:44: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:452:4: call_function: inlined call to ‘pipe_reference_init’ from ‘llvmpipe_memobj_create_from_handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbuffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_buffer_common.c:537:19: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_buffer_common.c:541:9: call_function: inlined call to ‘pipe_reference_init’ from ‘r600_alloc_buffer_struct’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1336:9: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1346:9: call_function: inlined call to ‘pipe_reference_init’ from ‘r600_compute_global_buffer_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:723:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:724:7: branch_false: following ‘false’ branch (when ‘templ’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:726:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:727:4: call_function: inlined call to ‘pipe_reference_init’ from ‘virgl_resource_from_handle’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def477]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:175:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_resource.c:1034:1: enter_function: entry to ‘vc4_flush_resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_resource.c:1086:17: call_function: calling ‘pipe_resource_reference’ from ‘vc4_flush_resource’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def478]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:177:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_resource.c:1034:1: enter_function: entry to ‘vc4_flush_resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_resource.c:1086:17: call_function: calling ‘pipe_resource_reference’ from ‘vc4_flush_resource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:190:8: warning[-Wanalyzer-malloc-leak]: leak of ‘nv50_surface_from_miptree(pt, templ)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:496:1: enter_function: entry to ‘nv50_miptree_surface_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:501:30: call_function: calling ‘nv50_surface_from_miptree’ from ‘nv50_miptree_surface_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:501:30: return_function: returning to ‘nv50_miptree_surface_new’ from ‘nv50_surface_from_miptree’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:502:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:504:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:190:8: danger: ‘nv50_surface_from_miptree(pt, templ)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def480]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_inlines.h:347:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-25.1.0-rc2/redhat-linux-build/src/gallium/frontends/rusticl/rusticl_mesa_bindings.c:620:6: enter_function: entry to ‘pipe_surface_init__extern’
mesa-25.1.0-rc2/redhat-linux-build/src/gallium/frontends/rusticl/rusticl_mesa_bindings.c:620:151: call_function: inlined call to ‘pipe_surface_init’ from ‘pipe_surface_init__extern’
mesa-25.1.0-rc2/redhat-linux-build/src/gallium/frontends/rusticl/rusticl_mesa_bindings.c:620:151: call_function: inlined call to ‘pipe_surface_init’ from ‘pipe_surface_init__extern’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:177:4: warning[-Wanalyzer-malloc-leak]: leak of ‘new_entries’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:156:7: branch_false: following ‘false’ branch (when ‘page’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:163:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:163:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:164:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:168:10: branch_false: following ‘false’ branch (when ‘new_entries’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:171:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_log.c:177:4: danger: ‘new_entries’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def482]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_prim.h:107:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_cmdstream.c:3355:1: enter_function: entry to ‘panfrost_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_cmdstream.c:3374:7: call_function: calling ‘panfrost_multi_draw_direct’ from ‘panfrost_draw_vbo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_prim.h:215:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_context.c:149:1: enter_function: entry to ‘v3d_update_primitive_counters’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_context.c:152:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_context.c:159:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_context.c:162:12: branch_false: following ‘false’ branch (when ‘prims_before != prims_after’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_context.c:165:53: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_context.c:166:30: call_function: inlined call to ‘u_vertices_for_prims’ from ‘v3d_update_primitive_counters’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def484]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_range.h:66:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:20:1: enter_function: entry to ‘r600_create_so_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:30:12: branch_false: following ‘false’ branch (when ‘t’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:36:54: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:37:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:42:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:44:9: call_function: calling ‘pipe_resource_reference’ from ‘r600_create_so_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:44:9: return_function: returning to ‘r600_create_so_target’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_streamout.c:48:9: call_function: calling ‘util_range_add’ from ‘r600_create_so_target’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_range.h:77:1: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:764:1: enter_function: entry to ‘nouveau_user_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:769:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:770:7: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:773:4: call_function: inlined call to ‘pipe_reference_init’ from ‘nouveau_user_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:786:4: call_function: calling ‘util_range_add’ from ‘nouveau_user_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:786:4: return_function: returning to ‘nouveau_user_buffer_create’ from ‘util_range_add’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_range.h:77:1: danger: ‘buffer’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def486]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_transfer_helper.c:581:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘helper’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_transfer_helper.c:579:39: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/util/u_transfer_helper.c:581:4: danger: ‘helper’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def487]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:116:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_array’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:76:1: enter_function: entry to ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:84:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:90:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:101:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:102:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:107:13: call_function: inlined call to ‘ureg_DECL_fs_input’ from ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:115:16: branch_true: following ‘true’ branch (when ‘i < num_offsets’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:116:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:116:20: danger: ‘t_array + (long unsigned int)i * 16’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def488]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:149:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_array’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:76:1: enter_function: entry to ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:84:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:90:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:101:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:102:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:107:13: call_function: inlined call to ‘ureg_DECL_fs_input’ from ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:115:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:117:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:125:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:134:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:140:16: branch_true: following ‘true’ branch (when ‘i <= median’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:141:19: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_true: following ‘true’ branch (when ‘i == median’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:149:78: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:149:10: danger: ‘t_array + (long unsigned int)(j + 4294967295) * 16’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def489]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:149:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:76:1: enter_function: entry to ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:90:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:101:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:102:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:107:13: call_function: inlined call to ‘ureg_DECL_fs_input’ from ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:115:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:117:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:125:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:134:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:140:16: branch_true: following ‘true’ branch (when ‘i <= median’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:141:19: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_true: following ‘true’ branch (when ‘i == median’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:149:78: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:149:10: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:151:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_array’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:76:1: enter_function: entry to ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:84:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:90:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:101:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:102:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:107:13: call_function: inlined call to ‘ureg_DECL_fs_input’ from ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:115:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:117:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:125:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:134:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:140:16: branch_true: following ‘true’ branch (when ‘i <= median’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:141:19: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_false: following ‘false’ branch (when ‘i != median’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:151:82: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:151:10: danger: ‘t_array + (long unsigned int)(j + 4294967295) * 16’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def491]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:151:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:76:1: enter_function: entry to ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:90:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:95:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:101:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:102:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:107:13: call_function: inlined call to ‘ureg_DECL_fs_input’ from ‘create_frag_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:115:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:117:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:125:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:134:16: branch_false: following ‘false’ branch (when ‘i >= num_offsets’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:140:16: branch_true: following ‘true’ branch (when ‘i <= median’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:141:19: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:148:10: branch_false: following ‘false’ branch (when ‘i != median’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:151:82: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_median_filter.c:151:10: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def492]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:773:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:750:1: enter_function: entry to ‘vl_mpeg12_end_frame’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:769:10: call_function: calling ‘vl_mpeg12_get_decode_buffer’ from ‘vl_mpeg12_end_frame’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:769:10: return_function: returning to ‘vl_mpeg12_end_frame’ from ‘vl_mpeg12_get_decode_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:773:8: danger: dereference of NULL ‘vl_mpeg12_get_decode_buffer(decoder, target)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:509:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:486:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:487:7: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:490:44: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:500:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:501:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:500:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:501:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:500:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:501:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:500:16: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:504:11: branch_false: following ‘false’ branch (when ‘i == 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:509:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_video_buffer.c:509:11: danger: ‘buffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:225:11: warning[-Wanalyzer-malloc-leak]: leak of ‘scrn’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:166:1: enter_function: entry to ‘vl_kopper_screen_create_x11’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:170:36: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:171:7: branch_false: following ‘false’ branch (when ‘scrn’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:174:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:228:4: call_function: calling ‘vl_kopper_screen_destroy’ from ‘vl_kopper_screen_create_x11’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:228:4: return_function: returning to ‘vl_kopper_screen_create_x11’ from ‘vl_kopper_screen_destroy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_winsys_kopper.c:225:11: danger: ‘scrn’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def495]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:82:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘o_vtex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:380:1: enter_function: entry to ‘vl_zscan_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:394:8: call_function: calling ‘init_shaders’ from ‘vl_zscan_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def496]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:148:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vtex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:380:1: enter_function: entry to ‘vl_zscan_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:394:8: call_function: calling ‘init_shaders’ from ‘vl_zscan_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def497]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:155:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:380:1: enter_function: entry to ‘vl_zscan_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:394:8: call_function: calling ‘init_shaders’ from ‘vl_zscan_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:166:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vtex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:380:1: enter_function: entry to ‘vl_zscan_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:394:8: call_function: calling ‘init_shaders’ from ‘vl_zscan_init’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def499]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:166:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:380:1: enter_function: entry to ‘vl_zscan_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:394:8: call_function: calling ‘init_shaders’ from ‘vl_zscan_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def500]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:177:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:380:1: enter_function: entry to ‘vl_zscan_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:394:8: call_function: calling ‘init_shaders’ from ‘vl_zscan_init’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def501]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:177:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*tmp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:380:1: enter_function: entry to ‘vl_zscan_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_zscan.c:394:8: call_function: calling ‘init_shaders’ from ‘vl_zscan_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def502]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:618:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:643:1: enter_function: entry to ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:657:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch (when ‘__foo’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:703:27: call_function: inlined call to ‘agx_lookup_bo’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:724:10: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:724:10: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def503]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:727:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shared_bos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:643:1: enter_function: entry to ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:658:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch (when ‘__foo’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:703:27: call_function: inlined call to ‘agx_lookup_bo’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:724:10: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:727:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:727:10: danger: ‘shared_bos + (long unsigned int)shared_bo_count * 8’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def504]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:743:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shared_bos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:643:1: enter_function: entry to ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:658:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch (when ‘__foo’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:703:27: call_function: inlined call to ‘agx_lookup_bo’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:705:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:735:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:742:13: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:743:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:743:13: danger: ‘shared_bos + (long unsigned int)shared_bo_count * 8’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def505]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:778:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘syncs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:643:1: enter_function: entry to ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:657:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch (when ‘__foo’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_false: following ‘false’ branch (when ‘__foo’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:748:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: call_function: calling ‘agx_get_in_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: return_function: returning to ‘agx_batch_submit’ from ‘agx_get_in_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:4: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_true: following ‘true’ branch (when ‘wait_seqid != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:776:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:778:7: danger: ‘syncs + (long unsigned int)in_sync_count * 16’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def506]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:806:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_syncs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:643:1: enter_function: entry to ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:657:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch (when ‘__foo’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_false: following ‘false’ branch (when ‘__foo’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:748:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: call_function: calling ‘agx_get_in_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: return_function: returning to ‘agx_batch_submit’ from ‘agx_get_in_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:4: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_false: following ‘false’ branch (when ‘wait_seqid == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:804:45: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:806:4: danger: ‘out_syncs’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def507]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:643:1: enter_function: entry to ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch (when ‘__foo’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_false: following ‘false’ branch (when ‘__foo’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:748:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: call_function: calling ‘agx_get_in_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: return_function: returning to ‘agx_batch_submit’ from ‘agx_get_in_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:4: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_false: following ‘false’ branch (when ‘wait_seqid == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:804:45: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:819:4: call_function: inlined call to ‘util_dynarray_init’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:821:7: branch_true: following ‘true’ branch (when ‘compute’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: return_function: returning to ‘agx_batch_submit’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&cmdbuf, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def508]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:826:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:643:1: enter_function: entry to ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_true: following ‘true’ branch (when ‘__foo’ is non-NULL)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:702:4: branch_false: following ‘false’ branch (when ‘__foo’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:748:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: call_function: calling ‘agx_get_in_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:40: return_function: returning to ‘agx_batch_submit’ from ‘agx_get_in_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:772:4: call_function: inlined call to ‘agx_add_sync’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:775:7: branch_false: following ‘false’ branch (when ‘wait_seqid == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:804:45: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:819:4: call_function: inlined call to ‘util_dynarray_init’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:821:7: branch_true: following ‘true’ branch (when ‘compute’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:825:7: return_function: returning to ‘agx_batch_submit’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:826:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘agx_batch_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:826:7: return_function: returning to ‘agx_batch_submit’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_batch.c:826:7: danger: argument 1 (‘util_dynarray_grow_bytes(&cmdbuf, 1, 64)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def509]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_disk_cache.c:95:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘binary’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_disk_cache.c:94:41: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_disk_cache.c:95:4: danger: ‘binary’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def510]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_bindings.c:148:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_bindings.c:158:1: enter_function: entry to ‘agx_nir_lower_bindings’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_bindings.c:169:16: call_function: calling ‘nir_shader_instructions_pass’ from ‘agx_nir_lower_bindings’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def511]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_sysvals.c:305:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_sysvals.c:281:1: enter_function: entry to ‘record_loads’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_sysvals.c:305:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘record_loads’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_sysvals.c:305:4: return_function: returning to ‘record_loads’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_nir_lower_sysvals.c:305:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct state *)data.loads, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def512]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:987:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘transfer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:903:1: enter_function: entry to ‘agx_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:926:4: call_function: calling ‘agx_prepare_for_map’ from ‘agx_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:926:4: return_function: returning to ‘agx_transfer_map’ from ‘agx_prepare_for_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:939:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:944:4: call_function: calling ‘pipe_resource_reference’ from ‘agx_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:944:4: return_function: returning to ‘agx_transfer_map’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:947:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:977:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:977:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:982:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:987:7: danger: ‘transfer’ could be NULL: unchecked value from [(35)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:1000:14: warning[-Wanalyzer-malloc-leak]: leak of ‘transfer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:903:1: enter_function: entry to ‘agx_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:926:4: call_function: calling ‘agx_prepare_for_map’ from ‘agx_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:926:4: return_function: returning to ‘agx_transfer_map’ from ‘agx_prepare_for_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:939:36: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:944:4: call_function: calling ‘pipe_resource_reference’ from ‘agx_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:944:4: return_function: returning to ‘agx_transfer_map’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:947:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:977:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:977:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:982:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_pipe.c:1000:14: danger: ‘transfer’ leaks here; was allocated at [(35)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def514]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:149:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:147:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:149:4: danger: ‘query’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:552:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:548:1: enter_function: entry to ‘agx_batch_add_timestamp_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:550:7: branch_true: following ‘true’ branch (when ‘q’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:551:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:552:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘agx_batch_add_timestamp_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:552:7: return_function: returning to ‘agx_batch_add_timestamp_query’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_query.c:552:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*batch.timestamps, 1, 16)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def516]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:1516:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘compiled’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2155:1: enter_function: entry to ‘asahi_fast_link’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2166:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2175:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2175:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2181:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2180:16: call_function: calling ‘agx_build_meta_shader_internal’ from ‘asahi_fast_link’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def517]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:99:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:535:1: enter_function: entry to ‘crocus_fence_signal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:542:25: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:543:28: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:544:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:547:14: call_function: inlined call to ‘crocus_fine_fence_signaled’ from ‘crocus_fence_signal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:551:10: call_function: calling ‘crocus_batch_add_syncobj’ from ‘crocus_fence_signal’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def518]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:107:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:535:1: enter_function: entry to ‘crocus_fence_signal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:542:25: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:543:28: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:544:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:547:14: call_function: inlined call to ‘crocus_fine_fence_signaled’ from ‘crocus_fence_signal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_fence.c:551:10: call_function: calling ‘crocus_batch_add_syncobj’ from ‘crocus_fence_signal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_performance_query.c:104:11: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_performance_query.c:94:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_performance_query.c:97:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_performance_query.c:97:34: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_performance_query.c:98:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_performance_query.c:103:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_performance_query.c:104:11: danger: ‘q’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def520]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:267:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:281:1: enter_function: entry to ‘crocus_lower_storage_image_derefs_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:294:32: call_function: inlined call to ‘nir_src_as_deref’ from ‘crocus_lower_storage_image_derefs_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:295:27: call_function: calling ‘nir_deref_instr_get_variable’ from ‘crocus_lower_storage_image_derefs_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:295:27: return_function: returning to ‘crocus_lower_storage_image_derefs_instr’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:299:10: call_function: calling ‘get_aoa_deref_offset’ from ‘crocus_lower_storage_image_derefs_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def521]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:2895:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crocus_create_uncompiled_shader(ctx, *state.prog, 0)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:2885:1: enter_function: entry to ‘crocus_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:2893:7: call_function: calling ‘crocus_create_uncompiled_shader’ from ‘crocus_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:2893:7: return_function: returning to ‘crocus_create_compute_state’ from ‘crocus_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_program.c:2895:4: danger: dereference of NULL ‘crocus_create_uncompiled_shader(ctx, *state.prog, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_query.c:475:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘q’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_query.c:473:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_query.c:475:4: danger: ‘q’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_resource.c:1910:11: warning[-Wanalyzer-malloc-leak]: leak of ‘memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_resource.c:1869:42: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_resource.c:1873:7: branch_false: following ‘false’ branch (when ‘memobj’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_resource.c:1876:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_resource.c:1900:7: branch_false: following ‘false’ branch (when ‘bo’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_resource.c:1905:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_resource.c:1910:11: danger: ‘memobj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def524]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:5481:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:5851:1: enter_function: entry to ‘crocus_upload_dirty_render_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6258:24: branch_true: following ‘true’ branch (when ‘stage != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6259:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6258:24: branch_false: following ‘false’ branch (when ‘stage == 5’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6282:24: branch_true: following ‘true’ branch (when ‘stage != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6283:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6282:24: branch_true: following ‘true’ branch (when ‘stage != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6283:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6283:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6284:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6284:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6301:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6301:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6303:13: call_function: calling ‘crocus_populate_binding_table’ from ‘crocus_upload_dirty_render_state’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def525]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6068:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_cfg.size[3]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6028:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6046:50: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6051:40: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6052:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6051:40: branch_false: following ‘false’ branch (when ‘i == 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6066:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6066:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6067:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6066:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6068:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6068:29: danger: use of uninitialized value ‘urb_cfg.size[3]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def526]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6078:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_cfg.size[3]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6028:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6046:50: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6051:40: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6052:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6051:40: branch_false: following ‘false’ branch (when ‘i == 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6066:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/crocus/crocus_state.c:6078:27: danger: use of uninitialized value ‘urb_cfg.size[3]’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def527]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1309:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1172:1: enter_function: entry to ‘etna_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1174:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1177:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1178:7: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1181:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1204:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1212:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1227:7: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘etna_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1309:23: call_function: calling ‘nir_shader_get_entrypoint’ from ‘etna_compile_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1309:23: return_function: returning to ‘etna_compile_shader’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c:1309:23: danger: dereference of NULL ‘nir_shader_get_entrypoint(nir_shader_clone(0, *v_128(D)->shader.nir))’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def528]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:139:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:116:1: enter_function: entry to ‘etna_ra_assign’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:121:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘etna_ra_assign’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:121:30: return_function: returning to ‘etna_ra_assign’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘etna_ra_assign’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: return_function: returning to ‘etna_ra_assign’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:128:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:139:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c:139:13: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def529]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:103:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:77:1: enter_function: entry to ‘etna_etc2_calculate_blocks’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:98:25: branch_true: following ‘true’ branch (when ‘y < height’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:101:28: branch_true: following ‘true’ branch (when ‘x < width’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:102:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:102:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:103:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:103:13: call_function: calling ‘util_dynarray_grow_bytes’ from ‘etna_etc2_calculate_blocks’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:103:13: return_function: returning to ‘etna_etc2_calculate_blocks’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_etc2.c:103:13: danger: dereference of NULL ‘util_dynarray_grow_bytes(offsets, 1, 4)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def530]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:331:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘operation’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:520:1: enter_function: entry to ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:530:7: branch_false: following ‘false’ branch (when ‘nn_core_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:535:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:544:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:544:9: return_function: returning to ‘etna_ml_subgraph_create’ from ‘util_dynarray_resize_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:544:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:546:55: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:549:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:549:9: return_function: returning to ‘etna_ml_subgraph_create’ from ‘util_dynarray_resize_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:549:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:551:55: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:554:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:554:9: return_function: returning to ‘etna_ml_subgraph_create’ from ‘util_dynarray_resize_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:554:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:556:53: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:558:4: call_function: calling ‘lower_operations’ from ‘etna_ml_subgraph_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def531]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:372:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘operation’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:520:1: enter_function: entry to ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:530:7: branch_false: following ‘false’ branch (when ‘nn_core_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:535:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:544:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:544:9: return_function: returning to ‘etna_ml_subgraph_create’ from ‘util_dynarray_resize_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:544:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:546:55: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:549:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:549:9: return_function: returning to ‘etna_ml_subgraph_create’ from ‘util_dynarray_resize_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:549:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:551:55: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:554:9: call_function: calling ‘util_dynarray_resize_bytes’ from ‘etna_ml_subgraph_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:554:9: return_function: returning to ‘etna_ml_subgraph_create’ from ‘util_dynarray_resize_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:554:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:556:53: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:558:4: call_function: calling ‘lower_operations’ from ‘etna_ml_subgraph_create’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def532]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:598:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(&buffer, "wb")’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:596:14: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:598:4: danger: argument 4 (‘fopen(&buffer, "wb")’) from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:452:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:439:1: enter_function: entry to ‘etna_pm_query_setup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:443:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:446:25: branch_true: following ‘true’ branch (when ‘i != 47’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:449:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:449:12: call_function: inlined call to ‘etna_pm_cfg_supported’ from ‘etna_pm_query_setup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:449:12: call_function: inlined call to ‘etna_pm_cfg_supported’ from ‘etna_pm_query_setup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:449:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:452:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:452:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘etna_pm_query_setup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:452:7: return_function: returning to ‘etna_pm_query_setup’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_perfmon.c:452:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*screen.supported_pm_queries, 1, 4)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:121:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:108:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:111:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:111:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:114:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:114:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:115:7: branch_false: following ‘false’ branch (when ‘pq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:118:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c:121:11: danger: ‘pq’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_sw.c:117:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_sw.c:111:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_sw.c:112:7: branch_false: following ‘false’ branch (when ‘sq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_sw.c:115:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_query_sw.c:117:4: danger: ‘sq’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def536]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:178:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:83:1: enter_function: entry to ‘etna_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:92:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:94:7: branch_false: following ‘false’ branch (when ‘surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:100:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:103:4: call_function: calling ‘pipe_resource_reference’ from ‘etna_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:103:4: return_function: returning to ‘etna_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:104:4: call_function: calling ‘pipe_resource_reference’ from ‘etna_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:104:4: return_function: returning to ‘etna_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_surface.c:178:11: danger: ‘surf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def537]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_program.c:61:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_program.c:49:1: enter_function: entry to ‘emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_program.c:60:7: branch_true: following ‘true’ branch (when ‘patches’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_program.c:61:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_program.c:61:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_program.c:61:7: return_function: returning to ‘emit’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_program.c:61:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(patches, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def538]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_query.c:157:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_query.c:154:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_query.c:157:4: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def539]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:136:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:339:1: enter_function: entry to ‘assemble’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:372:27: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:373:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:376:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:395:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:395:7: call_function: calling ‘fill_instr’ from ‘assemble’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def540]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:170:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[i]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:83:1: enter_function: entry to ‘cp_export’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:90:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:90:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:90:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:90:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:90:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:91:12: call_function: inlined call to ‘is_export’ from ‘cp_export’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:94:12: call_function: calling ‘is_mov’ from ‘cp_export’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:94:12: return_function: returning to ‘cp_export’ from ‘is_mov’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:94:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:99:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:99:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:102:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:105:13: call_function: inlined call to ‘get_reg_src’ from ‘cp_export’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:106:15: call_function: calling ‘dst_ncomp’ from ‘cp_export’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:106:15: return_function: returning to ‘cp_export’ from ‘dst_ncomp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:127:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:127:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:127:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:127:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:127:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:128:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:128:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:128:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:162:13: branch_true: following ‘true’ branch (when ‘ok != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:169:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:169:23: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:170:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_cp.c:170:23: danger: use of uninitialized value ‘c[i]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def541]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:153:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1117:1: enter_function: entry to ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1125:7: branch_false: following ‘false’ branch (when ‘binning == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1128:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1134:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1136:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1164:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1164:4: branch_false: following ‘false’ branch (when ‘in’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1167:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1167:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1169:21: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1175:7: call_function: calling ‘update_range’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1175:7: return_function: returning to ‘ir2_nir_compile’ from ‘update_range’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1184:29: call_function: calling ‘nir_shader_get_entrypoint’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1184:29: return_function: returning to ‘ir2_nir_compile’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: call_function: calling ‘nir_next_decl_reg’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: return_function: returning to ‘ir2_nir_compile’ from ‘nir_next_decl_reg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: branch_false: following ‘false’ branch (when ‘decl’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1192:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1193:4: call_function: calling ‘emit_cf_list’ from ‘ir2_nir_compile’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def542]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:159:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1117:1: enter_function: entry to ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1125:7: branch_false: following ‘false’ branch (when ‘binning == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1128:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1134:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1136:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1164:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1164:4: branch_false: following ‘false’ branch (when ‘in’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1167:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1167:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1169:21: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1175:7: call_function: calling ‘update_range’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1175:7: return_function: returning to ‘ir2_nir_compile’ from ‘update_range’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1184:29: call_function: calling ‘nir_shader_get_entrypoint’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1184:29: return_function: returning to ‘ir2_nir_compile’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: call_function: calling ‘nir_next_decl_reg’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: return_function: returning to ‘ir2_nir_compile’ from ‘nir_next_decl_reg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: branch_false: following ‘false’ branch (when ‘decl’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1192:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1193:4: call_function: calling ‘emit_cf_list’ from ‘ir2_nir_compile’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def543]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:178:52: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1117:1: enter_function: entry to ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1125:7: branch_false: following ‘false’ branch (when ‘binning == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1128:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1134:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1136:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1164:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1164:4: branch_false: following ‘false’ branch (when ‘in’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1167:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1167:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1169:21: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1174:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1175:7: call_function: calling ‘update_range’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1175:7: return_function: returning to ‘ir2_nir_compile’ from ‘update_range’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1184:29: call_function: calling ‘nir_shader_get_entrypoint’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1184:29: return_function: returning to ‘ir2_nir_compile’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: call_function: calling ‘nir_next_decl_reg’ from ‘ir2_nir_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: return_function: returning to ‘ir2_nir_compile’ from ‘nir_next_decl_reg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1186:4: branch_false: following ‘false’ branch (when ‘decl’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1192:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_nir.c:1193:4: call_function: calling ‘emit_cf_list’ from ‘ir2_nir_compile’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def544]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:193:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:179:1: enter_function: entry to ‘ra_src_free’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:184:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:185:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:185:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:188:13: call_function: inlined call to ‘get_reg_src’ from ‘ra_src_free’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:191:23: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:192:37: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:193:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:193:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/ir2_ra.c:193:36: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def545]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:113:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:987:1: enter_function: entry to ‘fd3_emit_tile_renderprep’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:1023:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:1043:7: call_function: inlined call to ‘OUT_PKT0’ from ‘fd3_emit_tile_renderprep’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_gmem.c:1052:4: call_function: calling ‘emit_mrt’ from ‘fd3_emit_tile_renderprep’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def546]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_program.c:448:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_program.c:444:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_program.c:448:4: danger: ‘state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_program.c:452:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_program.c:444:38: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_program.c:452:11: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def548]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:195:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:131:1: enter_function: entry to ‘fd3_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:134:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:138:7: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:141:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:142:4: call_function: inlined call to ‘pipe_reference’ from ‘fd3_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:142:4: call_function: inlined call to ‘pipe_reference’ from ‘fd3_sampler_view_create’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:148:20: call_function: inlined call to ‘A3XX_TEX_CONST_0_TYPE’ from ‘fd3_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:158:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:167:13: call_function: inlined call to ‘fd_sampler_first_level’ from ‘fd3_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:168:19: call_function: inlined call to ‘fd_sampler_last_level’ from ‘fd3_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:168:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_texture.c:195:11: danger: ‘so’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def549]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:116:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:522:1: enter_function: entry to ‘fd4_emit_sysmem_prep’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_gmem.c:533:4: call_function: calling ‘emit_mrt’ from ‘fd4_emit_sysmem_prep’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def550]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:111:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘s[1].instrlen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:136:1: enter_function: entry to ‘fd4_program_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:152:4: call_function: calling ‘setup_stages’ from ‘fd4_program_emit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def551]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:576:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:572:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:576:4: danger: ‘state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def552]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:580:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:572:38: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_program.c:580:11: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def553]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:212:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:118:1: enter_function: entry to ‘fd4_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:121:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:126:7: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:129:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:135:4: call_function: inlined call to ‘pipe_reference’ from ‘fd4_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:135:4: call_function: inlined call to ‘pipe_reference’ from ‘fd4_sampler_view_create’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:143:20: call_function: inlined call to ‘A4XX_TEX_CONST_0_TYPE’ from ‘fd4_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:153:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:154:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a4xx/fd4_texture.c:212:11: danger: ‘so’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def554]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:95:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:699:1: enter_function: entry to ‘fd5_emit_sysmem_prep’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:706:4: call_function: calling ‘fd5_emit_lrz_flush’ from ‘fd5_emit_sysmem_prep’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:706:4: return_function: returning to ‘fd5_emit_sysmem_prep’ from ‘fd5_emit_lrz_flush’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:714:4: call_function: calling ‘fd5_event_write’ from ‘fd5_emit_sysmem_prep’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:714:4: return_function: returning to ‘fd5_emit_sysmem_prep’ from ‘fd5_event_write’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:732:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:737:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_gmem.c:761:4: call_function: calling ‘emit_mrt’ from ‘fd5_emit_sysmem_prep’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def555]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:208:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘s[1].instrlen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:243:1: enter_function: entry to ‘fd5_program_emit’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:256:4: call_function: calling ‘setup_stages’ from ‘fd5_program_emit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def556]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:746:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:742:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:746:4: danger: ‘state’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def557]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:750:11: warning[-Wanalyzer-malloc-leak]: leak of ‘state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:742:38: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_program.c:750:11: danger: ‘state’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def558]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_query.c:372:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_query.c:369:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_query.c:372:4: danger: ‘data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:209:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:111:1: enter_function: entry to ‘fd5_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:114:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:119:7: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:122:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:128:4: call_function: inlined call to ‘pipe_reference’ from ‘fd5_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:128:4: call_function: inlined call to ‘pipe_reference’ from ‘fd5_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:155:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:156:27: branch_true: ...to here
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:178:21: call_function: inlined call to ‘A5XX_TEX_CONST_2_TYPE’ from ‘fd5_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a5xx/fd5_texture.c:209:11: danger: ‘so’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def560]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:257:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:446:1: enter_function: entry to ‘fd_batch_add_dep’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:458:21: release_memory: ‘other’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:459:4: call_function: calling ‘fd_batch_reference_locked’ from ‘fd_batch_add_dep’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def561]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:316:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:597:1: enter_function: entry to ‘fd_batch_check_size’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:599:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:600:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch.c:600:7: call_function: calling ‘fd_batch_flush’ from ‘fd_batch_check_size’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def562]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch_cache.c:563:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘key’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch_cache.c:557:1: enter_function: entry to ‘fd_batch_from_fb’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch_cache.c:561:31: call_function: inlined call to ‘key_alloc’ from ‘fd_batch_from_fb’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_batch_cache.c:563:4: danger: ‘key’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def563]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_context.c:232:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘string’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_context.c:229:27: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_context.c:232:4: danger: ‘string’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def564]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_draw.h:73:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_draw.c:153:1: enter_function: entry to ‘fd3_draw_vbos’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_draw.c:161:25: branch_true: following ‘true’ branch (when ‘i < num_draws’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_draw.c:162:62: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a3xx/fd3_draw.c:162:7: call_function: calling ‘fd3_draw_vbo’ from ‘fd3_draw_vbos’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def565]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_fence.c:382:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fence_create(pctx, 0, -1, 0)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_fence.c:377:1: enter_function: entry to ‘fd_pipe_fence_create_unflushed’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_fence.c:381:7: call_function: calling ‘fence_create’ from ‘fd_pipe_fence_create_unflushed’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_fence.c:381:7: return_function: returning to ‘fd_pipe_fence_create_unflushed’ from ‘fence_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_fence.c:382:4: danger: dereference of NULL ‘fence_create(pctx, 0, -1, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def566]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query.c:238:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘info’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query.c:228:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query.c:232:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query.c:233:44: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query.c:234:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query.c:235:73: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query.c:238:10: danger: ‘info’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_acc.c:267:4: warning[-Wanalyzer-malloc-leak]: leak of ‘aq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_acc.c:253:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_acc.c:254:7: branch_false: following ‘false’ branch (when ‘aq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_acc.c:257:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_acc.c:257:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_acc.c:259:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_acc.c:267:4: danger: ‘aq’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def568]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:37:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:338:1: enter_function: entry to ‘fd_hw_query_update_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:344:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:345:28: call_function: inlined call to ‘query_active_in_batch’ from ‘fd_hw_query_update_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:349:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:351:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:351:18: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:352:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_hw.c:352:13: call_function: calling ‘pause_query’ from ‘fd_hw_query_update_batch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_sw.c:182:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_sw.c:176:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_sw.c:177:7: branch_false: following ‘false’ branch (when ‘sq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_sw.c:180:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_query_sw.c:182:4: danger: ‘sq’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_resource.c:1750:11: warning[-Wanalyzer-malloc-leak]: leak of ‘memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_resource.c:1737:38: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_resource.c:1738:7: branch_false: following ‘false’ branch (when ‘memobj’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_resource.c:1741:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_resource.c:1742:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_resource.c:1747:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_resource.c:1750:11: danger: ‘memobj’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:638:11: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:613:1: enter_function: entry to ‘fd_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:620:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:621:7: branch_false: following ‘false’ branch (when ‘target’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:624:4: call_function: inlined call to ‘pipe_reference_init’ from ‘fd_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:625:4: call_function: calling ‘pipe_resource_reference’ from ‘fd_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:625:4: return_function: returning to ‘fd_create_stream_output_target’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_state.c:638:11: danger: ‘target’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def572]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:35:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:17:1: enter_function: entry to ‘fd_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:22:7: branch_false: following ‘false’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:26:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:29:4: call_function: calling ‘pipe_resource_reference’ from ‘fd_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:29:4: return_function: returning to ‘fd_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:35:8: danger: dereference of NULL ‘ptex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:44:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:17:1: enter_function: entry to ‘fd_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:20:33: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:22:7: branch_false: following ‘false’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:26:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:29:4: call_function: calling ‘pipe_resource_reference’ from ‘fd_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:29:4: return_function: returning to ‘fd_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_surface.c:44:11: danger: ‘surface’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def574]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/freedreno_util.h:326:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_draw.c:537:1: enter_function: entry to ‘fd2_clear’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/a2xx/fd2_draw.c:544:8: call_function: calling ‘fd2_clear_fast’ from ‘fd2_clear’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def575]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:117:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shaders[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:71:1: enter_function: entry to ‘ir3_cache_lookup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:74:20: call_function: inlined call to ‘key_hash’ from ‘ir3_cache_lookup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:74:20: call_function: inlined call to ‘key_hash’ from ‘ir3_cache_lookup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:78:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:82:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:105:53: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:107:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:107:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:113:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:113:10: release_memory: ‘shaders[(int)stage]’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:105:53: branch_true: following ‘true’ branch (when ‘stage != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:107:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:107:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:109:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:110:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:106:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:105:53: branch_false: following ‘false’ branch (when ‘stage == 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:117:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_cache.c:117:25: danger: dereference of NULL ‘ir3_get_shader(*key.vs)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def576]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_gallium.c:308:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hwcso’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_gallium.c:305:37: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/freedreno/ir3/ir3_gallium.c:308:4: danger: ‘hwcso’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def577]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:139:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c[i]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:176:1: enter_function: entry to ‘i915_emit_texld’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:199:14: call_function: calling ‘i915_get_temp’ from ‘i915_emit_texld’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:199:14: return_function: returning to ‘i915_emit_texld’ from ‘i915_get_temp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:202:7: call_function: calling ‘i915_emit_arith’ from ‘i915_emit_texld’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:202:7: return_function: returning to ‘i915_emit_texld’ from ‘i915_emit_arith’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:213:7: branch_true: following ‘true’ branch (when ‘destmask != 15360’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:215:22: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:215:22: call_function: calling ‘i915_get_utemp’ from ‘i915_emit_texld’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:215:22: return_function: returning to ‘i915_emit_texld’ from ‘i915_get_utemp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_emit.c:216:7: call_function: calling ‘i915_emit_texld’ from ‘i915_emit_texld’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def578]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:254:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘o’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:620:1: enter_function: entry to ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:641:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:645:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:647:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: call_function: calling ‘copy_token’ from ‘i915_optimize’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def579]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:278:8: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:620:1: enter_function: entry to ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:645:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:647:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: call_function: calling ‘copy_token’ from ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: return_function: returning to ‘i915_optimize’ from ‘copy_token’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:656:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:658:4: call_function: calling ‘liveness_analysis’ from ‘i915_optimize’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def580]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:279:23: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:620:1: enter_function: entry to ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:645:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:647:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: call_function: calling ‘copy_token’ from ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: return_function: returning to ‘i915_optimize’ from ‘copy_token’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:656:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:658:4: call_function: calling ‘liveness_analysis’ from ‘i915_optimize’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def581]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:328:11: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:620:1: enter_function: entry to ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:645:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:647:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: call_function: calling ‘copy_token’ from ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: return_function: returning to ‘i915_optimize’ from ‘copy_token’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:656:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:658:4: call_function: calling ‘liveness_analysis’ from ‘i915_optimize’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def582]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:331:16: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:620:1: enter_function: entry to ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:645:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:647:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: call_function: calling ‘copy_token’ from ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: return_function: returning to ‘i915_optimize’ from ‘copy_token’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:656:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:658:4: call_function: calling ‘liveness_analysis’ from ‘i915_optimize’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def583]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:597:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((unsigned char*)&*next.Token)[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:620:1: enter_function: entry to ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:645:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:647:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: call_function: calling ‘copy_token’ from ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:652:7: return_function: returning to ‘i915_optimize’ from ‘copy_token’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:644:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:656:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:658:4: call_function: calling ‘liveness_analysis’ from ‘i915_optimize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:658:4: return_function: returning to ‘i915_optimize’ from ‘liveness_analysis’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:661:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:662:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:662:7: call_function: calling ‘i915_fpc_optimize_useless_mov_after_inst’ from ‘i915_optimize’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def584]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:629:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out_tokens’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:622:41: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_optimize.c:629:4: danger: ‘out_tokens’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:92:7: warning[-Wanalyzer-malloc-leak]: leak of ‘*fs.program’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:982:1: enter_function: entry to ‘i915_fini_compile’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1016:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1017:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1017:7: call_function: calling ‘i915_use_passthrough_shader’ from ‘i915_fini_compile’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def586]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:941:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘p’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:938:32: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:941:4: danger: ‘p’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1030:14: warning[-Wanalyzer-malloc-leak]: leak of ‘*ifs.program’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1016:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1020:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1027:34: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_fpc_translate.c:1030:14: danger: ‘*ifs.program’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def588]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_emit.c:200:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘setup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_emit.c:198:32: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_emit.c:200:4: danger: ‘setup’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_emit.c:209:11: warning[-Wanalyzer-malloc-leak]: leak of ‘setup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_emit.c:198:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_emit.c:209:11: danger: ‘setup’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def590]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_vbuf.c:651:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘i915_render’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_vbuf.c:649:43: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_vbuf.c:651:4: danger: ‘i915_render’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_vbuf.c:679:11: warning[-Wanalyzer-malloc-leak]: leak of ‘i915_render’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_vbuf.c:649:43: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_prim_vbuf.c:679:11: danger: ‘i915_render’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def592]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:125:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:108:1: enter_function: entry to ‘i915_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:111:30: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:113:7: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:116:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:119:16: call_function: calling ‘os_malloc_aligned’ from ‘i915_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:119:16: return_function: returning to ‘i915_buffer_create’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:122:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:125:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:125:11: danger: ‘buf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:155:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:133:1: enter_function: entry to ‘i915_user_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:136:30: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:138:7: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:141:4: call_function: inlined call to ‘pipe_reference_init’ from ‘i915_user_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_buffer.c:155:11: danger: ‘buf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def594]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:129:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)nr_images * 4)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:918:1: enter_function: entry to ‘i915_texture_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:926:7: branch_false: following ‘false’ branch (when ‘tex’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:929:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:938:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:939:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:939:12: call_function: calling ‘i945_texture_layout’ from ‘i915_texture_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def595]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:129:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(4)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:974:1: enter_function: entry to ‘i915_texture_from_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:991:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:993:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:991:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:993:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:991:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:997:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:998:7: branch_false: following ‘false’ branch (when ‘tex’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:1001:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_resource_texture.c:1009:4: call_function: inlined call to ‘i915_texture_set_level_info’ from ‘i915_texture_from_handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def596]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:172:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso_data’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:155:40: acquire_memory: this call could return NULL
branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:177:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:172:10: danger: ‘cso_data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def597]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:179:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso_data’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:155:40: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:170:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:179:10: danger: ‘cso_data’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def598]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:287:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:280:37: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:287:4: danger: ‘cso’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:451:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:449:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:451:4: danger: ‘cso’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def600]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:924:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cso’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:922:40: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_state.c:924:4: danger: ‘cso’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def601]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:420:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:387:1: enter_function: entry to ‘i915_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:399:7: branch_false: following ‘false’ branch (when ‘surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:402:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:405:4: call_function: calling ‘pipe_resource_reference’ from ‘i915_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:405:4: return_function: returning to ‘i915_create_surface_custom’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:412:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:413:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:420:22: danger: dereference of NULL ‘pt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:422:4: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:387:1: enter_function: entry to ‘i915_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:398:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:399:7: branch_false: following ‘false’ branch (when ‘surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:402:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:405:4: call_function: calling ‘pipe_resource_reference’ from ‘i915_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:405:4: return_function: returning to ‘i915_create_surface_custom’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:412:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:413:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/i915/i915_surface.c:422:4: danger: ‘surf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def603]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/i915/iris_kmd_backend.c:326:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘validation_list’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/i915/iris_kmd_backend.c:302:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/i915/iris_kmd_backend.c:309:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/i915/iris_kmd_backend.c:310:48: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/i915/iris_kmd_backend.c:315:10: branch_false: following ‘false’ branch (when ‘prev_index == -1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/i915/iris_kmd_backend.c:320:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/i915/iris_kmd_backend.c:326:10: danger: ‘validation_list + (long unsigned int)validation_count * 56’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def604]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_blorp.c:99:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘blorp_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_blorp.c:476:1: enter_function: entry to ‘iris_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_blorp.c:479:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_blorp.c:480:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_blorp.c:480:7: call_function: calling ‘iris_blorp_exec_blitter’ from ‘iris_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:496:14: warning[-Wanalyzer-malloc-leak]: leak of ‘handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1652:1: enter_function: entry to ‘iris_bo_unreference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1659:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1660:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1666:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1669:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1671:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:13: call_function: calling ‘bo_unreference_final’ from ‘iris_bo_unreference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:13: return_function: returning to ‘iris_bo_unreference’ from ‘bo_unreference_final’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1673:13: call_function: calling ‘cleanup_bo_cache’ from ‘iris_bo_unreference’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def606]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:509:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1652:1: enter_function: entry to ‘iris_bo_unreference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1659:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1660:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1666:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1669:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1671:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:13: call_function: calling ‘bo_unreference_final’ from ‘iris_bo_unreference’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def607]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:517:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1652:1: enter_function: entry to ‘iris_bo_unreference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1659:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1660:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1666:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1669:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1671:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:13: call_function: calling ‘bo_unreference_final’ from ‘iris_bo_unreference’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def608]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:519:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1652:1: enter_function: entry to ‘iris_bo_unreference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1659:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1660:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1666:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1669:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1671:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:13: call_function: calling ‘bo_unreference_final’ from ‘iris_bo_unreference’
Error: GCC_ANALYZER_WARNING (CWE-590): [#def609]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:554:7: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘handles’ which points to memory on the stack
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1652:1: enter_function: entry to ‘iris_bo_unreference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1659:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1660:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1666:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1669:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1671:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:13: call_function: calling ‘bo_unreference_final’ from ‘iris_bo_unreference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1672:13: return_function: returning to ‘iris_bo_unreference’ from ‘bo_unreference_final’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_bufmgr.c:1673:13: call_function: calling ‘cleanup_bo_cache’ from ‘iris_bo_unreference’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def610]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:244:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘brw’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:199:7: branch_false: following ‘false’ branch (when ‘cache’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:203:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:217:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:222:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:232:38: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:234:38: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:241:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:246:7: branch_false: following ‘false’ branch (when ‘elk’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:244:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:244:19: danger: dereference of NULL ‘brw’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def611]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:277:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elk’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:199:7: branch_false: following ‘false’ branch (when ‘cache’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:203:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:217:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:222:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:232:38: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:234:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:234:38: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:241:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:252:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:259:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:259:7: branch_false: following ‘false’ branch (when ‘brw’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:276:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:276:7: release_memory: ‘brw’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_disk_cache.c:277:11: danger: dereference of NULL ‘elk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def612]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:118:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:611:1: enter_function: entry to ‘iris_fence_signal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:616:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:619:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:619:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:620:28: branch_true: following ‘true’ branch (when ‘i != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:621:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:628:10: call_function: calling ‘iris_batch_add_syncobj’ from ‘iris_fence_signal’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def613]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:126:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:611:1: enter_function: entry to ‘iris_fence_signal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:616:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:619:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:619:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:620:28: branch_true: following ‘true’ branch (when ‘i != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:621:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_fence.c:628:10: call_function: calling ‘iris_batch_add_syncobj’ from ‘iris_fence_signal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_performance_query.c:104:11: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_performance_query.c:94:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_performance_query.c:97:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_performance_query.c:97:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_performance_query.c:98:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_performance_query.c:103:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_performance_query.c:104:11: danger: ‘q’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def615]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:756:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:770:1: enter_function: entry to ‘iris_lower_storage_image_derefs_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:783:32: call_function: inlined call to ‘nir_src_as_deref’ from ‘iris_lower_storage_image_derefs_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:784:27: call_function: calling ‘nir_deref_instr_get_variable’ from ‘iris_lower_storage_image_derefs_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:784:27: return_function: returning to ‘iris_lower_storage_image_derefs_instr’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:788:10: call_function: calling ‘get_aoa_deref_offset’ from ‘iris_lower_storage_image_derefs_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3430:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3429:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3430:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3430:10: danger: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3432:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3429:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3432:44: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3432:44: danger: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def618]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3438:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3438:10: danger: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def619]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3462:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3461:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3462:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3462:10: danger: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def620]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3465:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3461:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3465:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3465:10: danger: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def621]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3475:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3475:7: danger: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def622]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3482:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3482:7: danger: dereference of NULL ‘iris_create_uncompiled_shader(screen, nir, &*state.stream_output)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def623]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3538:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3405:1: enter_function: entry to ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: call_function: calling ‘iris_create_uncompiled_shader’ from ‘iris_create_shader_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3419:7: return_function: returning to ‘iris_create_shader_state’ from ‘iris_create_uncompiled_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3521:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3522:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3532:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3536:50: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3536:50: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_program.c:3538:10: danger: ‘job’ could be NULL: unchecked value from [(29)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def624]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_resource.c:988:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘iris_alloc_resource(pscreen, templ)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_resource.c:2082:1: enter_function: entry to ‘iris_map_copy_region’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_resource.c:2103:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_resource.c:2105:22: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_resource.c:2105:22: call_function: calling ‘iris_resource_create_for_buffer’ from ‘iris_map_copy_region’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def625]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_state.c:10582:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*ice.state.genx’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_state.c:10578:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/iris/iris_state.c:10582:4: danger: ‘calloc(1, 1312)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/nir.c:446:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/nir.c:442:6: enter_function: entry to ‘gpir_compile_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/nir.c:445:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘gpir_compile_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/nir.c:445:30: return_function: returning to ‘gpir_compile_nir’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/nir.c:446:26: danger: dereference of NULL ‘nir_shader_get_entrypoint(nir)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def627]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/scheduler.c:688:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/scheduler.c:1343:13: enter_function: entry to ‘place_move’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/gp/scheduler.c:1356:22: call_function: calling ‘create_move’ from ‘place_move’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def628]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:167:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:163:13: enter_function: entry to ‘ppir_lower_texture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:165:22: call_function: calling ‘ppir_node_get_dest’ from ‘ppir_lower_texture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:165:22: return_function: returning to ‘ppir_lower_texture’ from ‘ppir_node_get_dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:167:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:167:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:167:43: danger: dereference of NULL ‘ppir_node_get_dest(node)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def629]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:287:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:276:13: enter_function: entry to ‘ppir_lower_fold_src_mod’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:280:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:283:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:283:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:286:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:286:22: call_function: calling ‘ppir_node_get_dest’ from ‘ppir_lower_fold_src_mod’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:286:22: return_function: returning to ‘ppir_lower_fold_src_mod’ from ‘ppir_node_get_dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:287:8: danger: dereference of NULL ‘ppir_node_get_dest(node)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def630]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:388:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:385:13: enter_function: entry to ‘ppir_lower_fold_dest_mod’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:387:22: call_function: calling ‘ppir_node_get_dest’ from ‘ppir_lower_fold_dest_mod’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:387:22: return_function: returning to ‘ppir_lower_fold_dest_mod’ from ‘ppir_node_get_dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/lower.c:388:8: danger: dereference of NULL ‘ppir_node_get_dest(node)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def631]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/nir.c:1010:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/nir.c:1005:6: enter_function: entry to ‘ppir_compile_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/nir.c:1009:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘ppir_compile_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/nir.c:1009:30: return_function: returning to ‘ppir_compile_nir’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/nir.c:1010:26: danger: dereference of NULL ‘nir_shader_get_entrypoint(nir)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def632]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:753:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:745:19: enter_function: entry to ‘ppir_node_insert_mov_local’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:747:22: call_function: calling ‘ppir_node_create’ from ‘ppir_node_insert_mov_local’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:747:22: return_function: returning to ‘ppir_node_insert_mov_local’ from ‘ppir_node_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:748:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:751:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:751:22: call_function: calling ‘ppir_node_get_dest’ from ‘ppir_node_insert_mov_local’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:751:22: return_function: returning to ‘ppir_node_insert_mov_local’ from ‘ppir_node_get_dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:753:4: danger: dereference of NULL ‘ppir_node_get_dest(node)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def633]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/opt.c:138:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/opt.c:132:13: enter_function: entry to ‘ppir_node_is_identity_reg_mov’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/opt.c:137:20: call_function: calling ‘ppir_node_get_src’ from ‘ppir_node_is_identity_reg_mov’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/opt.c:137:20: return_function: returning to ‘ppir_node_is_identity_reg_mov’ from ‘ppir_node_get_src’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/opt.c:138:8: danger: dereference of NULL ‘ppir_node_get_src(node, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def634]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/ppir.h:617:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:745:19: enter_function: entry to ‘ppir_node_insert_mov_local’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:747:22: call_function: calling ‘ppir_node_create’ from ‘ppir_node_insert_mov_local’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:747:22: return_function: returning to ‘ppir_node_insert_mov_local’ from ‘ppir_node_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:748:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:751:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:755:4: call_function: calling ‘ppir_node_target_assign’ from ‘ppir_node_insert_mov_local’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def635]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/ppir.h:639:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:772:12: enter_function: entry to ‘ppir_node_insert_mov’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/node.c:774:22: call_function: calling ‘ppir_node_insert_mov_local’ from ‘ppir_node_insert_mov’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def636]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/ppir.h:697:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:180:6: enter_function: entry to ‘ppir_instr_insert_node’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:182:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:214:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:215:23: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:217:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:217:28: call_function: calling ‘ppir_node_get_dest’ from ‘ppir_instr_insert_node’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:217:28: return_function: returning to ‘ppir_instr_insert_node’ from ‘ppir_node_get_dest’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:219:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:241:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:339:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:343:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:343:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:346:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/pp/instr.c:346:18: call_function: calling ‘ppir_target_is_scalar’ from ‘ppir_instr_insert_node’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def637]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:299:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1143:1: enter_function: entry to ‘lima_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1164:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1177:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1196:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1199:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1199:7: call_function: calling ‘lima_draw_vbo_count’ from ‘lima_draw_vbo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def638]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:305:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1143:1: enter_function: entry to ‘lima_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1164:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1177:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1196:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1199:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_draw.c:1199:7: call_function: calling ‘lima_draw_vbo_count’ from ‘lima_draw_vbo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def639]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:221:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1126:6: enter_function: entry to ‘lima_job_fini’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1130:4: call_function: calling ‘lima_flush’ from ‘lima_job_fini’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def640]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:225:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1126:6: enter_function: entry to ‘lima_job_fini’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1130:4: call_function: calling ‘lima_flush’ from ‘lima_job_fini’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def641]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:407:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1126:6: enter_function: entry to ‘lima_job_fini’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1130:4: call_function: calling ‘lima_flush’ from ‘lima_job_fini’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def642]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:730:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1126:6: enter_function: entry to ‘lima_job_fini’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_job.c:1130:4: call_function: calling ‘lima_flush’ from ‘lima_job_fini’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def643]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:588:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pres’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:564:1: enter_function: entry to ‘lima_surface_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:570:7: branch_false: following ‘false’ branch (when ‘surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:576:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:579:4: call_function: calling ‘pipe_resource_reference’ from ‘lima_surface_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:579:4: return_function: returning to ‘lima_surface_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:588:35: danger: dereference of NULL ‘pres’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:599:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:564:1: enter_function: entry to ‘lima_surface_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:568:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:570:7: branch_false: following ‘false’ branch (when ‘surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:576:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:579:4: call_function: calling ‘pipe_resource_reference’ from ‘lima_surface_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:579:4: return_function: returning to ‘lima_surface_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/lima_resource.c:599:11: danger: ‘surf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:306:4: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:289:7: branch_false: following ‘false’ branch (when ‘type == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:292:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:292:25: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:294:7: branch_true: following ‘true’ branch (when ‘fence’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:295:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_fence.c:306:4: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def646]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:51:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(blend, 36)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:45:1: enter_function: entry to ‘llvmpipe_create_blend_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:48:37: call_function: calling ‘mem_dup’ from ‘llvmpipe_create_blend_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:48:37: return_function: returning to ‘llvmpipe_create_blend_state’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:50:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:51:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:51:7: danger: dereference of NULL ‘mem_dup(blend, 36)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def647]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:117:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(depth_stencil, 32)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:109:1: enter_function: entry to ‘llvmpipe_create_depth_stencil_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:114:12: call_function: calling ‘mem_dup’ from ‘llvmpipe_create_depth_stencil_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:114:12: return_function: returning to ‘llvmpipe_create_depth_stencil_state’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:116:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:117:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:117:7: danger: dereference of NULL ‘mem_dup(depth_stencil, 32)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def648]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:124:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(depth_stencil, 32)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:109:1: enter_function: entry to ‘llvmpipe_create_depth_stencil_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:114:12: call_function: calling ‘mem_dup’ from ‘llvmpipe_create_depth_stencil_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:114:12: return_function: returning to ‘llvmpipe_create_depth_stencil_state’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:116:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:123:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:123:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:124:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_blend.c:124:7: danger: dereference of NULL ‘mem_dup(depth_stencil, 32)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def649]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2073:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elts’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2056:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2060:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2066:27: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2070:25: branch_true: following ‘true’ branch (when ‘p < prim_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2071:53: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2072:30: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2073:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2073:10: danger: ‘elts + (long unsigned int)elts_idx * 2’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def650]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2075:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘prim_lengths’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2056:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2060:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2067:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2070:25: branch_true: following ‘true’ branch (when ‘p < prim_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2071:53: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2072:30: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2075:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_cs.c:2075:7: danger: ‘prim_lengths + (long unsigned int)p * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def651]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:3265:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(&func_name) + 1)’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:3198:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:3198:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:3212:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:3264:43: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs.c:3265:4: danger: argument 1 (‘malloc(strlen(&func_name) + 1)’) from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def652]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c:295:4: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*variant.linear_function_name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c:294:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c:295:4: danger: argument 1 (‘malloc(strlen(&func_name) + 1)’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def653]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:52:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((unsigned char*)&*<unknown>)[1]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:46:1: enter_function: entry to ‘llvmpipe_create_sampler_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:49:39: call_function: calling ‘mem_dup’ from ‘llvmpipe_create_sampler_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:49:39: return_function: returning to ‘llvmpipe_create_sampler_state’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:51:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:52:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:52:11: danger: use of uninitialized value ‘((unsigned char*)&*<unknown>)[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def654]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:57:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(sampler, 36)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:46:1: enter_function: entry to ‘llvmpipe_create_sampler_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:49:39: call_function: calling ‘mem_dup’ from ‘llvmpipe_create_sampler_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:49:39: return_function: returning to ‘llvmpipe_create_sampler_state’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:51:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:56:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:56:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:57:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:57:7: danger: dereference of NULL ‘mem_dup(sampler, 36)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:60:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(sampler, 36)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:46:1: enter_function: entry to ‘llvmpipe_create_sampler_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:49:39: call_function: calling ‘mem_dup’ from ‘llvmpipe_create_sampler_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:49:39: return_function: returning to ‘llvmpipe_create_sampler_state’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:51:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:56:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:56:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:59:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:59:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:60:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_sampler.c:60:7: danger: dereference of NULL ‘mem_dup(sampler, 36)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def656]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:102:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*targets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:73:1: enter_function: entry to ‘llvmpipe_set_so_targets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:81:16: branch_true: following ‘true’ branch (when ‘i < num_targets’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:82:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:92:7: call_function: calling ‘pipe_so_target_reference’ from ‘llvmpipe_set_so_targets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:92:7: return_function: returning to ‘llvmpipe_set_so_targets’ from ‘pipe_so_target_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:100:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:101:22: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_state_so.c:102:10: danger: dereference of NULL ‘*(struct llvmpipe_context *)pipe.so_targets[i]’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def657]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:388:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:430:1: enter_function: entry to ‘llvmpipe_resource_create_unbacked’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:435:7: call_function: calling ‘llvmpipe_resource_create_all’ from ‘llvmpipe_resource_create_unbacked’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def658]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:496:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lpr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:491:7: branch_false: following ‘false’ branch (when ‘memobj’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:495:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:495:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:496:4: danger: ‘lpr’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def659]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:546:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:486:1: enter_function: entry to ‘llvmpipe_resource_from_memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:491:7: branch_false: following ‘false’ branch (when ‘memobj’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:495:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:495:36: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:502:8: call_function: inlined call to ‘llvmpipe_resource_is_texture’ from ‘llvmpipe_resource_from_memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:511:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:529:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:532:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:532:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:534:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:538:4: call_function: inlined call to ‘pipe_reference’ from ‘llvmpipe_resource_from_memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:538:4: call_function: inlined call to ‘pipe_reference’ from ‘llvmpipe_resource_from_memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:546:11: danger: ‘lpr’ leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def660]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:798:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:718:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:721:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:721:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:722:7: branch_false: following ‘false’ branch (when ‘lpr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:726:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:742:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:749:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:784:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:798:11: danger: ‘lpr’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:895:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lpr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:865:1: enter_function: entry to ‘llvmpipe_resource_from_user_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:872:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:873:7: branch_false: following ‘false’ branch (when ‘lpr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:877:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:882:8: call_function: inlined call to ‘llvmpipe_resource_is_texture’ from ‘llvmpipe_resource_from_user_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:888:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:895:11: danger: ‘lpr’ leaks here; was allocated at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1035:14: warning[-Wanalyzer-malloc-leak]: leak of ‘lpt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:903:1: enter_function: entry to ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:956:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:957:7: branch_false: following ‘false’ branch (when ‘lpt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:959:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:960:4: call_function: calling ‘pipe_resource_reference’ from ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:960:4: return_function: returning to ‘llvmpipe_transfer_map_ms’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:994:8: call_function: inlined call to ‘llvmpipe_resource_is_texture’ from ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:994:51: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:994:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:995:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:995:13: call_function: calling ‘llvmpipe_resource_map’ from ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:995:13: return_function: returning to ‘llvmpipe_transfer_map_ms’ from ‘llvmpipe_resource_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:996:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1000:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1035:14: danger: ‘lpt’ leaks here; was allocated at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def663]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1039:7: warning[-Wanalyzer-malloc-leak]: leak of ‘lpt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:903:1: enter_function: entry to ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:956:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:957:7: branch_false: following ‘false’ branch (when ‘lpt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:959:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:960:4: call_function: calling ‘pipe_resource_reference’ from ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:960:4: return_function: returning to ‘llvmpipe_transfer_map_ms’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1038:10: call_function: calling ‘llvmpipe_resource_map’ from ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1038:10: return_function: returning to ‘llvmpipe_transfer_map_ms’ from ‘llvmpipe_resource_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1039:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1039:7: danger: ‘lpt’ leaks here; was allocated at [(2)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1243:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1225:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1226:7: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1229:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1243:11: danger: ‘buffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def665]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1313:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1308:45: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1313:4: danger: ‘mem’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def666]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1483:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1482:47: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:1483:4: danger: ‘alloc’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def667]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.h:188:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:903:1: enter_function: entry to ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:957:7: branch_false: following ‘false’ branch (when ‘lpt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:959:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:960:4: call_function: calling ‘pipe_resource_reference’ from ‘llvmpipe_transfer_map_ms’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:960:4: return_function: returning to ‘llvmpipe_transfer_map_ms’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture.c:994:8: call_function: inlined call to ‘llvmpipe_resource_is_texture’ from ‘llvmpipe_transfer_map_ms’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def668]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture_handle.c:269:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture_handle.c:1018:1: enter_function: entry to ‘register_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture_handle.c:1022:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture_handle.c:1024:53: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/llvmpipe/lp_texture_handle.c:1026:7: call_function: calling ‘register_sample_key’ from ‘register_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def669]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:159:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:671:1: enter_function: entry to ‘nouveau_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:679:7: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:682:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:720:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:723:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:723:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:724:7: call_function: calling ‘nouveau_buffer_cache’ from ‘nouveau_buffer_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def670]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:659:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tx’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:648:1: enter_function: entry to ‘nouveau_user_ptr_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:654:34: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:655:7: branch_false: following ‘false’ branch (when ‘tx’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:657:4: call_function: inlined call to ‘nouveau_buffer_transfer_init’ from ‘nouveau_user_ptr_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:659:11: danger: ‘tx’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:730:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:671:1: enter_function: entry to ‘nouveau_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:678:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:679:7: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:682:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:686:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:689:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:718:10: call_function: calling ‘nouveau_buffer_allocate’ from ‘nouveau_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:718:10: return_function: returning to ‘nouveau_buffer_create’ from ‘nouveau_buffer_allocate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:720:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:723:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:723:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:728:4: call_function: inlined call to ‘util_range_init’ from ‘nouveau_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:730:11: danger: ‘buffer’ leaks here; was allocated at [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def672]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:760:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:744:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:745:7: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:748:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:760:11: danger: ‘buffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:983:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:980:4: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_buffer.c:983:4: danger: dereference of NULL ‘realloc(*nv.scratch.runout, ((long unsigned int)(n + 1) + 1) * 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def674]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_fence.c:117:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘it’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_fence.c:380:1: enter_function: entry to ‘nouveau_fence_next_if_current’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_fence.c:383:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_fence.c:384:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_fence.c:384:7: call_function: calling ‘_nouveau_fence_next’ from ‘nouveau_fence_next_if_current’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_screen.c:253:4: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_screen.c:502:1: enter_function: entry to ‘nouveau_context_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_screen.c:510:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_screen.c:513:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_screen.c:513:10: call_function: calling ‘nouveau_pushbuf_create’ from ‘nouveau_context_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:796:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:793:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:794:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:793:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:793:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:793:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:799:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:802:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:803:7: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:806:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:829:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:831:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:835:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:837:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nouveau_video.c:796:14: danger: ‘buffer’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_draw.c:496:11: warning[-Wanalyzer-malloc-leak]: leak of ‘r’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_draw.c:477:28: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_draw.c:478:7: branch_false: following ‘false’ branch (when ‘r’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_draw.c:481:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_draw.c:496:11: danger: ‘r’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def678]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:300:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:281:1: enter_function: entry to ‘nv30_miptree_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:294:7: branch_false: following ‘false’ branch (when ‘tx’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:296:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:296:4: call_function: calling ‘pipe_resource_reference’ from ‘nv30_miptree_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:296:4: return_function: returning to ‘nv30_miptree_transfer_map’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:300:53: danger: dereference of NULL ‘pt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def679]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:419:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:411:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:419:7: danger: ‘mt’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def680]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:424:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:411:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:424:7: danger: ‘mt’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def681]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:430:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:411:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:430:7: danger: ‘mt’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def682]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:567:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:545:1: enter_function: entry to ‘nv30_miptree_surface_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:555:7: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:557:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:560:4: call_function: calling ‘pipe_resource_reference’ from ‘nv30_miptree_surface_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:560:4: return_function: returning to ‘nv30_miptree_surface_new’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:567:25: danger: dereference of NULL ‘pt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:574:7: warning[-Wanalyzer-malloc-leak]: leak of ‘ns’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:545:1: enter_function: entry to ‘nv30_miptree_surface_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:554:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:555:7: branch_false: following ‘false’ branch (when ‘ns’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:557:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:560:4: call_function: calling ‘pipe_resource_reference’ from ‘nv30_miptree_surface_new’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:560:4: return_function: returning to ‘nv30_miptree_surface_new’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:574:7: danger: ‘ns’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def684]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:44:14: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘qo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:178:1: enter_function: entry to ‘nv30_query_end’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:185:15: call_function: calling ‘nv30_query_object_new’ from ‘nv30_query_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def685]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:56:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:178:1: enter_function: entry to ‘nv30_query_end’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:185:15: call_function: calling ‘nv30_query_object_new’ from ‘nv30_query_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def686]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:84:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:178:1: enter_function: entry to ‘nv30_query_end’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:185:15: call_function: calling ‘nv30_query_object_new’ from ‘nv30_query_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def687]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:219:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:200:1: enter_function: entry to ‘nv30_query_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:205:31: call_function: calling ‘nv30_ntfy’ from ‘nv30_query_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:205:31: return_function: returning to ‘nv30_query_result’ from ‘nv30_ntfy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:206:31: call_function: calling ‘nv30_ntfy’ from ‘nv30_query_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:206:31: return_function: returning to ‘nv30_query_result’ from ‘nv30_ntfy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:208:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_query.c:219:47: danger: dereference of NULL ‘nv30_ntfy(*pipe.screen, *(struct nv30_query *)pq.qo[0])’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def688]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:237:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:219:1: enter_function: entry to ‘nv30_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:228:7: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:230:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:234:4: call_function: calling ‘pipe_resource_reference’ from ‘nv30_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:234:4: return_function: returning to ‘nv30_sampler_view_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:237:12: danger: dereference of NULL ‘pt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:307:11: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:219:1: enter_function: entry to ‘nv30_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:227:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:228:7: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:230:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:234:4: call_function: calling ‘pipe_resource_reference’ from ‘nv30_sampler_view_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:234:4: return_function: returning to ‘nv30_sampler_view_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nv30_texture.c:307:11: danger: ‘so’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def690]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:74:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1062:1: enter_function: entry to ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1073:7: branch_false: following ‘false’ branch (when ‘fpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1076:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:9: call_function: calling ‘nvfx_fragprog_prepare’ from ‘_nvfx_fragprog_translate’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def691]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:536:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src[1]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1062:1: enter_function: entry to ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1073:7: branch_false: following ‘false’ branch (when ‘fpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1076:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:9: call_function: calling ‘nvfx_fragprog_prepare’ from ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:9: return_function: returning to ‘_nvfx_fragprog_translate’ from ‘nvfx_fragprog_prepare’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1092:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1095:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1096:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1098:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1099:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: call_function: calling ‘util_dynarray_grow_bytes’ from ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: return_function: returning to ‘_nvfx_fragprog_translate’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1105:15: call_function: calling ‘nvfx_fragprog_parse_instruction’ from ‘_nvfx_fragprog_translate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def692]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1011:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*fpc.r_imm + (long unsigned int)*fpc.nr_imm * 8’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1062:1: enter_function: entry to ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1073:7: branch_false: following ‘false’ branch (when ‘fpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1076:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:9: call_function: calling ‘nvfx_fragprog_prepare’ from ‘_nvfx_fragprog_translate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def693]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1045:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*fpc.r_temp + (long unsigned int)i * 8’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1062:1: enter_function: entry to ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1073:7: branch_false: following ‘false’ branch (when ‘fpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1076:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:9: call_function: calling ‘nvfx_fragprog_prepare’ from ‘_nvfx_fragprog_translate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def694]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1062:1: enter_function: entry to ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1073:7: branch_false: following ‘false’ branch (when ‘fpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1076:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:9: call_function: calling ‘nvfx_fragprog_prepare’ from ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:9: return_function: returning to ‘_nvfx_fragprog_translate’ from ‘nvfx_fragprog_prepare’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1089:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1092:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1093:4: call_function: inlined call to ‘util_dynarray_init’ from ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1095:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1096:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1098:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1099:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: call_function: calling ‘util_dynarray_grow_bytes’ from ‘_nvfx_fragprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: return_function: returning to ‘_nvfx_fragprog_translate’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c:1103:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&insns, 1, 4)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def695]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:934:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*vpc.r_temp + (long unsigned int)i * 8’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:956:1: enter_function: entry to ‘_nvfx_vertprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:969:7: branch_false: following ‘false’ branch (when ‘vpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:971:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:977:9: call_function: calling ‘nvfx_vertprog_prepare’ from ‘_nvfx_vertprog_translate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def696]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:940:30: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)high_addr, 8)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:956:1: enter_function: entry to ‘_nvfx_vertprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:969:7: branch_false: following ‘false’ branch (when ‘vpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:971:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:977:9: call_function: calling ‘nvfx_vertprog_prepare’ from ‘_nvfx_vertprog_translate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def697]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:1007:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:956:1: enter_function: entry to ‘_nvfx_vertprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:969:7: branch_false: following ‘false’ branch (when ‘vpc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:971:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:977:9: call_function: calling ‘nvfx_vertprog_prepare’ from ‘_nvfx_vertprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:977:9: return_function: returning to ‘_nvfx_vertprog_translate’ from ‘nvfx_vertprog_prepare’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:977:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:986:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:986:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:992:4: call_function: inlined call to ‘util_dynarray_init’ from ‘_nvfx_vertprog_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:995:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:996:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:1006:10: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:1006:18: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c:1007:13: danger: dereference of NULL ‘*vpc.imm + (long unsigned int)*vpc.nr_imm * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def698]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:342:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:331:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:339:7: branch_false: following ‘false’ branch (when ‘mt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:342:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:342:4: danger: ‘mt’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def699]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:309:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘base[3]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:328:1: enter_function: entry to ‘nv50_program_translate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:337:7: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:340:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:386:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:391:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:408:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:409:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:409:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:413:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:413:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:414:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:442:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:444:52: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_program.c:443:18: call_function: calling ‘nv50_program_create_strmout_state’ from ‘nv50_program_translate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def700]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:409:7: warning[-Wanalyzer-malloc-leak]: leak of ‘hq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:362:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:367:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:368:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:373:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:373:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:374:7: branch_false: following ‘false’ branch (when ‘hq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:377:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:409:7: danger: ‘hq’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def701]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:77:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:152:1: enter_function: entry to ‘nv50_hw_metric_create_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:159:7: branch_false: following ‘false’ branch (when ‘type == 1280’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:163:7: branch_false: following ‘false’ branch (when ‘hmq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:166:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:174:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:175:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:175:10: call_function: calling ‘nv50_hw_metric_destroy_query’ from ‘nv50_hw_metric_create_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:175:10: return_function: returning to ‘nv50_hw_metric_create_query’ from ‘nv50_hw_metric_destroy_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:77:1: danger: ‘hmq’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def702]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:159:7: branch_false: following ‘false’ branch (when ‘type == 1280’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:163:7: branch_false: following ‘false’ branch (when ‘hmq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:166:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: danger: ‘hmq’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-122): [#def703]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:159:7: branch_false: following ‘false’ branch (when ‘type == 1280’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:162:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:163:7: branch_false: following ‘false’ branch (when ‘hmq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:166:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:174:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:178:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:174:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:178:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:174:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:178:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:174:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:178:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:174:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:178:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:172:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:173:7: danger: out-of-bounds write from byte 120 till byte 127 but region ends at byte 120
Error: GCC_ANALYZER_WARNING (CWE-476): [#def704]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:231:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘prog’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:229:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:230:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:230:35: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:231:7: danger: ‘prog’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:70:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:44:1: enter_function: entry to ‘nv50_surface_from_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:48:30: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:49:7: branch_false: following ‘false’ branch (when ‘sf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:52:4: call_function: inlined call to ‘pipe_reference_init’ from ‘nv50_surface_from_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:53:4: call_function: calling ‘pipe_resource_reference’ from ‘nv50_surface_from_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:53:4: return_function: returning to ‘nv50_surface_from_buffer’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:70:11: danger: ‘sf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def706]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:107:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘memobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:105:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:107:4: danger: ‘memobj’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:164:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:139:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:141:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:139:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:142:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:139:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:143:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:139:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:146:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:146:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:147:7: branch_false: following ‘false’ branch (when ‘mt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:150:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_resource.c:164:11: danger: ‘mt’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1166:11: warning[-Wanalyzer-malloc-leak]: leak of ‘targ’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1135:1: enter_function: entry to ‘nv50_so_target_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1140:34: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1141:7: branch_false: following ‘false’ branch (when ‘targ’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1144:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1144:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1152:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1160:4: call_function: calling ‘pipe_resource_reference’ from ‘nv50_so_target_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1160:4: return_function: returning to ‘nv50_so_target_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nv50/nv50_state.c:1166:11: danger: ‘targ’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def709]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:461:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mt’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:449:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:458:7: branch_false: following ‘false’ branch (when ‘mt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:461:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:461:4: danger: ‘mt’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:586:7: warning[-Wanalyzer-malloc-leak]: leak of ‘hq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:533:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:538:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:539:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:544:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:544:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:545:7: branch_false: following ‘false’ branch (when ‘hq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:548:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:586:7: danger: ‘hq’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:475:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:717:1: enter_function: entry to ‘nvc0_hw_metric_create_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:724:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:728:7: branch_false: following ‘false’ branch (when ‘hmq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:731:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:735:10: call_function: calling ‘nvc0_hw_metric_query_get_cfg’ from ‘nvc0_hw_metric_create_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:735:10: return_function: returning to ‘nvc0_hw_metric_create_query’ from ‘nvc0_hw_metric_query_get_cfg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:737:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:738:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:739:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:740:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:740:10: call_function: calling ‘nvc0_hw_metric_destroy_query’ from ‘nvc0_hw_metric_create_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:740:10: return_function: returning to ‘nvc0_hw_metric_create_query’ from ‘nvc0_hw_metric_destroy_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:475:1: danger: ‘hmq’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:737:16: warning[-Wanalyzer-malloc-leak]: leak of ‘hmq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:717:1: enter_function: entry to ‘nvc0_hw_metric_create_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:724:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:727:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:728:7: branch_false: following ‘false’ branch (when ‘hmq’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:731:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:735:10: call_function: calling ‘nvc0_hw_metric_query_get_cfg’ from ‘nvc0_hw_metric_create_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:735:10: return_function: returning to ‘nvc0_hw_metric_create_query’ from ‘nvc0_hw_metric_query_get_cfg’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:737:16: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:737:16: danger: ‘hmq’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def713]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:771:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:750:1: enter_function: entry to ‘nvc0_hw_metric_get_driver_query_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:760:7: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:763:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:763:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:764:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:764:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:765:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:765:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:767:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:769:16: call_function: inlined call to ‘nvc0_hw_metric_get_cfg’ from ‘nvc0_hw_metric_get_driver_query_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:771:26: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1104:11: warning[-Wanalyzer-malloc-leak]: leak of ‘targ’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1078:1: enter_function: entry to ‘nvc0_so_target_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1083:34: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1084:7: branch_false: following ‘false’ branch (when ‘targ’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1087:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1088:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1092:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1098:4: call_function: calling ‘pipe_resource_reference’ from ‘nvc0_so_target_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1098:4: return_function: returning to ‘nvc0_so_target_create’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:1104:11: danger: ‘targ’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def715]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:236:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1421:1: enter_function: entry to ‘gm107_create_image_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1430:7: call_function: calling ‘gm107_create_texture_view_from_image’ from ‘gm107_create_image_handle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:438:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1421:1: enter_function: entry to ‘gm107_create_image_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1430:7: call_function: calling ‘gm107_create_texture_view_from_image’ from ‘gm107_create_image_handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def717]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:887:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:881:35: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:887:7: danger: ‘res’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def718]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1363:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 32)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1355:11: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1361:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1362:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1363:4: danger: ‘calloc(1, 32)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def719]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1405:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1396:7: branch_true: following ‘true’ branch (when ‘resident != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1397:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1397:35: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1405:7: danger: ‘res’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def720]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1491:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1485:35: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:1491:7: danger: ‘res’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def721]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_cmdstream.c:3952:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘so’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_cmdstream.c:3951:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_cmdstream.c:3952: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): [#def722]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:134:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:82:1: enter_function: entry to ‘jm_submit_jc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:117:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:120:24: call_function: inlined call to ‘panfrost_pool_num_bos’ from ‘jm_submit_jc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:120:17: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:129:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:130:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:130:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:134:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_jm.c:134:7: danger: ‘bo_handles + (long unsigned int)submit.bo_handle_count * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def723]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_mempool.c:61:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_mempool.c:133:1: enter_function: entry to ‘panfrost_pool_alloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_mempool.c:169:12: call_function: calling ‘panfrost_pool_alloc_backing’ from ‘panfrost_pool_alloc_aligned’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def724]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:281:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:227:1: enter_function: entry to ‘panfrost_launch_precomp_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:240:7: call_function: calling ‘panfrost_precomp_cache_get’ from ‘panfrost_launch_precomp_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:240:7: return_function: returning to ‘panfrost_launch_precomp_v4’ from ‘panfrost_precomp_cache_get’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:251:19: call_function: calling ‘emit_tls’ from ‘panfrost_launch_precomp_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:251:19: return_function: returning to ‘panfrost_launch_precomp_v4’ from ‘emit_tls’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:265:7: call_function: calling ‘pan_pool_alloc_descs’ from ‘panfrost_launch_precomp_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:265:7: return_function: returning to ‘panfrost_launch_precomp_v4’ from ‘pan_pool_alloc_descs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:269:4: call_function: calling ‘panfrost_pack_work_groups_compute’ from ‘panfrost_launch_precomp_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:269:4: return_function: returning to ‘panfrost_launch_precomp_v4’ from ‘panfrost_pack_work_groups_compute’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:274:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:275:47: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:280:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:281:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:281:19: danger: dereference of NULL ‘panfrost_precomp_cache_get(((struct panfrost_device *)((char *)MEM[(struct pipe_context *)ctx_44].screen + 696))[1].precomp_cache, idx)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def725]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:295:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:227:1: enter_function: entry to ‘panfrost_launch_precomp_v9’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:240:7: call_function: calling ‘panfrost_precomp_cache_get’ from ‘panfrost_launch_precomp_v9’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:240:7: return_function: returning to ‘panfrost_launch_precomp_v9’ from ‘panfrost_precomp_cache_get’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:251:19: call_function: calling ‘emit_tls’ from ‘panfrost_launch_precomp_v9’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:251:19: return_function: returning to ‘panfrost_launch_precomp_v9’ from ‘emit_tls’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:265:7: call_function: calling ‘pan_pool_alloc_descs’ from ‘panfrost_launch_precomp_v9’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:265:7: return_function: returning to ‘panfrost_launch_precomp_v9’ from ‘pan_pool_alloc_descs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:286:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:287:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_precomp.c:295:28: danger: dereference of NULL ‘panfrost_precomp_cache_get(((struct panfrost_device *)((char *)MEM[(struct pipe_context *)ctx_42].screen + 696))[1].precomp_cache, idx)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def726]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_shader.c:586:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_shader.c:580:1: enter_function: entry to ‘panfrost_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_shader.c:585:41: call_function: inlined call to ‘panfrost_alloc_variant’ from ‘panfrost_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_shader.c:585:41: call_function: inlined call to ‘panfrost_alloc_variant’ from ‘panfrost_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/panfrost/pan_shader.c:586:4: danger: argument 1 (‘util_dynarray_grow_bytes(&*<unknown>.variants, 1, 2432)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def727]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:45:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newblock’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:44:15: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:45:4: danger: ‘newblock’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def728]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:74:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘block’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:56:7: branch_false: following ‘false’ branch (when ‘bytes > 4095’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:72:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:72:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/memory_pool.c:74:7: danger: ‘block’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def729]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:126:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:633:1: enter_function: entry to ‘ntr_get_chased_src’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:644:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:645:35: call_function: inlined call to ‘nir_src_for_ssa’ from ‘ntr_get_chased_src’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:645:35: call_function: calling ‘ntr_get_src’ from ‘ntr_get_chased_src’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:645:35: return_function: returning to ‘ntr_get_chased_src’ from ‘ntr_get_src’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:646:17: call_function: calling ‘ntr_reladdr’ from ‘ntr_get_chased_src’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def730]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:1743:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:1977:1: enter_function: entry to ‘nir_to_rc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:2147:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_to_rc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:2147:30: return_function: returning to ‘nir_to_rc’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/nir_to_rc.c:2148:4: call_function: calling ‘ntr_emit_impl’ from ‘nir_to_rc’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def731]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:503:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:372:57: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:374:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:390:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:398:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:494:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:498:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:498:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:503:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r3xx_vertprog.c:503:10: danger: out-of-bounds read from byte 17179869180 till byte 17179869183 but ‘loops’ ends at byte 32
Error: GCC_ANALYZER_WARNING (CWE-457): [#def732]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r500_nir_lower_fcsel.c:59:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src_def_index[1]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r500_nir_lower_fcsel.c:116:1: enter_function: entry to ‘r300_nir_lower_fcsel_r500’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/r500_nir_lower_fcsel.c:118:11: call_function: calling ‘nir_shader_alu_pass’ from ‘r300_nir_lower_fcsel_r500’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def733]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:478:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ra_q_values’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:457:16: branch_true: following ‘true’ branch (when ‘i < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:458:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:475:18: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:477:16: branch_true: following ‘true’ branch (when ‘i < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:478:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:478:7: danger: ‘ra_q_values + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def734]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:481:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)class_count * 4)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:457:16: branch_true: following ‘true’ branch (when ‘i < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:458:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:477:16: branch_true: following ‘true’ branch (when ‘i < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:478:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:478:24: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:479:19: branch_true: following ‘true’ branch (when ‘j < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:480:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:480:13: branch_true: following ‘true’ branch (when ‘prog == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:481:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:481:13: danger: ‘malloc((long unsigned int)class_count * 4) + (long unsigned int)j * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def735]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:483:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)class_count * 4)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:457:16: branch_true: following ‘true’ branch (when ‘i < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:458:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:477:16: branch_true: following ‘true’ branch (when ‘i < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:478:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:478:24: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:479:19: branch_true: following ‘true’ branch (when ‘j < class_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:480:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:480:13: branch_false: following ‘false’ branch (when ‘prog != 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:483:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_regalloc.c:483:13: danger: ‘malloc((long unsigned int)class_count * 4) + (long unsigned int)j * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def736]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:83:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘remap_state.new_constants.Constants’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:163:1: enter_function: entry to ‘rc_remove_unused_constants’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:170:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:175:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:175:4: call_function: calling ‘init_constant_remap_state’ from ‘rc_remove_unused_constants’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:175:4: return_function: returning to ‘rc_remove_unused_constants’ from ‘init_constant_remap_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:179:9: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:185:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:185:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:185:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:197:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:198:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:198:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:200:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:200:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:201:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_remove_constants.c:201:10: call_function: calling ‘place_constant_in_free_slot’ from ‘rc_remove_unused_constants’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def737]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_variable.c:513:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_variable.c:510:1: enter_function: entry to ‘rc_variable_list_get_writers_one_reader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_variable.c:512:34: call_function: calling ‘rc_variable_list_get_writers’ from ‘rc_variable_list_get_writers_one_reader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_variable.c:512:34: return_function: returning to ‘rc_variable_list_get_writers_one_reader’ from ‘rc_variable_list_get_writers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/compiler/radeon_variable.c:513:60: danger: dereference of NULL ‘rc_variable_list_get_writers(var_list, src_type, src)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def738]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:421:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:392:6: enter_function: entry to ‘r300_emit_fb_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:418:17: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:419:16: call_function: inlined call to ‘r300_get_nonnull_cb’ from ‘r300_emit_fb_state’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:419:16: call_function: inlined call to ‘r300_get_nonnull_cb’ from ‘r300_emit_fb_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:419:16: call_function: inlined call to ‘r300_get_nonnull_cb’ from ‘r300_emit_fb_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:421:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def739]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:487:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*(struct r300_hyperz_state *)state.cb_flush_begin’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:492:6: enter_function: entry to ‘r300_emit_hyperz_end’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:503:5: call_function: calling ‘r300_emit_hyperz_state’ from ‘r300_emit_hyperz_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def740]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:600:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:559:6: enter_function: entry to ‘r300_emit_fb_state_pipelined’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:590:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:591:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:599:17: branch_true: following ‘true’ branch (when ‘i < num_cbufs’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:600:9: call_function: inlined call to ‘r300_get_nonnull_cb’ from ‘r300_emit_fb_state_pipelined’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_emit.c:600:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def741]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:244:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*shader.cb_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:234:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:238:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:242:9: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:243:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:244:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:244:13: danger: ‘malloc((long unsigned int)((unsigned int)((*(struct r500_fragment_program_code *)shader.inst_end + 1) * 6) + imm_count * 7 + *(struct r500_fragment_program_code *)shader.int_constant_count * 2 + 19) * 4)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def742]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:244:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)((unsigned int)((*(struct r500_fragment_program_code *)shader.inst_end + 1) * 6) + imm_count * 7 + *(struct r500_fragment_program_code *)shader.int_constant_count * 2 + 19) * 4)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:560:6: enter_function: entry to ‘r300_pick_fragment_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:566:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:568:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:571:9: call_function: calling ‘r300_translate_fragment_shader’ from ‘r300_pick_fragment_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def743]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:246:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*shader.cb_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:234:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:238:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:242:9: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:243:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:246:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:246:13: danger: ‘malloc((long unsigned int)((unsigned int)((*(struct r500_fragment_program_code *)shader.inst_end + 1) * 6) + imm_count * 7 + *(struct r500_fragment_program_code *)shader.int_constant_count * 2 + 19) * 4)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def744]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:246:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)((unsigned int)((*(struct r500_fragment_program_code *)shader.inst_end + 1) * 6) + imm_count * 7 + *(struct r500_fragment_program_code *)shader.int_constant_count * 2 + 19) * 4)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:560:6: enter_function: entry to ‘r300_pick_fragment_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:566:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:568:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:571:9: call_function: calling ‘r300_translate_fragment_shader’ from ‘r300_pick_fragment_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def745]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:312:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*shader.cb_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:234:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:286:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:290:13: branch_false: following ‘false’ branch (when ‘tex_length == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:291:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:307:13: branch_false: following ‘false’ branch (when ‘tex_length == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:295:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:310:9: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:312:9: danger: ‘malloc((long unsigned int)(<unknown> + <unknown> + <unknown> + <unknown> + alu_length * 4 + <unknown> + imm_count * 5) * 4)’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def746]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:594:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:566:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:577:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:577:12: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:580:20: branch_true: following ‘true’ branch (when ‘ptr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:581:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:581:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:589:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:593:19: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_fs.c:594:13: danger: ‘ptr’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def747]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:445:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘imm_indices3[1]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:775:13: enter_function: entry to ‘r300_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:782:7: branch_false: following ‘false’ branch (when ‘num_draws <= 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:788:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:791:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:792:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:792:10: call_function: calling ‘u_trim_pipe_prim’ from ‘r300_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:792:10: return_function: returning to ‘r300_draw_vbo’ from ‘u_trim_pipe_prim’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:791:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:796:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:805:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:809:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:809:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:810:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:812:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:818:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:825:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:826:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:829:17: call_function: calling ‘r300_draw_elements’ from ‘r300_draw_vbo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def748]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:599:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:775:13: enter_function: entry to ‘r300_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:782:7: branch_false: following ‘false’ branch (when ‘num_draws <= 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:788:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:791:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:792:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:792:10: call_function: calling ‘u_trim_pipe_prim’ from ‘r300_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:792:10: return_function: returning to ‘r300_draw_vbo’ from ‘u_trim_pipe_prim’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:791:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:796:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:805:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:809:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:809:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:810:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:812:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:818:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:825:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:826:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:829:17: call_function: calling ‘r300_draw_elements’ from ‘r300_draw_vbo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def749]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:1095:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘r300render’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:1093:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:1095:5: danger: ‘r300render’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def750]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:1110:12: warning[-Wanalyzer-malloc-leak]: leak of ‘r300render’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:1093:38: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render.c:1110:12: danger: ‘r300render’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def751]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render_stencilref.c:111:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*r300.stencilref_fallback’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render_stencilref.c:108:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_render_stencilref.c:111:5: danger: ‘calloc(1, 24)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def752]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:154:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:152:12: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:154:5: danger: ‘rbuf’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def753]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:168:16: warning[-Wanalyzer-malloc-leak]: leak of ‘rbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:146:23: enter_function: entry to ‘r300_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:152:12: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:167:33: call_function: calling ‘os_malloc_aligned’ from ‘r300_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:167:33: return_function: returning to ‘r300_buffer_create’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:168:16: danger: ‘rbuf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def754]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:180:12: warning[-Wanalyzer-malloc-leak]: leak of ‘rbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:152:12: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:165:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:166:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:176:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:180:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_screen_buffer.c:180:12: danger: ‘rbuf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def755]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:678:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dsa’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:670:34: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:678:5: danger: ‘dsa’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def756]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1033:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1030:40: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1033:5: danger: ‘fs’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def757]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1198:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1175:32: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1198:5: danger: ‘rs’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def758]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1458:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sampler’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1454:42: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1458:5: danger: ‘sampler’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def759]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1953:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1950:37: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_state.c:1953:5: danger: ‘vs’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def760]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1187:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1164:22: enter_function: entry to ‘r300_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1176:8: branch_true: following ‘true’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1179:9: call_function: inlined call to ‘pipe_reference_init’ from ‘r300_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1180:9: call_function: calling ‘pipe_resource_reference’ from ‘r300_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1180:9: return_function: returning to ‘r300_create_surface_custom’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1187:24: danger: dereference of NULL ‘texture’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def761]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1235:12: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1164:22: enter_function: entry to ‘r300_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1171:36: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1176:8: branch_true: following ‘true’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1179:9: call_function: inlined call to ‘pipe_reference_init’ from ‘r300_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1180:9: call_function: calling ‘pipe_resource_reference’ from ‘r300_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1180:9: return_function: returning to ‘r300_create_surface_custom’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1196:9: call_function: calling ‘r300_texture_setup_fb_state’ from ‘r300_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1196:9: return_function: returning to ‘r300_create_surface_custom’ from ‘r300_texture_setup_fb_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_texture.c:1235:12: danger: ‘surface’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def762]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:198:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘trans’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:106:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:107:8: release_memory: assuming ‘trans’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:107:8: branch_false: following ‘false’ branch (when ‘trans’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:198:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:198:9: danger: dereference of NULL ‘trans’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def763]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:209:9: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:106:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:107:8: branch_true: following ‘true’ branch (when ‘trans’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:109:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:203:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:209:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:209:9: danger: ‘trans’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def764]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:220:16: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:106:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:107:8: branch_true: following ‘true’ branch (when ‘trans’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:109:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:117:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:198:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:213:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:214:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:219:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r300/r300_transfer.c:220:16: danger: ‘trans’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def765]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:200:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:404:14: enter_function: entry to ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:421:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:434:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: call_function: calling ‘r600_elf_read’ from ‘evergreen_create_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def766]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:209:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*binary.global_symbol_offsets + (long unsigned int)*binary.global_symbol_count * 8’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:404:14: enter_function: entry to ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:421:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:434:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: call_function: calling ‘r600_elf_read’ from ‘evergreen_create_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def767]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:289:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:404:14: enter_function: entry to ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:421:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:434:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: call_function: calling ‘r600_elf_read’ from ‘evergreen_create_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:294:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:404:14: enter_function: entry to ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:421:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:434:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: call_function: calling ‘r600_elf_read’ from ‘evergreen_create_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def769]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:304:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:404:14: enter_function: entry to ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:421:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:434:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: call_function: calling ‘r600_elf_read’ from ‘evergreen_create_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def770]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:340:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:404:14: enter_function: entry to ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:421:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:434:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: call_function: calling ‘r600_elf_read’ from ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: return_function: returning to ‘evergreen_create_compute_state’ from ‘r600_elf_read’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:438:9: call_function: calling ‘r600_create_shader’ from ‘evergreen_create_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def771]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:340:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*binary.global_symbol_offsets + (long unsigned int)i * 8’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:404:14: enter_function: entry to ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:421:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:434:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: call_function: calling ‘r600_elf_read’ from ‘evergreen_create_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:437:9: return_function: possible return of NULL to ‘evergreen_create_compute_state’ from ‘r600_elf_read’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:438:9: call_function: calling ‘r600_create_shader’ from ‘evergreen_create_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def772]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:389:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def773]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:415:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:408:44: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:415:9: danger: ‘shader’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def774]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1358:16: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1322:23: enter_function: entry to ‘r600_compute_global_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1336:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1346:9: call_function: inlined call to ‘pipe_reference_init’ from ‘r600_compute_global_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1352:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1358:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/evergreen_compute.c:1358:16: danger: ‘result’ leaks here; was allocated at [(2)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def775]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1018:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘kcache + (long unsigned int)i * 16’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1401:5: enter_function: entry to ‘r600_bytecode_add_alu’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1403:16: call_function: calling ‘r600_bytecode_add_alu_type’ from ‘r600_bytecode_add_alu’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def776]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:385:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:280:20: enter_function: entry to ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:293:12: branch_false: following ‘false’ branch (when ‘pc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:296:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:297:12: branch_false: following ‘false’ branch (when ‘query’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:300:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:306:21: branch_true: following ‘true’ branch (when ‘i < num_queries’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:309:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:309:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:312:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:312:25: call_function: calling ‘lookup_counter’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:312:25: return_function: returning to ‘r600_create_batch_query’ from ‘lookup_counter’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:314:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:317:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:320:25: call_function: calling ‘get_group_state’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:320:25: return_function: returning to ‘r600_create_batch_query’ from ‘get_group_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:321:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:324:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:324:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:330:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:342:37: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:343:48: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:342:37: branch_false: following ‘false’ branch (when ‘group’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:364:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:364:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:371:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:372:21: branch_true: following ‘true’ branch (when ‘i < num_queries’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:373:52: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:376:25: call_function: calling ‘lookup_counter’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:376:25: return_function: returning to ‘r600_create_batch_query’ from ‘lookup_counter’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:382:25: call_function: calling ‘get_group_state’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:382:25: return_function: returning to ‘r600_create_batch_query’ from ‘get_group_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:385:33: danger: dereference of NULL ‘get_group_state(screen, query, lookup_counter(pc, *<unknown> + 4294966940, &base_gid, & sub_index), sub_gid)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def777]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:390:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘counter’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:280:20: enter_function: entry to ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:293:12: branch_false: following ‘false’ branch (when ‘pc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:296:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:297:12: branch_false: following ‘false’ branch (when ‘query’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:300:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:306:21: branch_true: following ‘true’ branch (when ‘i < num_queries’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:309:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:309:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:312:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:312:25: call_function: calling ‘lookup_counter’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:312:25: return_function: returning to ‘r600_create_batch_query’ from ‘lookup_counter’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:314:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:317:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:320:25: call_function: calling ‘get_group_state’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:320:25: return_function: returning to ‘r600_create_batch_query’ from ‘get_group_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:321:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:324:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:324:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:330:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:342:37: branch_true: following ‘true’ branch (when ‘group’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:343:48: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:342:37: branch_false: following ‘false’ branch (when ‘group’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:364:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:364:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:371:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:371:27: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:372:21: branch_true: following ‘true’ branch (when ‘i < num_queries’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:373:52: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:376:25: call_function: calling ‘lookup_counter’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:376:25: return_function: returning to ‘r600_create_batch_query’ from ‘lookup_counter’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:382:25: call_function: calling ‘get_group_state’ from ‘r600_create_batch_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:382:25: return_function: returning to ‘r600_create_batch_query’ from ‘get_group_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_perfcounter.c:390:17: danger: ‘counter’ could be NULL: unchecked value from [(38)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/37)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def778]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_query.c:772:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘qbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_query.c:770:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_query.c:771:50: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_query.c:771:50: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_query.c:772:17: danger: ‘qbuf’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def779]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:921:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2117:13: enter_function: entry to ‘r600_draw_vbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2123:12: branch_false: following ‘false’ branch (when ‘num_draws <= 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2129:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2141:12: branch_true: following ‘true’ branch (when ‘indirect’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2141:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2141:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2150:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2150:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2154:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_state_common.c:2192:14: call_function: calling ‘r600_update_derived_state’ from ‘r600_draw_vbo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def780]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:60:42: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ptr_cpu’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:155:6: enter_function: entry to ‘r600_test_dma’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:186:21: branch_true: following ‘true’ branch (when ‘i != 1000000000’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:187:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:237:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:248:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:260:17: call_function: calling ‘alloc_cpu_texture’ from ‘r600_test_dma’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:260:17: return_function: returning to ‘r600_test_dma’ from ‘alloc_cpu_texture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_test_dma.c:272:17: call_function: calling ‘set_random_pixels’ from ‘r600_test_dma’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def781]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1519:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1497:22: enter_function: entry to ‘r600_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1502:40: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1504:12: branch_false: following ‘false’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1510:9: call_function: inlined call to ‘pipe_reference_init’ from ‘r600_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1511:9: call_function: calling ‘pipe_resource_reference’ from ‘r600_create_surface_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1511:9: return_function: returning to ‘r600_create_surface_custom’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_texture.c:1519:16: danger: ‘surface’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def782]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:44:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:57:1: enter_function: entry to ‘r600_instr_can_rewrite’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:70:29: call_function: inlined call to ‘nir_src_as_deref’ from ‘r600_instr_can_rewrite’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:71:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:74:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:74:11: call_function: calling ‘nir_deref_instr_get_variable’ from ‘r600_instr_can_rewrite’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:74:11: return_function: returning to ‘r600_instr_can_rewrite’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:74:11: call_function: calling ‘r600_variable_can_rewrite’ from ‘r600_instr_can_rewrite’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def783]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:355:32: warning[-Wanalyzer-infinite-loop]: infinite loop
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:355:32: danger: infinite loop here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:355:24: branch_true: if it ever follows ‘true’ branch, it will always do so...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:355:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:356:22: branch_true: if it ever follows ‘true’ branch, it will always do so...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:356:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:357:10: branch_true: when ‘end == 0’: always following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/gfx11_query.c:357:10: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def784]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:249:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘slice_segment’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:183:14: enter_function: entry to ‘radeon_uvd_enc_encode_headers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:193:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:200:7: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:203:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:205:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:214:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:214:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:245:21: call_function: inlined call to ‘align’ from ‘radeon_uvd_enc_encode_headers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:249:4: danger: dereference of NULL ‘slice_segment’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def785]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:274:4: warning[-Wanalyzer-malloc-leak]: leak of ‘radeon_uvd_enc_encode_headers(encoder)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:256:13: enter_function: entry to ‘radeon_uvd_enc_encode_bitstream’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:267:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:272:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:272:25: call_function: calling ‘radeon_uvd_enc_encode_headers’ from ‘radeon_uvd_enc_encode_bitstream’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:272:25: return_function: returning to ‘radeon_uvd_enc_encode_bitstream’ from ‘radeon_uvd_enc_encode_headers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_uvd_enc.c:274:4: danger: ‘radeon_uvd_enc_encode_headers(encoder)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def786]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:254:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘slice_segment’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:188:14: enter_function: entry to ‘si_vce_encode_headers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:198:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:205:7: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:208:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:210:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:219:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:219:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:250:21: call_function: inlined call to ‘align’ from ‘si_vce_encode_headers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:254:4: danger: dereference of NULL ‘slice_segment’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def787]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:648:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hevc_reflist’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1486:31: enter_function: entry to ‘rvcn_dec_message_decode’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1526:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1531:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1545:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1590:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1609:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1767:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1772:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1794:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1799:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1799:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1822:8: branch_false: ...to here
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1822:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1822:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1823:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1823:7: call_function: calling ‘get_h265_reflist’ from ‘rvcn_dec_message_decode’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def788]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1599:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_dynamic_dpb’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1526:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1531:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1531:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1536:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1545:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1590:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1599:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1599:7: danger: dereference of NULL ‘index_dynamic_dpb’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def789]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1610:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘index_hevc_direct_reflist’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1526:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1531:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1531:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1536:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1545:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1590:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1609:8: branch_false: ...to here
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1609:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1609:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1610:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1610:7: danger: dereference of NULL ‘index_hevc_direct_reflist’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def790]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1805:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dynamic_dpb’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1526:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1531:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1545:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1551:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1590:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1598:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1609:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1767:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1772:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1794:7: branch_false: following ‘false’ branch (when ‘encrypted == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1799:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1799:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1800:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1802:10: branch_false: following ‘false’ branch (when ‘dpb_resize == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1805:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:1805:7: danger: dereference of NULL ‘dynamic_dpb’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def791]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2821:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2782:7: branch_false: following ‘false’ branch (when ‘dec’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2785:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2785:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2791:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2792:24: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2792:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2811:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2817:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2821:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2822:67: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2822:67: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_dec.c:2821:9: danger: dereference of NULL ‘*dec.ectx’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def792]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1746:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘slice_segment’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1694:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1695:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1700:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1707:7: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1710:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1712:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1721:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1721:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1722:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1722:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1729:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1746:4: danger: dereference of NULL ‘slice_segment’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def793]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1776:8: warning[-Wanalyzer-malloc-leak]: leak of ‘radeon_vcn_enc_encode_headers(encoder)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1753:13: enter_function: entry to ‘radeon_enc_encode_bitstream’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1769:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1774:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1774:25: call_function: calling ‘radeon_vcn_enc_encode_headers’ from ‘radeon_enc_encode_bitstream’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1774:25: return_function: returning to ‘radeon_enc_encode_bitstream’ from ‘radeon_vcn_enc_encode_headers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1776:8: danger: ‘radeon_vcn_enc_encode_headers(encoder)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def794]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1973:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dpb’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1967:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1972:40: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1972:40: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vcn_enc.c:1973:4: danger: ‘dpb’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def795]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:157:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:1039:6: enter_function: entry to ‘si_log_draw_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:1046:4: call_function: calling ‘si_dump_gfx_shader’ from ‘si_log_draw_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def796]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:171:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:1062:6: enter_function: entry to ‘si_log_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:1067:4: call_function: calling ‘si_dump_compute_shader’ from ‘si_log_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def797]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:743:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:1062:6: enter_function: entry to ‘si_log_compute_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug.c:1068:4: call_function: calling ‘si_dump_compute_descriptors’ from ‘si_log_compute_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def798]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2649:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2628:13: enter_function: entry to ‘si_make_texture_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2637:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2640:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2643:7: branch_true: following ‘true’ branch (when ‘resident != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2644:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2644:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2647:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2647:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2648:48: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2648:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2649:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2649:16: call_function: calling ‘util_dynarray_grow_bytes’ from ‘si_make_texture_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2649:16: return_function: returning to ‘si_make_texture_handle_resident’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2649:16: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct si_context *)ctx.resident_tex_needs_depth_decompress, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def799]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2676:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2628:13: enter_function: entry to ‘si_make_texture_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2637:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2640:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2643:7: branch_true: following ‘true’ branch (when ‘resident != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2644:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2676:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘si_make_texture_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2676:7: return_function: returning to ‘si_make_texture_handle_resident’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2676:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct si_context *)ctx.resident_tex_handles, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def800]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2732:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*view.resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2698:17: enter_function: entry to ‘si_create_image_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2705:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2709:7: branch_false: following ‘false’ branch (when ‘img_handle’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2712:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2713:4: call_function: inlined call to ‘si_init_descriptor_list’ from ‘si_create_image_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2713:4: call_function: inlined call to ‘si_init_descriptor_list’ from ‘si_create_image_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2718:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2723:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2725:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2730:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2730:4: call_function: calling ‘util_copy_image_view’ from ‘si_create_image_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2730:4: return_function: returning to ‘si_create_image_handle’ from ‘util_copy_image_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2732:4: danger: dereference of NULL ‘*view.resource’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def801]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2781:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2757:13: enter_function: entry to ‘si_make_image_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2767:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2770:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2774:7: branch_true: following ‘true’ branch (when ‘resident != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2775:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2775:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2777:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2779:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2780:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2780:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2781:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2781:16: call_function: calling ‘util_dynarray_grow_bytes’ from ‘si_make_image_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2781:16: return_function: returning to ‘si_make_image_handle_resident’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2781:16: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct si_context *)ctx.resident_img_needs_color_decompress, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def802]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2802:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2757:13: enter_function: entry to ‘si_make_image_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2767:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2770:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2774:7: branch_true: following ‘true’ branch (when ‘resident != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2775:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2802:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘si_make_image_handle_resident’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2802:7: return_function: returning to ‘si_make_image_handle_resident’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_descriptors.c:2802:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct si_context *)ctx.resident_img_handles, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def803]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_fence.c:375:4: warning[-Wanalyzer-malloc-leak]: leak of ‘si_alloc_fence()’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_fence.c:362:13: enter_function: entry to ‘si_create_fence_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_fence.c:371:13: call_function: calling ‘si_alloc_fence’ from ‘si_create_fence_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_fence.c:371:13: return_function: returning to ‘si_create_fence_fd’ from ‘si_alloc_fence’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_fence.c:372:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_fence.c:375:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_fence.c:375:4: danger: ‘si_alloc_fence()’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def804]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:170:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:592:6: enter_function: entry to ‘si_nir_lower_resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:600:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘si_nir_lower_resource’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def805]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:332:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:592:6: enter_function: entry to ‘si_nir_lower_resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_lower_resource.c:600:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘si_nir_lower_resource’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def806]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1193:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(32)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1226:28: enter_function: entry to ‘radeonsi_screen_create_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1233:7: branch_false: following ‘false’ branch (when ‘sscreen’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug_options.h:1:1: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1293:4: call_function: calling ‘si_setup_force_shader_use_aco’ from ‘radeonsi_screen_create_impl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def807]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1210:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1226:28: enter_function: entry to ‘radeonsi_screen_create_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1233:7: branch_false: following ‘false’ branch (when ‘sscreen’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug_options.h:1:1: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1293:4: call_function: calling ‘si_setup_force_shader_use_aco’ from ‘radeonsi_screen_create_impl’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def808]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1298:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1226:28: enter_function: entry to ‘radeonsi_screen_create_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1233:7: branch_false: following ‘false’ branch (when ‘sscreen’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_debug_options.h:1:1: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1293:4: call_function: calling ‘si_setup_force_shader_use_aco’ from ‘radeonsi_screen_create_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1293:4: return_function: returning to ‘radeonsi_screen_create_impl’ from ‘si_setup_force_shader_use_aco’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1295:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1296:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1295:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1297:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_pipe.c:1298:7: danger: ‘<unknown>’ leaks here; was allocated at [(26)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def809]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_query.c:532:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘qbuf’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_query.c:1449:13: enter_function: entry to ‘si_query_hw_resume’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_query.c:1451:4: call_function: calling ‘si_query_hw_emit_start’ from ‘si_query_hw_resume’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def810]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3275:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3501:13: enter_function: entry to ‘si_shader_select_ps_parts’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3511:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3513:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3513:10: call_function: calling ‘si_get_shader_part’ from ‘si_shader_select_ps_parts’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def811]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3636:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*shader.gs_copy_shader’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3581:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3603:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3603:10: branch_false: following ‘false’ branch (when ‘mainp’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3606:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3629:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3635:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3635:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_shader.c:3636:13: danger: argument 1 (‘calloc(1, 1472)’) from [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def812]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:773:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:736:1: enter_function: entry to ‘si_sqtt_add_code_object’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:745:7: branch_false: following ‘false’ branch (when ‘record’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:749:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:753:25: branch_true: following ‘true’ branch (when ‘i != 14’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:757:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:757:10: branch_false: following ‘false’ branch (when ‘gfx_sh_offsets’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:762:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:762:17: branch_true: following ‘true’ branch (when ‘i <= 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:763:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:763:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:766:21: call_function: calling ‘si_sqtt_pipe_to_rgp_shader_stage’ from ‘si_sqtt_add_code_object’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:766:21: return_function: returning to ‘si_sqtt_add_code_object’ from ‘si_sqtt_pipe_to_rgp_shader_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:771:23: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:772:10: branch_false: following ‘false’ branch (when ‘code’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:776:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:778:49: branch_true: following ‘true’ branch (when ‘gfx_sh_offsets’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:778:81: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:753:25: branch_true: following ‘true’ branch (when ‘i != 14’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:757:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:757:10: branch_false: following ‘false’ branch (when ‘gfx_sh_offsets’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:762:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:762:17: branch_true: following ‘true’ branch (when ‘i <= 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:763:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:763:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:766:21: call_function: calling ‘si_sqtt_pipe_to_rgp_shader_stage’ from ‘si_sqtt_add_code_object’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:766:21: return_function: returning to ‘si_sqtt_add_code_object’ from ‘si_sqtt_pipe_to_rgp_shader_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:772:10: branch_true: following ‘true’ branch (when ‘code’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:773:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_sqtt.c:773:10: danger: ‘<unknown>’ leaks here; was allocated at [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def813]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:464:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘blend’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4831:14: enter_function: entry to ‘si_create_blend_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4838:11: call_function: calling ‘si_create_blend_state_mode’ from ‘si_create_blend_custom’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def814]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:536:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘blend_cntl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4831:14: enter_function: entry to ‘si_create_blend_custom’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4838:11: call_function: calling ‘si_create_blend_state_mode’ from ‘si_create_blend_custom’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def815]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4053:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4024:34: enter_function: entry to ‘si_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4029:35: call_function: calling ‘align_calloc’ from ‘si_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4029:35: return_function: returning to ‘si_create_sampler_view’ from ‘align_calloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4036:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4040:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4046:4: call_function: calling ‘pipe_resource_reference’ from ‘si_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4046:4: return_function: returning to ‘si_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4053:8: danger: dereference of NULL ‘texture’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def816]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4757:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4738:1: enter_function: entry to ‘si_create_vertex_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4756:40: call_function: calling ‘si_create_vertex_elements’ from ‘si_create_vertex_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4756:40: return_function: returning to ‘si_create_vertex_state’ from ‘si_create_vertex_elements’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4757:4: danger: dereference of NULL ‘si_create_vertex_elements(&ctx.b, num_elements, elements)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def817]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4757:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4738:1: enter_function: entry to ‘si_create_vertex_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4746:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4756:40: call_function: calling ‘si_create_vertex_elements’ from ‘si_create_vertex_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4756:40: return_function: returning to ‘si_create_vertex_state’ from ‘si_create_vertex_elements’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state.c:4757:4: danger: ‘state’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def818]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:39:11: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:19:42: enter_function: entry to ‘si_create_so_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:27:8: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:28:7: branch_false: following ‘false’ branch (when ‘t’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:32:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:34:4: call_function: calling ‘pipe_resource_reference’ from ‘si_create_so_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:34:4: return_function: returning to ‘si_create_so_target’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_state_streamout.c:39:11: danger: ‘t’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def819]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:350:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cpu’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:306:20: branch_true: following ‘true’ branch (when ‘i != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:307:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:310:23: branch_true: following ‘true’ branch (when ‘l != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:311:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:315:23: branch_true: following ‘true’ branch (when ‘l != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:316:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:318:23: branch_true: following ‘true’ branch (when ‘j != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:319:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:320:26: branch_true: following ‘true’ branch (when ‘k != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:321:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:321:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:324:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:327:16: branch_false: following ‘false’ branch (when ‘domain == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:340:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:347:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:349:24: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:350:13: danger: argument 1 (‘cpu’) from [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def820]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:360:19: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ptr’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:306:20: branch_true: following ‘true’ branch (when ‘i != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:307:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:310:23: branch_true: following ‘true’ branch (when ‘l != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:311:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:315:23: branch_true: following ‘true’ branch (when ‘l != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:316:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:318:23: branch_true: following ‘true’ branch (when ‘j != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:319:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:320:26: branch_true: following ‘true’ branch (when ‘k != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:321:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:321:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:324:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:327:16: branch_false: following ‘false’ branch (when ‘domain == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:340:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:340:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:347:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:355:32: branch_true: following ‘true’ branch (when ‘loop != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:356:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:360:19: danger: argument 1 (‘ptr’) from [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def821]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:440:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘clear_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:431:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:434:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:434:41: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:439:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:440:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:440:10: danger: ‘clear_value + (sizetype)i’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def822]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:441:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘init_dst_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:431:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:434:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:435:45: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:439:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:440:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:441:10: danger: ‘init_dst_buffer + (sizetype)i’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def823]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:442:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘expected_dst_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:431:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:434:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:436:49: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:439:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:440:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:442:10: danger: ‘expected_dst_buffer + (sizetype)i’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def824]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘init_src_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:546:45: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:10: danger: ‘init_src_buffer + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def825]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:553:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘init_dst_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:547:45: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:553:10: danger: ‘init_dst_buffer + (sizetype)i’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def826]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:564:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘expected_dst_buffer’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:548:49: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:564:7: danger: argument 1 (‘expected_dst_buffer’) from [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def827]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:599:26: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘read_dst_buffer’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:522:6: enter_function: entry to ‘si_test_copy_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:549:45: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:571:31: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:574:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:577:31: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:580:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:583:31: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:586:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:597:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:598:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:598:10: call_function: calling ‘pipe_buffer_read’ from ‘si_test_copy_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:598:10: return_function: returning to ‘si_test_copy_buffer’ from ‘pipe_buffer_read’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:599:26: danger: argument 1 (‘read_dst_buffer’) from [(2)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/1) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def828]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:610:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:522:6: enter_function: entry to ‘si_test_copy_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:551:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:552:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:571:31: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:574:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:577:31: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:580:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:583:31: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:586:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:597:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:598:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:598:10: call_function: calling ‘pipe_buffer_read’ from ‘si_test_copy_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:598:10: return_function: returning to ‘si_test_copy_buffer’ from ‘pipe_buffer_read’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:606:34: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:610:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_dma_perf.c:610:23: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def829]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2123:11: warning[-Wanalyzer-malloc-leak]: leak of ‘trans’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:1998:14: enter_function: entry to ‘si_texture_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2015:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2018:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2064:12: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2065:7: branch_false: following ‘false’ branch (when ‘trans’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2067:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2067:4: call_function: calling ‘pipe_resource_reference’ from ‘si_texture_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2067:4: return_function: returning to ‘si_texture_transfer_map’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2072:7: branch_true: following ‘true’ branch (when ‘use_staging_texture != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2075:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2078:7: call_function: calling ‘si_init_temp_resource_from_box’ from ‘si_texture_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2078:7: return_function: returning to ‘si_texture_transfer_map’ from ‘si_init_temp_resource_from_box’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2090:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2094:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2097:7: call_function: calling ‘si_texture_get_offset’ from ‘si_texture_transfer_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2097:7: return_function: returning to ‘si_texture_transfer_map’ from ‘si_texture_get_offset’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2119:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2122:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2123:11: danger: ‘trans’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def830]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2309:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2259:29: enter_function: entry to ‘si_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2289:33: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2291:7: branch_false: following ‘false’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2297:4: call_function: inlined call to ‘pipe_reference_init’ from ‘si_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2298:4: call_function: calling ‘pipe_resource_reference’ from ‘si_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2298:4: return_function: returning to ‘si_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_texture.c:2309:11: danger: ‘surface’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def831]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:267:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘alloc_entry’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:1267:1: enter_function: entry to ‘svga_get_timestamp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:1269:27: call_function: calling ‘svga_create_query’ from ‘svga_get_timestamp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def832]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:736:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sq’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:1267:1: enter_function: entry to ‘svga_get_timestamp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:1269:27: call_function: calling ‘svga_create_query’ from ‘svga_get_timestamp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def833]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:838:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘q’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:1267:1: enter_function: entry to ‘svga_get_timestamp’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_query.c:1273:4: call_function: calling ‘svga_begin_query’ from ‘svga_get_timestamp’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def834]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:188:7: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:211:1: enter_function: entry to ‘svga_create_sampler_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:217:7: branch_false: following ‘false’ branch (when ‘cso’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:220:42: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:260:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:261:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:261:7: call_function: calling ‘define_sampler_state_object’ from ‘svga_create_sampler_state’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def835]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:365:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:342:1: enter_function: entry to ‘svga_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:347:40: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:349:7: branch_false: following ‘false’ branch (when ‘sv’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:353:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:356:4: call_function: calling ‘pipe_resource_reference’ from ‘svga_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:356:4: return_function: returning to ‘svga_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_sampler.c:365:11: danger: ‘sv’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def836]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:382:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sot’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:357:1: enter_function: entry to ‘svga_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:371:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:372:7: branch_false: following ‘false’ branch (when ‘sot’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:375:4: call_function: inlined call to ‘pipe_reference_init’ from ‘svga_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:376:4: call_function: calling ‘pipe_resource_reference’ from ‘svga_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:376:4: return_function: returning to ‘svga_create_stream_output_target’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_pipe_streamout.c:382:11: danger: ‘sot’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def837]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_resource_buffer.c:592:11: warning[-Wanalyzer-malloc-leak]: leak of ‘sbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_resource_buffer.c:561:1: enter_function: entry to ‘svga_user_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_resource_buffer.c:569:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_resource_buffer.c:570:7: branch_false: following ‘false’ branch (when ‘sbuf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_resource_buffer.c:573:4: call_function: inlined call to ‘pipe_reference_init’ from ‘svga_user_buffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_resource_buffer.c:592:11: danger: ‘sbuf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def838]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:203:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:39:1: enter_function: entry to ‘svga_get_tex_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:46:30: release_memory: ‘sv’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:46:30: release_memory: ‘sv’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:77:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:78:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:77:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:79:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:77:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:80:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_sampler_view.c:80:10: call_function: calling ‘svga_sampler_view_reference’ from ‘svga_get_tex_sampler_view’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def839]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:722:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&viewports’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:677:1: enter_function: entry to ‘emit_viewport’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:692:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:695:12: call_function: inlined call to ‘svga_have_vgpu10’ from ‘emit_viewport’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:695:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:717:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:719:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:722:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:722:7: danger: use of uninitialized value ‘&viewports’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def840]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:729:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&prescale’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:692:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:727:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:726:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:728:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_framebuffer.c:729:7: danger: use of uninitialized value ‘&prescale’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def841]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_tgsi_transform.c:38:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_tgsi_transform.c:402:1: enter_function: entry to ‘update_tgsi_transform’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_tgsi_transform.c:414:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_tgsi_transform.c:415:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_state_tgsi_transform.c:415:7: call_function: calling ‘write_vpos’ from ‘update_tgsi_transform’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def842]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:403:4: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:515:1: enter_function: entry to ‘svga_validate_surface_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:534:38: branch_true: following ‘true’ branch (when ‘shader != 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:535:60: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:535:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:534:69: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:553:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_surface.c:554:11: call_function: calling ‘create_backed_surface_view’ from ‘svga_validate_surface_view’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def843]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_swtnl_backend.c:372:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘svga_render’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_swtnl_backend.c:370:43: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_swtnl_backend.c:372:4: danger: ‘svga_render’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def844]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_swtnl_backend.c:390:11: warning[-Wanalyzer-malloc-leak]: leak of ‘svga_render’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_swtnl_backend.c:370:43: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/svga/svga_swtnl_backend.c:390:11: danger: ‘svga_render’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def845]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:855:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘presource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:836:1: enter_function: entry to ‘tegra_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:845:7: branch_false: following ‘false’ branch (when ‘view’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:848:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:853:4: call_function: calling ‘pipe_resource_reference’ from ‘tegra_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:853:4: return_function: returning to ‘tegra_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:855:16: danger: dereference of NULL ‘presource’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def846]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:862:11: warning[-Wanalyzer-malloc-leak]: leak of ‘view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:836:1: enter_function: entry to ‘tegra_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:844:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:845:7: branch_false: following ‘false’ branch (when ‘view’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:848:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:853:4: call_function: calling ‘pipe_resource_reference’ from ‘tegra_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:853:4: return_function: returning to ‘tegra_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:862:11: danger: ‘view’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def847]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:904:4: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:879:1: enter_function: entry to ‘tegra_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:887:14: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:888:7: branch_false: following ‘false’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:891:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:893:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:898:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:903:4: call_function: calling ‘pipe_resource_reference’ from ‘tegra_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:903:4: return_function: returning to ‘tegra_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_context.c:904:4: danger: ‘surface’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def848]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_screen.c:263:4: warning[-Wanalyzer-malloc-leak]: leak of ‘resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_screen.c:250:15: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_screen.c:251:7: branch_false: following ‘false’ branch (when ‘resource’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_screen.c:254:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_screen.c:256:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_screen.c:261:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/tegra/tegra_screen.c:263:4: danger: ‘resource’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def849]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pquery’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:209:18: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:210:12: branch_false: following ‘false’ branch (when ‘pquery’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:213:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:214:12: branch_false: following ‘false’ branch (when ‘perfmon’ is non-NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:219:21: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:222:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_perfcnt.c:226:9: danger: ‘pquery’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def850]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:281:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pquery’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:275:12: branch_false: following ‘false’ branch (when ‘query_type <= 255’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:278:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:278:41: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:281:9: danger: ‘pquery’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def851]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:287:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pquery’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:275:12: branch_false: following ‘false’ branch (when ‘query_type <= 255’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:278:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:278:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_query_pipe.c:287:9: danger: ‘pquery’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def852]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:754:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prsc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1076:1: enter_function: entry to ‘v3d_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1086:12: branch_false: following ‘false’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1090:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1094:9: call_function: calling ‘pipe_resource_reference’ from ‘v3d_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1094:9: return_function: returning to ‘v3d_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1102:27: call_function: calling ‘v3d_layer_offset’ from ‘v3d_create_surface’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def853]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:775:20: warning[-Wanalyzer-malloc-leak]: leak of ‘v3d_resource_setup(pscreen, tmpl)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:897:1: enter_function: entry to ‘v3d_resource_from_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:903:36: call_function: calling ‘v3d_resource_setup’ from ‘v3d_resource_from_handle’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:903:36: return_function: returning to ‘v3d_resource_from_handle’ from ‘v3d_resource_setup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:907:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:910:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:775:20: danger: ‘v3d_resource_setup(pscreen, tmpl)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def854]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:830:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v3d_resource_setup(pscreen, tmpl)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:889:1: enter_function: entry to ‘v3d_resource_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:893:16: call_function: calling ‘v3d_resource_create_with_modifiers’ from ‘v3d_resource_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def855]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1147:16: warning[-Wanalyzer-malloc-leak]: leak of ‘surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1076:1: enter_function: entry to ‘v3d_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1083:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1086:12: branch_false: following ‘false’ branch (when ‘surface’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1090:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1094:9: call_function: calling ‘pipe_resource_reference’ from ‘v3d_create_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1094:9: return_function: returning to ‘v3d_create_surface’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1114:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1128:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1134:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1141:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1141:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1147:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3d_resource.c:1147:16: danger: ‘surface’ leaks here; was allocated at [(2)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def856]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1226:16: warning[-Wanalyzer-malloc-leak]: leak of ‘target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1208:1: enter_function: entry to ‘v3d_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1215:18: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1216:12: branch_false: following ‘false’ branch (when ‘target’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1219:9: call_function: inlined call to ‘pipe_reference_init’ from ‘v3d_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1220:9: call_function: calling ‘pipe_resource_reference’ from ‘v3d_create_stream_output_target’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1220:9: return_function: returning to ‘v3d_create_stream_output_target’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1226:16: danger: ‘target’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def857]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:255:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:356:1: enter_function: entry to ‘vc4_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:358:9: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘vc4_nir_lower_io’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:358:9: return_function: returning to ‘vc4_nir_lower_io’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:358:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_nir_lower_io.c:359:17: call_function: calling ‘vc4_nir_lower_io_impl’ from ‘vc4_nir_lower_io’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def858]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qir.c:592:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qir.c:590:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qir.c:592:9: danger: ‘inst’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def859]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:451:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def860]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:458:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def861]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:462:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def862]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:466:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def863]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:477:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def864]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:486:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def865]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:503:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def866]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:516:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def867]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:537:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def868]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:549:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def869]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:561:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)((char *)&dst + offsetof(struct qpu_reg, mux))’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:590:1: enter_function: entry to ‘vc4_generate_code’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:596:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:599:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:609:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_emit.c:610:17: call_function: calling ‘vc4_generate_code_block’ from ‘vc4_generate_code’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def870]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:229:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1078:1: enter_function: entry to ‘qpu_schedule_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1112:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1113:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1116:27: call_function: calling ‘qpu_schedule_instructions_block’ from ‘qpu_schedule_instructions’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def871]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:325:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1078:1: enter_function: entry to ‘qpu_schedule_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1112:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1113:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_qpu_schedule.c:1116:27: call_function: calling ‘qpu_schedule_instructions_block’ from ‘qpu_schedule_instructions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def872]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_register_allocate.c:266:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘temp_registers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_register_allocate.c:255:42: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_register_allocate.c:265:30: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_register_allocate.c:266:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_register_allocate.c:266:37: danger: ‘temp_registers + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def873]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:71:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘uniform_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:46:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:49:33: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:50:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:50:28: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:53:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:53:28: branch_true: following ‘true’ branch (when ‘new == 4294967295’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:54:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:55:36: branch_true: following ‘true’ branch (when ‘uniform_index_size <= next_uniform’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:57:49: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:71:38: release_memory: ‘uniform_index’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_reorder_uniforms.c:71:25: danger: dereference of NULL ‘uniform_index + (long unsigned int)new * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def874]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:573:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prsc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:548:1: enter_function: entry to ‘vc4_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:554:12: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:557:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:560:9: call_function: calling ‘pipe_resource_reference’ from ‘vc4_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:560:9: return_function: returning to ‘vc4_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:573:13: danger: dereference of NULL ‘prsc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def875]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:579:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prsc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:548:1: enter_function: entry to ‘vc4_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:554:12: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:557:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:560:9: call_function: calling ‘pipe_resource_reference’ from ‘vc4_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:560:9: return_function: returning to ‘vc4_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:571:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:572:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:571:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:576:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:579:44: danger: dereference of NULL ‘prsc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def876]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:633:16: warning[-Wanalyzer-malloc-leak]: leak of ‘so’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:548:1: enter_function: entry to ‘vc4_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:551:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:554:12: branch_false: following ‘false’ branch (when ‘so’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:557:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:560:9: call_function: calling ‘pipe_resource_reference’ from ‘vc4_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:560:9: return_function: returning to ‘vc4_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:592:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:599:43: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/vc4/vc4_state.c:633:16: danger: ‘so’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def877]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1135:11: warning[-Wanalyzer-malloc-leak]: leak of ‘grview’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1108:34: enter_function: entry to ‘virgl_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1117:7: branch_false: following ‘false’ branch (when ‘state’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1120:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1120:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1121:7: branch_false: following ‘false’ branch (when ‘grview’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1125:13: call_function: inlined call to ‘virgl_object_assign_handle’ from ‘virgl_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1133:4: call_function: calling ‘pipe_resource_reference’ from ‘virgl_create_sampler_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1133:4: return_function: returning to ‘virgl_create_sampler_view’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1135:11: danger: ‘grview’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def878]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1685:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vctx’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1682:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_context.c:1685:4: danger: ‘vctx’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def879]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:759:7: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:740:7: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:747:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:751:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:754:13: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:757:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:757:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:759:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:759:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:759:7: danger: ‘str’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def880]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.h:63:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘stride’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:1070:7: branch_false: following ‘false’ branch (when ‘encode_stride != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:1073:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:1073:14: branch_false: following ‘false’ branch (when ‘encode_stride != 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:1084:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_encode.c:1087:4: call_function: inlined call to ‘virgl_encoder_write_dword’ from ‘virgl_encoder_transfer3d_common’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def881]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:649:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:646:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:649:4: danger: ‘res’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def882]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:725:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:720:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:723:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:723:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:724:7: branch_true: following ‘true’ branch (when ‘templ’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:725:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_resource.c:725:7: danger: ‘res’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def883]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:87:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘**targets.buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:72:13: enter_function: entry to ‘virgl_set_so_targets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:80:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:81:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:81:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:82:37: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:85:10: call_function: calling ‘pipe_resource_reference’ from ‘virgl_set_so_targets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:85:10: return_function: returning to ‘virgl_set_so_targets’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_streamout.c:87:10: danger: dereference of NULL ‘**_3.buffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def884]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_video.c:1272:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_video.c:1268:13: enter_function: entry to ‘virgl_video_destroy_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_video.c:1270:39: call_function: inlined call to ‘virgl_video_buffer’ from ‘virgl_video_destroy_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_video.c:1272:5: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/virgl/virgl_video.c:1272:5: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def885]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5042:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4602:1: enter_function: entry to ‘nir_to_spirv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4620:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4620:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4624:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4778:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4778:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4778:4: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘nir_to_spirv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4778:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4779:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4778:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4778:4: branch_true: following ‘true’ branch (when ‘var’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4778:4: call_function: inlined call to ‘_nir_shader_variable_has_mode’ from ‘nir_to_spirv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4781:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4785:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4785:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4785:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4795:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4798:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4798:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4800:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4804:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4804:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4804:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4806:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4809:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4809:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4809:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4811:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4820:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4820:4: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4820:4: branch_false: following ‘false’ branch (when ‘var’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:4830:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5007:8: call_function: calling ‘__bitset_test_range’ from ‘nir_to_spirv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5007:8: return_function: returning to ‘nir_to_spirv’ from ‘__bitset_test_range’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5039:31: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_to_spirv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5039:31: return_function: returning to ‘nir_to_spirv’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c:5042:15: danger: dereference of NULL ‘nir_shader_get_entrypoint(s)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def886]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:71:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:797:1: enter_function: entry to ‘zink_end_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:811:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:815:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:815:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:818:10: call_function: inlined call to ‘pop_batch_state’ from ‘zink_end_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:819:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:819:10: call_function: calling ‘zink_reset_batch_state’ from ‘zink_end_batch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def887]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1062:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1049:1: enter_function: entry to ‘zink_batch_reference_resource_move’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1054:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1055:37: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1062:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_batch_reference_resource_move’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1062:7: return_function: returning to ‘zink_batch_reference_resource_move’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1062:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*bs.swapchain_obj, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def888]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1101:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1088:1: enter_function: entry to ‘zink_batch_reference_resource_move_unsync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1093:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1094:37: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1101:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_batch_reference_resource_move_unsync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1101:7: return_function: returning to ‘zink_batch_reference_resource_move_unsync’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:1101:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*bs.swapchain_obj_unsync, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def889]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:130:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:875:1: enter_function: entry to ‘zink_fb_clears_apply_region’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:877:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:878:23: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:879:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:879:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:880:13: call_function: calling ‘fb_clears_apply_or_discard_internal’ from ‘zink_fb_clears_apply_region’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def890]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:258:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pcolor’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:875:1: enter_function: entry to ‘zink_fb_clears_apply_region’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:877:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:878:23: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:879:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:879:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_clear.c:880:13: call_function: calling ‘fb_clears_apply_or_discard_internal’ from ‘zink_fb_clears_apply_region’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def891]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:977:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘pool’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1576:1: enter_function: entry to ‘zink_batch_descriptor_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1578:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1579:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1578:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1579:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1578:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1579:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1578:25: branch_true: following ‘true’ branch (when ‘i != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1579:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1578:25: branch_false: following ‘false’ branch (when ‘i == 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1580:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1580:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1581:28: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1582:37: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1582:37: call_function: calling ‘create_push_pool’ from ‘zink_batch_descriptor_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def892]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:992:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1305:1: enter_function: entry to ‘zink_descriptors_update’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1375:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1375:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1376:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1419:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1419:13: branch_false: following ‘false’ branch (when ‘have_KHR_push_descriptor == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1424:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1424:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1425:118: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1425:52: call_function: calling ‘check_push_pool_alloc’ from ‘zink_descriptors_update’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def893]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1712:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1697:1: enter_function: entry to ‘zink_descriptor_util_init_fbfetch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1699:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1702:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1707:26: call_function: calling ‘create_gfx_layout’ from ‘zink_descriptor_util_init_fbfetch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1707:26: return_function: returning to ‘zink_descriptor_util_init_fbfetch’ from ‘create_gfx_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1707:4: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1710:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1712:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_descriptors.c:1712:7: danger: dereference of NULL ‘create_gfx_layout(ctx, &*ctx.dd.push_layout_keys[0], 1)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def894]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:251:1: enter_function: entry to ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:256:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: return_function: returning to ‘zink_fence_server_sync’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*MEM[(struct zink_context *)pctx_12(D)].bs.wait_semaphores, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def895]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:263:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:251:1: enter_function: entry to ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:256:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: return_function: returning to ‘zink_fence_server_sync’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:263:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:263:4: return_function: returning to ‘zink_fence_server_sync’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:263:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*MEM[(struct zink_context *)pctx_12(D)].bs.wait_semaphore_stages, 1, 4)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def896]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:265:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:251:1: enter_function: entry to ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:256:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:262:4: return_function: returning to ‘zink_fence_server_sync’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:263:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:263:4: return_function: returning to ‘zink_fence_server_sync’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:264:4: call_function: inlined call to ‘pipe_reference’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:264:4: call_function: inlined call to ‘pipe_reference’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:265:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_fence_server_sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:265:4: return_function: returning to ‘zink_fence_server_sync’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_fence.c:265:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*MEM[(struct zink_context *)pctx_12(D)].bs.fences, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def897]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:154:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:147:1: enter_function: entry to ‘destroy_swapchain’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:152:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:153:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:153:7: call_function: calling ‘simple_mtx_lock’ from ‘destroy_swapchain’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:153:7: return_function: returning to ‘destroy_swapchain’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:154:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘destroy_swapchain’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:154:7: return_function: returning to ‘destroy_swapchain’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_kopper.c:154:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*screen.semaphores, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def898]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_pipeline.c:640:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘binding_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_pipeline.c:900:1: enter_function: entry to ‘zink_find_or_create_input_dynamic’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_pipeline.c:904:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_pipeline.c:905:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_pipeline.c:907:24: call_function: calling ‘zink_create_gfx_pipeline_input’ from ‘zink_find_or_create_input_dynamic’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def899]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:293:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: return_function: returning to ‘gfx_program_precompile_job’ from ‘gfx_program_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2199:4: call_function: calling ‘generate_gfx_program_modules_optimal’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def900]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:469:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: return_function: returning to ‘gfx_program_precompile_job’ from ‘gfx_program_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2199:4: call_function: calling ‘generate_gfx_program_modules_optimal’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def901]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1047:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘libs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def902]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1061:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prog’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2210:1: enter_function: entry to ‘zink_link_gfx_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2226:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2227:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2240:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2244:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2244:36: call_function: calling ‘gfx_program_create’ from ‘zink_link_gfx_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2244:36: return_function: returning to ‘zink_link_gfx_shader’ from ‘gfx_program_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2250:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2251:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2252:7: call_function: calling ‘gfx_program_init’ from ‘zink_link_gfx_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def903]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1083:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def904]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1179:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘nir[2]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def905]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1195:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prog’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2210:1: enter_function: entry to ‘zink_link_gfx_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2226:25: branch_true: following ‘true’ branch (when ‘i != 5’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2227:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2240:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2244:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2244:36: call_function: calling ‘gfx_program_create’ from ‘zink_link_gfx_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2244:36: return_function: returning to ‘zink_link_gfx_shader’ from ‘gfx_program_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2250:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2251:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2252:7: call_function: calling ‘gfx_program_init’ from ‘zink_link_gfx_shader’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def906]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2158:4: warning[-Wanalyzer-malloc-leak]: leak of ‘gkey’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: return_function: returning to ‘gfx_program_precompile_job’ from ‘gfx_program_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2199:4: call_function: calling ‘generate_gfx_program_modules_optimal’ from ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2199:4: return_function: returning to ‘gfx_program_precompile_job’ from ‘generate_gfx_program_modules_optimal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2201:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2202:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2202:7: call_function: calling ‘simple_mtx_lock’ from ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2202:7: return_function: returning to ‘gfx_program_precompile_job’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2203:7: call_function: calling ‘zink_create_pipeline_lib’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def907]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_query.c:394:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_query.c:401:1: enter_function: entry to ‘unref_vk_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_query.c:405:4: call_function: calling ‘unref_vk_pool’ from ‘unref_vk_query’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def908]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_query.c:394:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘start’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_query.c:1053:1: enter_function: entry to ‘zink_end_query’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_query.c:1085:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_query.c:1086:7: call_function: inlined call to ‘update_query_id’ from ‘zink_end_query’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def909]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_render_pass.c:528:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_render_pass.c:820:1: enter_function: entry to ‘zink_begin_render_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_render_pass.c:822:4: call_function: calling ‘setup_framebuffer’ from ‘zink_begin_render_pass’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def910]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_resource.h:182:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*bs.acquires.data’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_screen.c:1749:1: enter_function: entry to ‘zink_flush_frontbuffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_screen.c:1770:7: call_function: inlined call to ‘zink_resource_reference’ from ‘zink_flush_frontbuffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_screen.c:1770:7: call_function: inlined call to ‘zink_resource_reference’ from ‘zink_flush_frontbuffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_screen.c:1772:7: call_function: calling ‘zink_batch_resource_usage_set’ from ‘zink_flush_frontbuffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def911]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_resource.h:182:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:966:1: enter_function: entry to ‘zink_batch_reference_resource_rw’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_batch.c:974:4: call_function: calling ‘zink_batch_resource_usage_set’ from ‘zink_batch_reference_resource_rw’
Error: GCC_ANALYZER_WARNING: [#def912]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_screen.c:3366:13: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_screen.c:3757:1: enter_function: entry to ‘zink_win32_create_screen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_screen.c:3759:30: call_function: calling ‘zink_internal_create_screen’ from ‘zink_win32_create_screen’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def913]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:160:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘strides[j]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:793:1: enter_function: entry to ‘zink_create_vertex_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:801:7: branch_false: following ‘false’ branch (when ‘zstate’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:806:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:814:47: call_function: calling ‘zink_create_vertex_elements_state’ from ‘zink_create_vertex_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def914]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:815:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘zink_create_vertex_elements_state(&ctx.base, num_elements, elements)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:793:1: enter_function: entry to ‘zink_create_vertex_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:801:7: branch_false: following ‘false’ branch (when ‘zstate’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:806:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:814:47: call_function: calling ‘zink_create_vertex_elements_state’ from ‘zink_create_vertex_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:814:47: return_function: returning to ‘zink_create_vertex_state’ from ‘zink_create_vertex_elements_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_state.c:815:4: danger: dereference of NULL ‘zink_create_vertex_elements_state(&ctx.base, num_elements, elements)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def915]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:429:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:407:1: enter_function: entry to ‘zink_destroy_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:427:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:428:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:429:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:429:10: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_destroy_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:429:10: return_function: returning to ‘zink_destroy_surface’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:429:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*MEM[(struct zink_resource *)_1].obj.views, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def916]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:432:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:407:1: enter_function: entry to ‘zink_destroy_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:427:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:432:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:432:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_destroy_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:432:7: return_function: returning to ‘zink_destroy_surface’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:432:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*MEM[(struct zink_resource *)_1].obj.views, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def917]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:477:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:440:1: enter_function: entry to ‘zink_rebind_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:445:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:448:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:454:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:461:102: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:467:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:472:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:477:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_rebind_surface’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:477:4: return_function: returning to ‘zink_rebind_surface’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:477:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*MEM[(struct zink_resource *)_3].obj.views, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def918]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:539:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:526:1: enter_function: entry to ‘zink_surface_swapchain_update’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:531:7: branch_false: following ‘false’ branch (when ‘cdt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:533:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:533:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:537:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:538:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:539:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:539:10: call_function: calling ‘util_dynarray_grow_bytes’ from ‘zink_surface_swapchain_update’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:539:10: return_function: returning to ‘zink_surface_swapchain_update’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_surface.c:539:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*MEM[(struct zink_resource *)_2].obj.views, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def919]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_helpers.c:136:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fence’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_helpers.c:122:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_helpers.c:129:7: branch_true: following ‘true’ branch (when ‘fd == -1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_helpers.c:131:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_helpers.c:136:9: danger: ‘fence’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def920]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:291:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘all’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:288:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:290:17: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:291:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:291:9: danger: ‘all + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def921]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:293:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘all’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:288:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:290:17: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:292:17: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:293:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:293:9: danger: ‘all + (long unsigned int)index * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def922]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:294:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘all’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:288:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:290:17: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:292:17: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:294:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri_screen.c:294:5: danger: ‘all + (long unsigned int)index * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def923]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:1617:56: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer_fds[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2329:1: enter_function: entry to ‘dri3_find_back_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2334:9: call_function: calling ‘dri3_find_back’ from ‘dri3_find_back_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2334:9: return_function: returning to ‘dri3_find_back_alloc’ from ‘dri3_find_back’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2335:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2338:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2340:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2342:14: call_function: calling ‘dri3_alloc_render_buffer’ from ‘dri3_find_back_alloc’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def924]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:1645:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer_fds[i]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2160:1: enter_function: entry to ‘loader_dri3_get_buffers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2176:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2179:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2182:21: branch_true: following ‘true’ branch (when ‘buf_id != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2185:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2199:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2208:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/loader_dri3_helper.c:2215:18: call_function: calling ‘dri3_get_buffer’ from ‘loader_dri3_get_buffers’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def925]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:215:13: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:411:1: enter_function: entry to ‘lvp_encode_as’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:487:7: branch_false: following ‘false’ branch (when ‘node_depth’ is non-NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:492:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:493:61: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:497:38: branch_true: following ‘true’ branch (when ‘child_index != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:498:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:497:38: branch_true: following ‘true’ branch (when ‘child_index != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:498:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:548:7: branch_true: following ‘true’ branch (when ‘max_node_depth > 23’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:549:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:549:7: call_function: calling ‘lvp_flatten_as’ from ‘lvp_encode_as’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def926]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:239:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:411:1: enter_function: entry to ‘lvp_encode_as’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:487:7: branch_false: following ‘false’ branch (when ‘node_depth’ is non-NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:492:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:493:61: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:497:38: branch_true: following ‘true’ branch (when ‘child_index != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:498:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:497:38: branch_true: following ‘true’ branch (when ‘child_index != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:498:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:548:7: branch_true: following ‘true’ branch (when ‘max_node_depth > 23’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:549:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_acceleration_structure.c:549:7: call_function: calling ‘lvp_flatten_as’ from ‘lvp_encode_as’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def927]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:285:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:978:28: enter_function: entry to ‘lvp_GetDescriptorEXT’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:1085:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:1088:28: call_function: calling ‘get_texture_handle_bda’ from ‘lvp_GetDescriptorEXT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def928]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:309:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:978:28: enter_function: entry to ‘lvp_GetDescriptorEXT’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:1097:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:1100:28: call_function: calling ‘get_image_handle_bda’ from ‘lvp_GetDescriptorEXT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def929]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:463:120: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:444:28: enter_function: entry to ‘lvp_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:453:25: branch_true: following ‘true’ branch (when ‘i < descriptorWriteCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:454:61: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:459:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:461:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:461:13: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_UpdateDescriptorSets’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:461:13: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:463:120: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:463:120: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def930]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:633:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:444:28: enter_function: entry to ‘lvp_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:453:25: branch_true: following ‘true’ branch (when ‘i < descriptorWriteCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:454:61: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:459:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:467:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:630:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:632:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:632:16: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_UpdateDescriptorSets’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:632:16: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:633:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_descriptor_set.c:633:13: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def931]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2366:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2315:32: enter_function: entry to ‘lvp_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2321:25: branch_true: following ‘true’ branch (when ‘i < bindInfoCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2322:59: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2325:39: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2325:39: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2328:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2333:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2333:7: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2333:7: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2360:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2360:10: branch_false: following ‘false’ branch (when ‘did_bind == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2361:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2363:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2365:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2365:16: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2365:16: call_function: inlined call to ‘__vk_find_struct’ from ‘lvp_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2366:63: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_device.c:2366:63: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def932]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:1056:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5308:10: enter_function: entry to ‘lvp_execute_cmds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5351:4: call_function: calling ‘lvp_execute_cmd_buffer’ from ‘lvp_execute_cmds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def933]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:1115:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5308:10: enter_function: entry to ‘lvp_execute_cmds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5351:4: call_function: calling ‘lvp_execute_cmd_buffer’ from ‘lvp_execute_cmds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def934]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:1887:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘draws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5308:10: enter_function: entry to ‘lvp_execute_cmds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5351:4: call_function: calling ‘lvp_execute_cmd_buffer’ from ‘lvp_execute_cmds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def935]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:2631:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘draws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5308:10: enter_function: entry to ‘lvp_execute_cmds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5351:4: call_function: calling ‘lvp_execute_cmd_buffer’ from ‘lvp_execute_cmds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def936]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:2637:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘draws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5308:10: enter_function: entry to ‘lvp_execute_cmds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5351:4: call_function: calling ‘lvp_execute_cmd_buffer’ from ‘lvp_execute_cmds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def937]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:2641:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘draws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5308:10: enter_function: entry to ‘lvp_execute_cmds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5351:4: call_function: calling ‘lvp_execute_cmd_buffer’ from ‘lvp_execute_cmds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def938]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:2669:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5308:10: enter_function: entry to ‘lvp_execute_cmds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/lvp_execute.c:5351:4: call_function: calling ‘lvp_execute_cmd_buffer’ from ‘lvp_execute_cmds’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def939]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:55:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:78:1: enter_function: entry to ‘lvp_lower_input_attachments’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:83:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘lvp_lower_input_attachments’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:83:4: return_function: returning to ‘lvp_lower_input_attachments’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:83:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:84:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:85:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:85:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:85:10: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘lvp_lower_input_attachments’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:85:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:85:10: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:86:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:86:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:91:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:91:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:94:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/lavapipe/nir/lvp_nir_lower_input_attachments.c:94:25: call_function: calling ‘try_lower_input_load’ from ‘lvp_lower_input_attachments’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def940]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:234:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘group’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:176:8: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:179:17: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:186:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:186:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:232:5: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:232:5: release_memory: ‘group’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_buffer_upload.c:234:5: danger: dereference of NULL ‘group’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def941]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:625:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘oPsz.WriteMask’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:352:17: branch_true: following ‘true’ branch (when ‘i != 24’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:353:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:411:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:414:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:414:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:416:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:418:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:425:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:428:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:433:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:594:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:594:9: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:595:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:599:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:604:37: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:608:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:625:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_ff.c:625:9: danger: use of uninitialized value ‘oPsz.WriteMask’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def942]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_helpers.c:28:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘r’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_helpers.c:11:28: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_helpers.c:15:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_helpers.c:17:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_helpers.c:27:17: branch_true: following ‘true’ branch (when ‘i != 63’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_helpers.c:28:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_helpers.c:28:9: danger: ‘r’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def943]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_memory_helper.c:1063:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_memory_helper.c:1057:1: enter_function: entry to ‘nine_allocate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_memory_helper.c:1062:18: call_function: calling ‘align_calloc’ from ‘nine_allocate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_memory_helper.c:1062:18: return_function: returning to ‘nine_allocate’ from ‘align_calloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_memory_helper.c:1063:5: danger: dereference of NULL ‘align_calloc((long unsigned int)(size + 32), 32)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def944]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_shader.h:277:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(328)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3082:1: enter_function: entry to ‘nine_context_update_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3084:5: call_function: calling ‘nine_update_state’ from ‘nine_context_update_state’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def945]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:907:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[b]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3082:1: enter_function: entry to ‘nine_context_update_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3084:5: call_function: calling ‘nine_update_state’ from ‘nine_context_update_state’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def946]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3183:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[b]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3373:1: enter_function: entry to ‘nine_state_prepare_draw_sw’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3386:24: call_function: calling ‘update_vertex_elements_sw’ from ‘nine_state_prepare_draw_sw’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def947]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3192:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vtxbuf_holes_map[dummy_vbo_stream]’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3171:17: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3178:17: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3179:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3180:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3192:48: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/nine_state.c:3192:48: danger: use of uninitialized value ‘vtxbuf_holes_map[dummy_vbo_stream]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def948]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:268:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&nresult’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:201:5: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:202:5: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:202:5: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:203:5: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:203:5: branch_false: following ‘false’ branch (when ‘dwGetDataFlags <= 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:206:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:206:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:217:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:229:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:231:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:231:8: branch_false: following ‘false’ branch (when ‘dwSize != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:234:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/query9.c:268:5: danger: use of uninitialized value ‘&nresult’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def949]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/surface9.c:836:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resource’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/surface9.c:825:1: enter_function: entry to ‘NineSurface9_SetResourceResize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/surface9.c:834:5: call_function: calling ‘pipe_resource_reference’ from ‘NineSurface9_SetResourceResize’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/surface9.c:834:5: return_function: returning to ‘NineSurface9_SetResourceResize’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/nine/surface9.c:836:49: danger: dereference of NULL ‘resource’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def950]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:548:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘supported_nodes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:537:1: enter_function: entry to ‘PrepareDelegate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:541:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:543:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:543:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:543:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:544:4: call_function: calling ‘teflon_debug’ from ‘PrepareDelegate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:544:4: return_function: returning to ‘PrepareDelegate’ from ‘teflon_debug’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:547:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:548:4: danger: ‘supported_nodes’ could be NULL: unchecked value from [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def951]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:758:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘delegate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:743:65: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:756:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:757:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:757:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:758:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:758:10: danger: ‘delegate’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def952]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:764:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘delegate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:743:65: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:756:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:762:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:764:8: danger: ‘delegate’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def953]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:765:7: warning[-Wanalyzer-malloc-leak]: leak of ‘delegate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:743:65: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:764:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:765:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:765:7: danger: ‘delegate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def954]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:774:11: warning[-Wanalyzer-malloc-leak]: leak of ‘delegate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:743:65: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:756:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:757:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:757:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:758:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:756:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:762:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:764:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:769:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/teflon/tfl_device.c:774:11: danger: ‘delegate’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def955]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:224:19: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 48)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:131:7: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:134:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:135:7: branch_false: following ‘false’ branch (when ‘drv’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:138:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:138:7: branch_false: following ‘false’ branch (when ‘pbuff’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:141:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:143:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:151:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:162:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:198:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:201:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:202:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:214:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:220:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:222:32: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:223:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:223:19: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:224:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:224:40: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/buffer.c:224:19: danger: ‘calloc(1, 48)’ leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def956]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1287:1: enter_function: entry to ‘vlVaAddRawHeader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1294:7: branch_true: following ‘true’ branch (when ‘emulation_bytes_start != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1296:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1298:48: branch_false: following ‘false’ branch (when ‘i >= size’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘vlVaAddRawHeader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: return_function: returning to ‘vlVaAddRawHeader’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(headers, 1, 16)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def957]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1314:1: warning[-Wanalyzer-malloc-leak]: leak of ‘header.buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1287:1: enter_function: entry to ‘vlVaAddRawHeader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1294:7: branch_true: following ‘true’ branch (when ‘emulation_bytes_start != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1296:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1296:23: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1298:48: branch_false: following ‘false’ branch (when ‘i >= size’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘vlVaAddRawHeader’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1313:4: return_function: returning to ‘vlVaAddRawHeader’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture.c:1314:1: danger: ‘header.buffer’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def958]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:243:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:170:1: enter_function: entry to ‘vlVaAssociateSubpicture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:186:7: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:188:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:192:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:199:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:197:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:219:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:226:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:231:4: call_function: calling ‘pipe_resource_reference’ from ‘vlVaAssociateSubpicture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:231:4: return_function: returning to ‘vlVaAssociateSubpicture’ from ‘pipe_resource_reference’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:232:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:237:16: branch_true: following ‘true’ branch (when ‘i < num_surfaces’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:238:57: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:239:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:243:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:243:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘vlVaAssociateSubpicture’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:243:7: return_function: returning to ‘vlVaAssociateSubpicture’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/subpicture.c:243:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*<unknown>.subpics, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def959]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:981:20: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:993:1: enter_function: entry to ‘vlVdpDecoderRender’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1023:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1026:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1027:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1029:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1033:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1036:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1036:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1039:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1072:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1076:7: branch_false: ...to here
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1087:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1095:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1096:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1096:10: call_function: calling ‘vlVdpDecoderFixVC1Startcode’ from ‘vlVdpDecoderRender’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def960]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:982:18: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:993:1: enter_function: entry to ‘vlVdpDecoderRender’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1023:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1026:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1027:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1029:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1033:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1036:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1036:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1039:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1072:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1076:7: branch_false: ...to here
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1087:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1095:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1096:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/decode.c:1096:10: call_function: calling ‘vlVdpDecoderFixVC1Startcode’ from ‘vlVdpDecoderRender’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def961]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:246:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dev’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:170:1: enter_function: entry to ‘vlVdpPresentationQueueTargetCreateX11’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:176:7: branch_false: following ‘false’ branch (when ‘drawable != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:179:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:180:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:183:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:184:7: branch_false: following ‘false’ branch (when ‘pqt’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:187:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/device.c:187:4: call_function: calling ‘DeviceReference’ from ‘vlVdpPresentationQueueTargetCreateX11’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def962]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:135:18: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:123:7: branch_false: following ‘false’ branch (when ‘function_id > 4095’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:127:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:127:14: branch_false: following ‘false’ branch (when ‘function_id > 8191’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:133:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:134:10: branch_true: following ‘true’ branch (when ‘function_id <= 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:135:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/ftab.c:135:18: danger: read of 8 bytes at offset ‘function_id * 8 + 34359672832’ exceeds ‘ftab_driver’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def963]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:411:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:260:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:263:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:266:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:268:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:270:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:274:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:275:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:278:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:278:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:281:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:282:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:285:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:295:7: branch_false: following ‘false’ branch (when ‘bg’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:299:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:347:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:388:16: branch_false: following ‘false’ branch (when ‘i >= layer_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:404:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:406:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:407:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:411:16: danger: dereference of NULL ‘pipe’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def964]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:432:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipe’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:260:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:263:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:266:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:268:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:270:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:274:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:275:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:273:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:278:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:278:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:281:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:282:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:285:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:295:7: branch_false: following ‘false’ branch (when ‘bg’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:299:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:347:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:388:16: branch_false: following ‘false’ branch (when ‘i >= layer_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:404:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:406:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:427:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:428:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:428:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:432:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/vdpau/mixer.c:432:16: danger: dereference of NULL ‘pipe’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def965]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/xa/xa_context.c:58:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/xa/xa_context.c:56:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/xa/xa_context.c:58:5: danger: ‘ctx’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def966]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/include/winsys/radeon_winsys.h:782:19: warning[-Wanalyzer-malloc-leak]: leak of ‘si_vce_encode_headers(encoder)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:261:13: enter_function: entry to ‘rvce_encode_bitstream’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:271:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:276:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:276:25: call_function: calling ‘si_vce_encode_headers’ from ‘rvce_encode_bitstream’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:276:25: return_function: returning to ‘rvce_encode_bitstream’ from ‘si_vce_encode_headers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/radeon_vce.c:278:9: call_function: inlined call to ‘radeon_emitted’ from ‘rvce_encode_bitstream’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def967]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:388:14: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:450:1: enter_function: entry to ‘drilCreateNewScreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:455:34: call_function: calling ‘init_dri2_configs’ from ‘drilCreateNewScreen’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def968]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘configs’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:450:1: enter_function: entry to ‘drilCreateNewScreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:456:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:457:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:457:10: branch_false: following ‘false’ branch (when ‘fd == -1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:460:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:460:17: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:462:23: branch_true: following ‘true’ branch (when ‘i != 90’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:25: call_function: calling ‘mem_dup’ from ‘drilCreateNewScreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:25: return_function: returning to ‘drilCreateNewScreen’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:10: danger: ‘configs + (long unsigned int)c * 8’ could be NULL: unchecked value from [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def969]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:469:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mem_dup(&drilConfigs[i], 108)’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:450:1: enter_function: entry to ‘drilCreateNewScreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:456:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:457:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:457:10: branch_false: following ‘false’ branch (when ‘fd == -1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:460:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:462:23: branch_true: following ‘true’ branch (when ‘i != 90’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:25: call_function: calling ‘mem_dup’ from ‘drilCreateNewScreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:464:25: return_function: returning to ‘drilCreateNewScreen’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:467:23: call_function: calling ‘mem_dup’ from ‘drilCreateNewScreen’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:467:23: return_function: returning to ‘drilCreateNewScreen’ from ‘mem_dup’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/targets/dril/dril_target.c:469:10: danger: dereference of NULL ‘mem_dup(&drilConfigs[i], 108)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def970]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:130:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:376:1: enter_function: entry to ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:386:7: branch_false: following ‘false’ branch (when ‘sws’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:389:4: call_function: inlined call to ‘pipe_reference_init’ from ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:400:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:407:47: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:408:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:437:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:438:10: branch_false: following ‘false’ branch (when ‘aws’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:441:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:460:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:462:7: call_function: inlined call to ‘simple_mtx_init’ from ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:470:12: call_function: calling ‘do_winsys_init’ from ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:470:12: return_function: returning to ‘amdgpu_winsys_create’ from ‘do_winsys_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:470:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:476:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:482:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:492:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:492:10: call_function: calling ‘amdgpu_winsys_destroy_locked’ from ‘amdgpu_winsys_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def971]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:140:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:376:1: enter_function: entry to ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:386:7: branch_false: following ‘false’ branch (when ‘sws’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:389:4: call_function: inlined call to ‘pipe_reference_init’ from ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:400:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:407:47: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:408:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:437:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:438:10: branch_false: following ‘false’ branch (when ‘aws’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:441:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:460:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:462:7: call_function: inlined call to ‘simple_mtx_init’ from ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:470:12: call_function: calling ‘do_winsys_init’ from ‘amdgpu_winsys_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:470:12: return_function: returning to ‘amdgpu_winsys_create’ from ‘do_winsys_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:470:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:476:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:482:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:492:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c:492:10: call_function: calling ‘amdgpu_winsys_destroy_locked’ from ‘amdgpu_winsys_create’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def972]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:57:41: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:59:4: danger: ‘batch’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def973]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:71:11: warning[-Wanalyzer-malloc-leak]: leak of ‘batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:54:1: enter_function: entry to ‘i915_drm_batchbuffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:57:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:69:4: call_function: calling ‘i915_drm_batchbuffer_reset’ from ‘i915_drm_batchbuffer_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:69:4: return_function: returning to ‘i915_drm_batchbuffer_create’ from ‘i915_drm_batchbuffer_reset’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/i915/drm/i915_drm_batchbuffer.c:71:11: danger: ‘batch’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def974]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/nouveau/drm/nouveau.c:679:14: warning[-Wanalyzer-malloc-leak]: leak of ‘nvbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/nouveau/drm/nouveau.c:1775:1: enter_function: entry to ‘nouveau_pushbuf_validate’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/nouveau/drm/nouveau.c:1777:11: call_function: calling ‘pushbuf_validate’ from ‘nouveau_pushbuf_validate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def975]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:210:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘n’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1068:31: enter_function: entry to ‘radeon_winsys_bo_from_ptr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1078:7: branch_false: following ‘false’ branch (when ‘bo’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1081:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1088:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1096:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1114:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1117:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/radeon/drm/radeon_drm_bo.c:1117:16: call_function: calling ‘radeon_bomgr_find_va64’ from ‘radeon_winsys_bo_from_ptr’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def976]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:219:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:191:1: enter_function: entry to ‘vmw_dma_bufmgr_create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:201:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:202:6: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:205:4: call_function: inlined call to ‘pipe_reference_init’ from ‘vmw_dma_bufmgr_create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:215:9: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:219:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:219:11: danger: ‘buf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def977]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:257:11: warning[-Wanalyzer-malloc-leak]: leak of ‘mgr’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:247:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:248:6: branch_false: following ‘false’ branch (when ‘mgr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:251:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_buffer.c:257:11: danger: ‘mgr’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def978]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:863:4: warning[-Wanalyzer-malloc-leak]: leak of ‘vswc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:778:1: enter_function: entry to ‘vmw_svga_winsys_context_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:783:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:784:6: branch_false: following ‘false’ branch (when ‘vswc’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:787:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:812:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:815:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:827:6: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:830:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:831:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:834:8: call_function: inlined call to ‘vmw_has_userspace_surface’ from ‘vmw_svga_winsys_context_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:854:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:856:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/svga/drm/vmw_context.c:863:4: danger: ‘vswc’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def979]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/dri/dri_sw_winsys.c:324:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def980]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/dri/dri_sw_winsys.c:410:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/dri/dri_sw_winsys.c:388:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/dri/dri_sw_winsys.c:389:7: branch_false: following ‘false’ branch (when ‘ws’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/dri/dri_sw_winsys.c:392:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/dri/dri_sw_winsys.c:410:11: danger: ‘ws’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def981]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:539:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ws’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:514:9: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:515:7: branch_false: following ‘false’ branch (when ‘ws’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:518:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:539:11: danger: ‘ws’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def982]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:314:11: warning[-Wanalyzer-malloc-leak]: leak of ‘wsw’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:290:36: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:292:7: branch_false: following ‘false’ branch (when ‘wsw’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:295:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:306:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:309:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c:314:11: danger: ‘wsw’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def983]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:150:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:768:13: enter_function: entry to ‘virgl_drm_add_res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:773:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:776:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:776:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:777:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:781:10: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:785:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:790:10: branch_false: following ‘false’ branch (when ‘new_ptr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:794:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:798:4: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:799:4: call_function: calling ‘virgl_drm_resource_reference’ from ‘virgl_drm_add_res’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def984]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:870:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:844:30: enter_function: entry to ‘virgl_drm_cmd_buf_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:849:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:850:7: branch_false: following ‘false’ branch (when ‘cbuf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:853:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:855:9: call_function: calling ‘virgl_drm_alloc_res_list’ from ‘virgl_drm_cmd_buf_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:855:9: return_function: returning to ‘virgl_drm_cmd_buf_create’ from ‘virgl_drm_alloc_res_list’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:855:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:860:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:861:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:868:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/drm/virgl_drm_winsys.c:870:11: danger: ‘cbuf’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def985]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:215:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:497:13: enter_function: entry to ‘virgl_vtest_add_res’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:502:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:505:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:505:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:506:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:510:10: branch_false: following ‘false’ branch (when ‘new_re_bo’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:515:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:519:4: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:520:4: call_function: calling ‘virgl_vtest_resource_reference’ from ‘virgl_vtest_add_res’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def986]
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:550:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:530:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:531:7: branch_false: following ‘false’ branch (when ‘cbuf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:534:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:536:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:541:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:542:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:548:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c:550:11: danger: ‘cbuf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def987]
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1119:14: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1106:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1107:7: branch_false: following ‘false’ branch (when ‘surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1112:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1117:7: branch_true: following ‘true’ branch (when ‘modifiers’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1119:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1119:14: danger: ‘surf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def988]
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1136:11: warning[-Wanalyzer-malloc-leak]: leak of ‘surf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1106:11: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1107:7: branch_false: following ‘false’ branch (when ‘surf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1112:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1117:7: branch_false: following ‘false’ branch (when ‘modifiers’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1122:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1123:7: branch_false: following ‘false’ branch (when ‘count == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1133:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gbm/backends/dri/gbm_dri.c:1136:11: danger: ‘surf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def989]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/dri_common.c:209:11: warning[-Wanalyzer-malloc-leak]: leak of ‘driConfig’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/dri_common.c:967:1: enter_function: entry to ‘dri_screen_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/dri_common.c:972:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/dri_common.c:976:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/dri_common.c:997:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/dri_common.c:1001:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/dri_common.c:1001:14: call_function: calling ‘driConvertConfigs’ from ‘dri_screen_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def990]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxcmds.c:1478:17: warning[-Wanalyzer-malloc-leak]: leak of ‘glXChooseFBConfig(dpy, *vis.screen, & attrib_list, & nconfigs)’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxcmds.c:1787:1: enter_function: entry to ‘glXGetFBConfigFromVisualSGIX’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxcmds.c:1794:18: call_function: calling ‘glXChooseFBConfig’ from ‘glXGetFBConfigFromVisualSGIX’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxcmds.c:1794:18: return_function: returning to ‘glXGetFBConfigFromVisualSGIX’ from ‘glXChooseFBConfig’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxcmds.c:1478:17: danger: ‘glXChooseFBConfig(dpy, *vis.screen, & attrib_list, & nconfigs)’ leaks here; was allocated at [(16)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def991]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1101:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:944:1: enter_function: entry to ‘__glXInitialize’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:963:7: branch_false: following ‘false’ branch (when ‘dpyPriv’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:966:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:967:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:972:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:976:9: call_function: calling ‘QueryVersion’ from ‘__glXInitialize’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:976:9: return_function: returning to ‘__glXInitialize’ from ‘QueryVersion’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:976:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:978:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:976:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:979:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:979:11: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:984:16: branch_true: following ‘true’ branch (when ‘i != 17’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:985:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1020:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1020:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1020:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1021:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1044:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1045:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1093:9: call_function: calling ‘AllocAndFetchScreenConfigs’ from ‘__glXInitialize’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1093:9: return_function: returning to ‘__glXInitialize’ from ‘AllocAndFetchScreenConfigs’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1093:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1096:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1096:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1101:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/glxext.c:1101:10: danger: ‘<unknown>’ leaks here; was allocated at [(29)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def992]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1193:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1168:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1193:4: danger: dereference of NULL ‘get_array_entry(arrays, 32884, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def993]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1241:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1213:7: branch_false: following ‘false’ branch (when ‘stride >= 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1218:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1241:4: danger: dereference of NULL ‘get_array_entry(arrays, 32885, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def994]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1321:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1284:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1321:4: danger: dereference of NULL ‘get_array_entry(arrays, 32886, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def995]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1367:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1339:7: branch_false: following ‘false’ branch (when ‘stride >= 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1344:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1367:4: danger: dereference of NULL ‘get_array_entry(arrays, 32887, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def996]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1392:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1384:7: branch_false: following ‘false’ branch (when ‘stride >= 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1390:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1392:4: danger: dereference of NULL ‘get_array_entry(arrays, 32889, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def997]
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1499:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1448:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/glx/indirect_vertex_array.c:1499:4: danger: dereference of NULL ‘get_array_entry(arrays, 32888, index)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def998]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:146:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def999]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_end.c:37:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_end.c:26:6: enter_function: entry to ‘pco_end’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_end.c:31:28: call_function: inlined call to ‘pco_last_instr’ from ‘pco_end’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_end.c:34:7: call_function: inlined call to ‘pco_cursor_after_block’ from ‘pco_end’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_end.c:36:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_end.c:37:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_end.c:37:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1000]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:116:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:95:13: enter_function: entry to ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:115:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:115:39: call_function: inlined call to ‘nir_src_num_components’ from ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:115:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:116:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:116:10: call_function: calling ‘util_dynarray_grow_bytes’ from ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:116:10: return_function: returning to ‘lower_pfo’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:116:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct pfo_state *)cb_data.stores, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1001]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:163:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:95:13: enter_function: entry to ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:139:45: call_function: calling ‘base_type_from_fmt’ from ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:139:45: return_function: returning to ‘lower_pfo’ from ‘base_type_from_fmt’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:146:19: call_function: calling ‘nir_shader_get_entrypoint’ from ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:146:19: return_function: returning to ‘lower_pfo’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:151:10: branch_true: following ‘true’ branch (when ‘format == 53’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:153:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:153:13: call_function: calling ‘_nir_build_store_output’ from ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:153:13: return_function: returning to ‘lower_pfo’ from ‘_nir_build_store_output’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:163:10: call_function: calling ‘util_dynarray_grow_bytes’ from ‘lower_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:163:10: return_function: returning to ‘lower_pfo’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_nir_pvfio.c:163:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct pfo_state *)cb_data.stores, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1002]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_opt.c:147:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_opt.c:504:6: enter_function: entry to ‘pco_opt’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_opt.c:509:16: call_function: calling ‘prep_mods’ from ‘pco_opt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1003]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:89:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:54:6: enter_function: entry to ‘rogue_nir_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:56:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘rogue_nir_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:56:30: return_function: returning to ‘rogue_nir_pfo’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:60:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:63:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:65:4: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: call_function: inlined call to ‘exec_node_is_tail_sentinel’ from ‘rogue_nir_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:66:7: branch_true: following ‘true’ branch (when ‘instr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:67:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:67:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:76:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:76:20: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:80:18: call_function: inlined call to ‘nir_deref_mode_is’ from ‘rogue_nir_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:80:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:83:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:83:16: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:86:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:86:33: call_function: calling ‘nir_deref_instr_get_variable’ from ‘rogue_nir_pfo’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:86:33: return_function: returning to ‘rogue_nir_pfo’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/nir/rogue_nir_pfo.c:89:13: danger: dereference of NULL ‘nir_deref_instr_get_variable(instr)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1004]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue.h:1488:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘emitpix’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/usc/pvr_uscgen.c:33:6: enter_function: entry to ‘pvr_uscgen_eot’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/usc/pvr_uscgen.c:47:4: call_function: inlined call to ‘rogue_push_block’ from ‘pvr_uscgen_eot’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/usc/pvr_uscgen.c:47:4: call_function: inlined call to ‘rogue_push_block’ from ‘pvr_uscgen_eot’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/usc/pvr_uscgen.c:49:25: branch_false: following ‘false’ branch (when ‘u >= emit_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/usc/pvr_uscgen.c:65:4: call_function: inlined call to ‘rogue_set_backend_op_mod’ from ‘pvr_uscgen_eot’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1005]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:107:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:634:13: enter_function: entry to ‘validate_reg_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:639:41: branch_true: following ‘true’ branch (when ‘class != 11’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:641:37: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:642:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:646:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:646:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:648:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:648:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:652:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:652:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:656:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/rogue/rogue_validate.c:653:13: call_function: calling ‘validate_log’ from ‘validate_reg_state’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1006]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:87:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1071:17: call_function: calling ‘pvr_pds_disassemble_instruction_add32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1007]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:125:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_false: following ‘false’ branch (when ‘opcode_B != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1112:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1114:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1008]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:129:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_false: following ‘false’ branch (when ‘opcode_B != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1112:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1114:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1009]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:153:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_false: following ‘false’ branch (when ‘opcode_B != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1112:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1114:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1010]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:172:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1065:17: call_function: calling ‘pvr_pds_disassemble_instruction_add64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1011]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:234:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1097:17: call_function: calling ‘pvr_pds_disassemble_instruction_ddmad’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1012]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:258:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1077:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1013]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:263:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1077:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1014]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:293:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘add’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1065:17: call_function: calling ‘pvr_pds_disassemble_instruction_add64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1015]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:319:11: warning[-Wanalyzer-malloc-leak]: leak of ‘add’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1065:17: call_function: calling ‘pvr_pds_disassemble_instruction_add64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1016]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:334:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘add’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1071:17: call_function: calling ‘pvr_pds_disassemble_instruction_add32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1017]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:360:11: warning[-Wanalyzer-malloc-leak]: leak of ‘add’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1071:17: call_function: calling ‘pvr_pds_disassemble_instruction_add32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1018]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:375:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stm’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_true: following ‘true’ branch (when ‘opcode_B == 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1118:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1120:17: call_function: calling ‘pvr_pds_disassemble_instruction_stm’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1019]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:416:11: warning[-Wanalyzer-malloc-leak]: leak of ‘stm’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_true: following ‘true’ branch (when ‘opcode_B == 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1118:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1120:17: call_function: calling ‘pvr_pds_disassemble_instruction_stm’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1020]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:431:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_false: following ‘false’ branch (when ‘opcode_B != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1112:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1114:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1021]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:465:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_false: following ‘false’ branch (when ‘opcode_B != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1112:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1114:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1022]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:478:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1109:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1111:7: branch_false: following ‘false’ branch (when ‘opcode_B != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1112:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1114:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp32’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1023]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:493:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1077:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1024]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:526:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1077:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1025]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:539:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1077:17: call_function: calling ‘pvr_pds_disassemble_instruction_sftlp64’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1026]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:552:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmp’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1083:17: call_function: calling ‘pvr_pds_disassemble_instruction_cmp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1027]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:570:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1083:17: call_function: calling ‘pvr_pds_disassemble_instruction_cmp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1028]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:582:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cmp’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1083:17: call_function: calling ‘pvr_pds_disassemble_instruction_cmp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1029]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:599:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1030]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:609:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1031]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:621:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stmc’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1032]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:625:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1033]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:630:11: warning[-Wanalyzer-malloc-leak]: leak of ‘stmc’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1034]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:645:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘limm’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1035]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:650:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 40)’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1036]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:662:11: warning[-Wanalyzer-malloc-leak]: leak of ‘limm’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1037]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:673:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1091:17: call_function: calling ‘pvr_pds_disassemble_instruction_sp’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1038]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:690:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bra’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1089:17: call_function: calling ‘pvr_pds_disassemble_instruction_bra’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1039]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:696:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(8)’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1089:17: call_function: calling ‘pvr_pds_disassemble_instruction_bra’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1040]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:703:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc(8)’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1089:17: call_function: calling ‘pvr_pds_disassemble_instruction_bra’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1041]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:708:11: warning[-Wanalyzer-malloc-leak]: leak of ‘bra’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1089:17: call_function: calling ‘pvr_pds_disassemble_instruction_bra’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1042]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:785:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ddmad’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1097:17: call_function: calling ‘pvr_pds_disassemble_instruction_ddmad’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1043]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:820:11: warning[-Wanalyzer-malloc-leak]: leak of ‘ddmad’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1097:17: call_function: calling ‘pvr_pds_disassemble_instruction_ddmad’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1044]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:835:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mad’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1108:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1126:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1127:14: call_function: calling ‘pvr_pds_disassemble_instruction_mad’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1045]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:886:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dout’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1103:17: call_function: calling ‘pvr_pds_disassemble_instruction_dout’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1046]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:907:11: warning[-Wanalyzer-malloc-leak]: leak of ‘dout’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1052:1: enter_function: entry to ‘pvr_pds_disassemble_instruction2’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1059:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1060:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pds/pvr_pds_disasm.c:1103:17: call_function: calling ‘pvr_pds_disassemble_instruction_dout’ from ‘pvr_pds_disassemble_instruction2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1047]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:1819:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:2011:6: enter_function: entry to ‘pvr_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:2019:25: branch_true: following ‘true’ branch (when ‘i < descriptorWriteCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:2020:58: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:2020:7: call_function: calling ‘pvr_write_descriptor_set’ from ‘pvr_UpdateDescriptorSets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1048]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:1911:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1049]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:1928:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:1898:13: enter_function: entry to ‘pvr_copy_descriptor_set’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:1904:7: call_function: calling ‘pvr_get_descriptor_binding’ from ‘pvr_copy_descriptor_set’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:1904:7: return_function: returning to ‘pvr_copy_descriptor_set’ from ‘pvr_get_descriptor_binding’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_descriptor_set.c:1928:10: danger: dereference of NULL ‘pvr_get_descriptor_binding(*(struct pvr_descriptor_set *)copy_set_60(D)->dstSet.layout, *copy_set.dstBinding)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1050]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:333:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:323:6: enter_function: entry to ‘pvr_hard_code_get_idfwdf_program’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:333:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘pvr_hard_code_get_idfwdf_program’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:333:4: return_function: returning to ‘pvr_hard_code_get_idfwdf_program’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:333:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(program_out, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1051]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:348:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:339:6: enter_function: entry to ‘pvr_hard_code_get_passthrough_vertex_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:348:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘pvr_hard_code_get_passthrough_vertex_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:348:4: return_function: returning to ‘pvr_hard_code_get_passthrough_vertex_shader’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:348:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(program_out, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1052]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:358:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:352:6: enter_function: entry to ‘pvr_hard_code_get_passthrough_rta_vertex_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:358:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘pvr_hard_code_get_passthrough_rta_vertex_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:358:4: return_function: returning to ‘pvr_hard_code_get_passthrough_rta_vertex_shader’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hardcode.c:358:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(program_out, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1053]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1820:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1771:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1782:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1782:7: release_memory: ‘*sp_dsts.color’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1788:26: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1789:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1792:10: branch_false: following ‘false’ branch (when ‘attach_idx != 4294967295’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1795:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1801:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1820:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1820:10: release_memory: ‘*sp_dsts.color’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1820:24: release_memory: ‘*sp_dsts.color’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_hw_pass.c:1820:10: danger: dereference of NULL ‘*sp_dsts.color + (long unsigned int)i * 12’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1054]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_query.c:412:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_query.c:363:6: enter_function: entry to ‘pvr_CmdBeginQuery’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_query.c:372:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_query.c:412:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘pvr_CmdBeginQuery’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_query.c:412:4: return_function: returning to ‘pvr_CmdBeginQuery’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_query.c:412:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&((struct pvr_cmd_buffer_state *)((char *)commandBuffer + 176))[5].query_indices, 1, 4)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1055]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:301:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry_data’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:315:17: enter_function: entry to ‘pvr_transfer_frag_store_get_entry’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:327:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:329:56: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:329:56: release_memory: ‘entry_data’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:331:16: call_function: calling ‘pvr_transfer_frag_store_entry_data_create’ from ‘pvr_transfer_frag_store_get_entry’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:331:16: return_function: returning to ‘pvr_transfer_frag_store_get_entry’ from ‘pvr_transfer_frag_store_entry_data_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:335:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:340:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:340:15: release_memory: ‘entry_data’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:343:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/pvr_transfer_frag_store.c:344:10: call_function: inlined call to ‘pvr_transfer_frag_store_entry_data_destroy’ from ‘pvr_transfer_frag_store_get_entry’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1056]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:197:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:166:10: enter_function: entry to ‘pvr_drm_winsys_compute_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:192:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:196:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:197:20: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_compute_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:197:20: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1057]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:207:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:166:10: enter_function: entry to ‘pvr_drm_winsys_compute_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:204:7: branch_true: following ‘true’ branch (when ‘signal_sync’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:206:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:207:20: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_compute_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_compute.c:207:20: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1058]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:55:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:41:10: enter_function: entry to ‘pvr_drm_winsys_null_job_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:51:7: branch_true: following ‘true’ branch (when ‘wait_count == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:52:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:58:32: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_null_job_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:55:13: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1059]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:89:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:41:10: enter_function: entry to ‘pvr_drm_winsys_null_job_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:51:7: branch_false: following ‘false’ branch (when ‘wait_count != 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:72:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:75:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:83:25: branch_true: following ‘true’ branch (when ‘i < wait_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:84:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:86:10: branch_false: following ‘false’ branch (when ‘src_sync’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:89:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:92:32: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_null_job_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:89:13: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1060]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:106:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:41:10: enter_function: entry to ‘pvr_drm_winsys_null_job_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:51:7: branch_false: following ‘false’ branch (when ‘wait_count != 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:72:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:75:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:107:29: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_null_job_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_null.c:106:10: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1061]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:526:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:463:10: enter_function: entry to ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:521:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:526:20: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:526:20: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1062]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:536:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:463:10: enter_function: entry to ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:533:7: branch_true: following ‘true’ branch (when ‘signal_sync_geom’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:535:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:536:20: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:536:20: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1063]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:597:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:463:10: enter_function: entry to ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:568:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:569:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:592:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:597:23: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:597:23: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1064]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:607:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:463:10: enter_function: entry to ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:568:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:569:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:604:10: branch_true: following ‘true’ branch (when ‘signal_sync_frag’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:606:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:607:23: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_render_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_render.c:607:23: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1065]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:158:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:126:10: enter_function: entry to ‘pvr_drm_winsys_transfer_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:153:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:157:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:158:20: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_transfer_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:158:20: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1066]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:168:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:126:10: enter_function: entry to ‘pvr_drm_winsys_transfer_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:165:7: branch_true: following ‘true’ branch (when ‘signal_sync’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:167:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:168:20: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘pvr_drm_winsys_transfer_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/powervr/pvr_drm_job_transfer.c:168:20: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1067]
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:107:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘display_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:63:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:71:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:71:7: branch_true: following ‘true’ branch (when ‘display_path’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:72:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:72:20: acquire_resource: opened here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:73:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:84:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:85:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:92:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:92:7: branch_false: following ‘false’ branch (when the strings are non-equal)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:99:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:107:7: branch_false: following ‘false’ branch (when ‘result == 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/vulkan/winsys/pvr_winsys.c:107:7: danger: ‘display_fd’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1068]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_brw.h:1338:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_offsets[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:523:1: enter_function: entry to ‘gfx9_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:542:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:543:7: call_function: inlined call to ‘blorp_exec_on_blitter’ from ‘gfx9_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1069]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_brw.h:1348:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_maps[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:523:1: enter_function: entry to ‘gfx9_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:542:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:543:7: call_function: inlined call to ‘blorp_exec_on_blitter’ from ‘gfx9_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1070]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1398:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘urb_deref_block_size’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1308:1: enter_function: entry to ‘blorp_emit_pipeline’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1321:30: call_function: calling ‘blorp_emit_color_calc_state’ from ‘blorp_emit_pipeline’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1321:30: return_function: returning to ‘blorp_emit_pipeline’ from ‘blorp_emit_color_calc_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1322:33: call_function: calling ‘blorp_emit_depth_stencil_state’ from ‘blorp_emit_pipeline’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1322:33: return_function: returning to ‘blorp_emit_pipeline’ from ‘blorp_emit_depth_stencil_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1398:4: danger: use of uninitialized value ‘urb_deref_block_size’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1071]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1583:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_offsets[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: enter_function: entry to ‘gfx7_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:360:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:363:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:363:7: call_function: calling ‘blorp_exec_on_render’ from ‘gfx7_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1072]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/blorp/blorp_genX_exec_elk.h:1593:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘surface_maps[0]’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: enter_function: entry to ‘gfx7_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:360:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:361:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:361:7: call_function: calling ‘blorp_exec_on_compute’ from ‘gfx7_blorp_exec’
Error: COMPILER_WARNING: [#def1073] [important]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/common/intel_clflushopt.c:44:7: error[-Wimplicit-function-declaration]: implicit declaration of function ‘__builtin_ia32_clflushopt’; did you mean ‘__builtin_ia32_clflush’?
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1074]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/common/intel_uuid.c:69:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&shared_uuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1075]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu.c:721:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu.c:709:1: enter_function: entry to ‘brw_num_sources_from_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu.c:714:7: call_function: inlined call to ‘brw_opcode_desc’ from ‘brw_num_sources_from_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu.c:717:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu.c:717:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu.c:721:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu.c:721:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def1076]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2226:8: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2331:1: enter_function: entry to ‘brw_compact_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2334:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2337:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2361:29: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2399:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2404:21: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2406:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2414:10: call_function: calling ‘update_uip_jip’ from ‘brw_compact_instructions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1077]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2366:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘old_ip’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2334:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2337:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2354:18: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2361:29: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2363:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2366:7: danger: ‘old_ip + ((sizetype)offset >> 3) * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1078]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2367:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘compacted_counts’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2334:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2337:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2347:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2361:29: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2363:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2367:7: danger: ‘compacted_counts + ((sizetype)src_offset >> 4) * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1079]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2399:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘old_ip’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2334:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2337:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2354:18: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2361:29: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2399:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2399:4: danger: ‘old_ip + ((long unsigned int)offset >> 3) * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-122): [#def1080]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2408:11: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2334:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2337:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2361:29: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2399:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2404:21: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2406:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_eu_compact.c:2408:11: danger: read of 4 bytes at offset ‘(long unsigned int)(int)(*p.next_insn_offset - (unsigned int)start_offset >> 4) * 4’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1081]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:248:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:180:1: enter_function: entry to ‘brw_nir_analyze_ubo_ranges’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:193:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘brw_nir_analyze_ubo_ranges’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:193:4: return_function: returning to ‘brw_nir_analyze_ubo_ranges’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:193:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:203:4: call_function: inlined call to ‘util_dynarray_init’ from ‘brw_nir_analyze_ubo_ranges’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:205:4: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:206:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:218:14: branch_true: following ‘true’ branch (when ‘offsets != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:222:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:242:13: call_function: calling ‘util_dynarray_grow_bytes’ from ‘brw_nir_analyze_ubo_ranges’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:242:13: return_function: returning to ‘brw_nir_analyze_ubo_ranges’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_analyze_ubo_ranges.c:248:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&ranges, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1082]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:246:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:551:1: enter_function: entry to ‘lower_cmat_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:555:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:561:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_cooperative_matrix.c:564:7: call_function: calling ‘lower_cmat_load_store’ from ‘lower_cmat_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1083]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:53:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:149:1: enter_function: entry to ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:157:7: branch_true: following ‘true’ branch (when ‘any_hit’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:158:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:160:22: call_function: calling ‘lower_any_hit_for_intersection’ from ‘brw_nir_lower_intersection_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1084]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:175:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:149:1: enter_function: entry to ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:157:7: branch_true: following ‘true’ branch (when ‘any_hit’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:158:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:160:22: call_function: calling ‘lower_any_hit_for_intersection’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:160:22: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘lower_any_hit_for_intersection’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:164:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:164:30: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:166:24: call_function: calling ‘nir_before_impl’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:166:24: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘nir_before_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:169:22: call_function: calling ‘brw_nir_rt_mem_hit_addr’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:169:22: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘brw_nir_rt_mem_hit_addr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:172:4: call_function: inlined call to ‘nir_imm_false’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:172:4: call_function: inlined call to ‘nir_imm_false’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:175:4: danger: dereference of NULL ‘nir_shader_get_entrypoint(intersection)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1085]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:175:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘any_hit_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:149:1: enter_function: entry to ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:157:7: branch_false: following ‘false’ branch (when ‘any_hit’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:164:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:164:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:164:30: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:166:24: call_function: calling ‘nir_before_impl’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:166:24: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘nir_before_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:169:22: call_function: calling ‘brw_nir_rt_mem_hit_addr’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:169:22: return_function: returning to ‘brw_nir_lower_intersection_shader’ from ‘brw_nir_rt_mem_hit_addr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:172:4: call_function: inlined call to ‘nir_imm_false’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:172:4: call_function: inlined call to ‘nir_imm_false’ from ‘brw_nir_lower_intersection_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_intersection_shader.c:175:4: danger: dereference of NULL ‘nir_shader_get_entrypoint(intersection)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1086]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_storage_image.c:210:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_storage_image.c:331:1: enter_function: entry to ‘brw_nir_lower_storage_image_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_storage_image.c:342:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_storage_image.c:343:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_lower_storage_image.c:343:17: call_function: calling ‘lower_image_load_instr’ from ‘brw_nir_lower_storage_image_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1087]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:807:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:778:1: enter_function: entry to ‘elk_num_sources_from_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:783:7: call_function: inlined call to ‘elk_inst_opcode’ from ‘elk_num_sources_from_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:783:7: call_function: inlined call to ‘elk_opcode_desc’ from ‘elk_num_sources_from_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:786:8: call_function: inlined call to ‘elk_inst_opcode’ from ‘elk_num_sources_from_inst’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:786:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:788:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu.c:807:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def1088]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1782:8: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1921:1: enter_function: entry to ‘elk_compact_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1924:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1927:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1953:29: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2007:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2012:21: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2014:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2022:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2023:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2023:13: call_function: calling ‘update_uip_jip’ from ‘elk_compact_instructions’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def1089]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1841:8: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1921:1: enter_function: entry to ‘elk_compact_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1924:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1927:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1953:29: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2007:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2012:21: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2014:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2022:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2025:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2025:13: call_function: calling ‘update_gfx4_jump_count’ from ‘elk_compact_instructions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1090]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1958:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘old_ip’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1924:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1927:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1946:18: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1953:29: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1955:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1958:7: danger: ‘old_ip + ((sizetype)offset >> 3) * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1091]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1959:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘compacted_counts’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1924:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1927:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1939:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1953:29: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1955:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1959:7: danger: ‘compacted_counts + ((sizetype)src_offset >> 4) * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1092]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2007:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘old_ip’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1924:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1927:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1946:18: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1953:29: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2007:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2007:4: danger: ‘old_ip + ((long unsigned int)offset >> 3) * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-122): [#def1093]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2016:11: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1924:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1927:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:1953:29: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2007:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2012:21: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2014:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_compact.c:2016:11: danger: read of 4 bytes at offset ‘(long unsigned int)(int)(*p.next_insn_offset - (unsigned int)start_offset >> 4) * 4’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1094]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_validate.c:54:4: warning[-Wanalyzer-malloc-leak]: leak of ‘error_msg.str’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_validate.c:2306:1: enter_function: entry to ‘elk_validate_instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_validate.c:2313:40: branch_true: following ‘true’ branch (when ‘src_offset < end_offset’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_validate.c:2314:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_eu_validate.c:2326:16: call_function: calling ‘elk_validate_instruction’ from ‘elk_validate_instructions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1095]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_nir_lower_storage_image.c:416:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_nir_lower_storage_image.c:704:1: enter_function: entry to ‘elk_nir_lower_storage_image_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_nir_lower_storage_image.c:715:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_nir_lower_storage_image.c:716:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_nir_lower_storage_image.c:716:17: call_function: calling ‘lower_image_load_instr’ from ‘elk_nir_lower_storage_image_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1096]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:330:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘table’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:321:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:323:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:323:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:325:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:325:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:329:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:329:34: branch_true: following ‘true’ branch (when ‘i != 15’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:330:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:330:16: release_memory: ‘table’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_reg_type.c:330:11: danger: dereference of NULL ‘table + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1097]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_vue_map.c:297:11: warning[-Wanalyzer-out-of-bounds]: buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_vue_map.c:286:4: branch_false: following ‘false’ branch (when ‘slot <= 66’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_vue_map.c:288:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_vue_map.c:288:7: branch_false: following ‘false’ branch (when ‘slot > 63’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_vue_map.c:297:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/elk/elk_vue_map.c:297:11: danger: read of 8 bytes at offset ‘slot * 8 + 34359737856’ exceeds ‘elk_names’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1098]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c:64:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c:137:1: enter_function: entry to ‘intel_nir_clamp_image_1d_2d_array_sizes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_clamp_image_1d_2d_array_sizes.c:139:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘intel_nir_clamp_image_1d_2d_array_sizes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1099]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:45:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:37:1: enter_function: entry to ‘add_src_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:45:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘add_src_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:45:4: return_function: returning to ‘add_src_instr’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:45:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(state, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1100]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:60:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:219:1: enter_function: entry to ‘intel_nir_lower_non_uniform_resource_intel’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_lower_non_uniform_resource_intel.c:226:15: call_function: calling ‘nir_shader_instructions_pass’ from ‘intel_nir_lower_non_uniform_resource_intel’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1101]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1595:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1585:1: enter_function: entry to ‘intel_print_accumulated_instrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1588:4: call_function: inlined call to ‘util_dynarray_init’ from ‘intel_print_accumulated_instrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1590:4: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1592:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1595:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘intel_print_accumulated_instrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1595:7: return_function: returning to ‘intel_print_accumulated_instrs’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1595:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&arr, 1, 16)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1102]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1597:4: warning[-Wanalyzer-null-argument]: use of NULL ‘arr.mem_ctx’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1585:1: enter_function: entry to ‘intel_print_accumulated_instrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1588:4: call_function: inlined call to ‘util_dynarray_init’ from ‘intel_print_accumulated_instrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1590:4: branch_false: following ‘false’ branch (when ‘entry’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1598:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1597:4: release_memory: ‘arr.mem_ctx’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1597:4: danger: argument 1 (‘arr.data’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1103]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1897:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1887:1: enter_function: entry to ‘intel_batch_print_stats’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1890:4: call_function: inlined call to ‘util_dynarray_init’ from ‘intel_batch_print_stats’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1892:4: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1894:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1897:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘intel_batch_print_stats’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1897:7: return_function: returning to ‘intel_batch_print_stats’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1897:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&arr, 1, 16)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1104]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1899:4: warning[-Wanalyzer-null-argument]: use of NULL ‘arr.mem_ctx’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1887:1: enter_function: entry to ‘intel_batch_print_stats’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1890:4: call_function: inlined call to ‘util_dynarray_init’ from ‘intel_batch_print_stats’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1892:4: branch_false: following ‘false’ branch (when ‘entry’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1900:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1899:4: release_memory: ‘arr.mem_ctx’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_batch_decoder.c:1899:4: danger: argument 1 (‘arr.data’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1105]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_decoder.c:1257:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_decoder.c:1460:1: enter_function: entry to ‘intel_print_group’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/decoder/intel_decoder.c:1467:4: call_function: calling ‘intel_print_group_custom_spacing’ from ‘intel_print_group’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1106]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.c:1516:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘logical_el.<Ub000>.w’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.c:4638:1: enter_function: entry to ‘isl_tiling_get_intratile_offset_el’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.c:4655:7: branch_false: following ‘false’ branch (when ‘tiling != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.c:4669:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.c:4669:4: call_function: calling ‘isl_tiling_get_info’ from ‘isl_tiling_get_intratile_offset_el’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1107]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2497:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2492:1: enter_function: entry to ‘isl_drm_modifier_has_aux’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2494:7: branch_false: following ‘false’ branch (when ‘modifier != 72057594037927935’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2497:11: call_function: inlined call to ‘isl_drm_modifier_get_info’ from ‘isl_drm_modifier_has_aux’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2497:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1108]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2498:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2492:1: enter_function: entry to ‘isl_drm_modifier_has_aux’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2494:7: branch_false: following ‘false’ branch (when ‘modifier != 72057594037927935’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2497:11: call_function: inlined call to ‘isl_drm_modifier_get_info’ from ‘isl_drm_modifier_has_aux’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2497:11: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2498:11: call_function: inlined call to ‘isl_drm_modifier_get_info’ from ‘isl_drm_modifier_has_aux’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl.h:2498:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1109]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:298:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:284:1: enter_function: entry to ‘isl_drm_modifier_get_plane_count’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:297:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:298:11: call_function: inlined call to ‘isl_drm_modifier_get_info’ from ‘isl_drm_modifier_get_plane_count’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:298:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1110]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:303:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:284:1: enter_function: entry to ‘isl_drm_modifier_get_plane_count’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:297:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:303:11: call_function: inlined call to ‘isl_drm_modifier_get_info’ from ‘isl_drm_modifier_get_plane_count’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_drm.c:303:11: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING: [#def1111] [important]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_tiled_memcpy.c:1309:21: error[-Wimplicit-function-declaration]: implicit declaration of function ‘_mm_stream_load_si128’; did you mean ‘_mm_stream_si128’?
Error: COMPILER_WARNING: [#def1112] [important]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_tiled_memcpy.c:1309:21: error[error]: incompatible types when initializing type ‘__m128i’ using type ‘int’
Error: COMPILER_WARNING: [#def1113] [important]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_tiled_memcpy.c:1313:22: error[error]: incompatible types when initializing type ‘__m128i’ using type ‘int’
Error: COMPILER_WARNING: [#def1114] [important]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_tiled_memcpy.c:1314:22: error[error]: incompatible types when initializing type ‘__m128i’ using type ‘int’
Error: COMPILER_WARNING: [#def1115] [important]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_tiled_memcpy.c:1315:22: error[error]: incompatible types when initializing type ‘__m128i’ using type ‘int’
Error: COMPILER_WARNING: [#def1116] [important]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/isl/isl_tiled_memcpy.c:1316:22: error[error]: incompatible types when initializing type ‘__m128i’ using type ‘int’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1117]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/intel_perf.c:742:4: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1118]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/intel_perf_query.c:968:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/intel_perf_query.c:959:1: enter_function: entry to ‘read_oa_samples_until’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/intel_perf_query.c:964:7: call_function: inlined call to ‘exec_list_get_tail’ from ‘read_oa_samples_until’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/intel_perf_query.c:968:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/intel_perf_query.c:968:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1119]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/xe/intel_perf.c:509:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stall_result’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/xe/intel_perf.c:498:25: branch_true: following ‘true’ branch (when ‘offset < end’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/xe/intel_perf.c:502:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/xe/intel_perf.c:505:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/xe/intel_perf.c:508:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/xe/intel_perf.c:508:25: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/perf/xe/intel_perf.c:509:10: danger: ‘stall_result’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1120]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:482:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:941:1: enter_function: entry to ‘anv_state_pool_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:946:29: call_function: calling ‘anv_state_pool_alloc_no_vg’ from ‘anv_state_pool_alloc’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1121]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:770:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:941:1: enter_function: entry to ‘anv_state_pool_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:946:29: call_function: calling ‘anv_state_pool_alloc_no_vg’ from ‘anv_state_pool_alloc’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1122]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:784:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:941:1: enter_function: entry to ‘anv_state_pool_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_allocator.c:946:29: call_function: calling ‘anv_state_pool_alloc_no_vg’ from ‘anv_state_pool_alloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1123]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:382:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:595:1: enter_function: entry to ‘anv_cmd_buffer_chain_generation_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:603:25: release_memory: ‘new_bbo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:610:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:613:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:616:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:617:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:617:7: release_memory: ‘new_bbo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:617:7: call_function: calling ‘anv_batch_bo_destroy’ from ‘anv_cmd_buffer_chain_generation_batch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1124]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:502:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:554:1: enter_function: entry to ‘anv_cmd_buffer_chain_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:562:25: release_memory: ‘new_bbo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:573:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:576:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:579:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:583:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:583:4: release_memory: ‘new_bbo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:583:4: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:585:4: call_function: calling ‘cmd_buffer_chain_to_batch_bo’ from ‘anv_cmd_buffer_chain_batch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1125]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1506:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo_signals’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1500:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1500:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1500:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1502:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1503:35: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1503:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1506:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1506:7: danger: ‘bo_signals + (long unsigned int)bo_signal_count * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1126]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1587:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1510:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1523:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1529:28: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1566:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1566:25: branch_false: following ‘false’ branch (when ‘bo_signal_count <= i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1583:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1586:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1587:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1587:11: danger: use of uninitialized value ‘result’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1127]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1700:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1681:1: enter_function: entry to ‘anv_async_submit_extend_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1697:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1700:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1700:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘anv_async_submit_extend_batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1700:4: return_function: returning to ‘anv_async_submit_extend_batch’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:1700:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*(struct anv_async_submit *)user_data.batch_bos, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1128]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_descriptor_set.c:2248:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_descriptor_set.c:2810:1: enter_function: entry to ‘anv_descriptor_set_write_template’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_descriptor_set.c:2815:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_descriptor_set.c:2819:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_descriptor_set.c:2825:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_descriptor_set.c:2827:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_descriptor_set.c:2828:13: call_function: calling ‘anv_descriptor_set_write_image_view’ from ‘anv_descriptor_set_write_template’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1129]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:208:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:195:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:196:7: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:201:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:208:11: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1130]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1897:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1843:10: enter_function: entry to ‘anv_MapMemory2KHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1851:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1856:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1856:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1866:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1866:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1872:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1887:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1893:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1893:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1895:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1895:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_MapMemory2KHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1895:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_MapMemory2KHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1897:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_device.c:1897:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1131]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_formats.c:1523:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘modifier_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_formats.c:2002:10: enter_function: entry to ‘anv_GetPhysicalDeviceImageFormatProperties2’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_formats.c:2009:11: call_function: calling ‘anv_get_image_format_properties’ from ‘anv_GetPhysicalDeviceImageFormatProperties2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1132]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1643:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1614:1: enter_function: entry to ‘anv_image_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1630:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1633:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1633:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1633:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1635:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1635:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1639:13: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1639:13: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1643:47: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1643:47: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1133]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1648:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘isl_mod_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1614:1: enter_function: entry to ‘anv_image_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1630:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1633:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1633:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1633:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1635:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1635:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1639:13: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1639:13: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_image_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1641:25: call_function: calling ‘choose_drm_format_mod’ from ‘anv_image_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1641:25: return_function: returning to ‘anv_image_init’ from ‘choose_drm_format_mod’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_image.c:1648:34: danger: dereference of NULL ‘isl_mod_info’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1134]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:1319:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:1519:1: enter_function: entry to ‘lower_direct_buffer_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_nir_apply_pipeline_layout.c:1530:14: call_function: calling ‘try_lower_direct_buffer_intrinsic’ from ‘lower_direct_buffer_instr’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1135]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:187:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:165:1: enter_function: entry to ‘anv_rmv_log_bo_gtt_unmap_locked’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:187:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘anv_rmv_log_bo_gtt_unmap_locked’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:187:4: return_function: returning to ‘anv_rmv_log_bo_gtt_unmap_locked’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:187:4: danger: argument 1 (‘util_dynarray_grow_bytes(&*device.vk.memory_trace_data.tokens, 1, 144)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1136]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:259:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:232:1: enter_function: entry to ‘anv_rmv_log_bos_gtt_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:237:25: branch_true: following ‘true’ branch (when ‘i < bo_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:238:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:240:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:245:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:259:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘anv_rmv_log_bos_gtt_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:259:7: return_function: returning to ‘anv_rmv_log_bos_gtt_map’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:259:7: danger: argument 1 (‘util_dynarray_grow_bytes(&*device.vk.memory_trace_data.tokens, 1, 144)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1137]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:291:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:268:1: enter_function: entry to ‘anv_rmv_log_vm_binds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:273:25: branch_true: following ‘true’ branch (when ‘i < bind_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:277:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:291:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘anv_rmv_log_vm_binds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:291:7: return_function: returning to ‘anv_rmv_log_vm_binds’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_rmv.c:291:7: danger: argument 1 (‘util_dynarray_grow_bytes(&*device.vk.memory_trace_data.tokens, 1, 144)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1138]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_sparse.c:424:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_sparse.c:1044:1: enter_function: entry to ‘anv_free_sparse_bindings’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_sparse.c:1047:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_sparse.c:1050:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_sparse.c:1070:19: call_function: calling ‘anv_sparse_bind’ from ‘anv_free_sparse_bindings’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1139]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:158:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:112:1: enter_function: entry to ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:141:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:144:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:144:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:146:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:146:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:149:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:158:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1140]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:168:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:112:1: enter_function: entry to ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:141:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:166:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:166:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:168:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:168:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1141]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:178:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:112:1: enter_function: entry to ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:141:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:166:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:166:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:168:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:171:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:171:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:176:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:176:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:178:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:178:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1142]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:182:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:112:1: enter_function: entry to ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:141:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:166:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:166:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:168:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:171:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:171:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:176:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:176:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:182:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1143]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:197:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:112:1: enter_function: entry to ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:141:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:190:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:190:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:193:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:193:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:193:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:197:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:197:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1144]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:227:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:112:1: enter_function: entry to ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:129:7: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:131:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:135:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:138:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:141:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:190:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:190:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:193:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:193:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:193:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetPhysicalDeviceVideoCapabilitiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:197:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:204:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:216:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:220:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:227:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1145]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:842:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:824:1: enter_function: entry to ‘anv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:840:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetEncodedVideoSessionParametersKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:840:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:841:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:842:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1146]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:861:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:824:1: enter_function: entry to ‘anv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:859:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetEncodedVideoSessionParametersKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:859:10: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_GetEncodedVideoSessionParametersKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:860:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_video.c:861:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1147]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:184:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:523:1: enter_function: entry to ‘gfx9_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:542:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:543:7: call_function: inlined call to ‘blorp_exec_on_blitter’ from ‘gfx9_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1148]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:185:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:523:1: enter_function: entry to ‘gfx9_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:542:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_blorp_exec.c:543:7: call_function: inlined call to ‘blorp_exec_on_blitter’ from ‘gfx9_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1149]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:1052:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2590:1: enter_function: entry to ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2595:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2603:7: call_function: calling ‘anv_h264_decode_video’ from ‘gfx12_CmdDecodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1150]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:1088:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2590:1: enter_function: entry to ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2595:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2603:7: call_function: calling ‘anv_h264_decode_video’ from ‘gfx12_CmdDecodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1151]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:1167:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2590:1: enter_function: entry to ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2595:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2603:7: call_function: calling ‘anv_h264_decode_video’ from ‘gfx12_CmdDecodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1152]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:1185:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2590:1: enter_function: entry to ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2595:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2603:7: call_function: calling ‘anv_h264_decode_video’ from ‘gfx12_CmdDecodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1153]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:1191:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2590:1: enter_function: entry to ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2595:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2599:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx12_CmdDecodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video.c:2603:7: call_function: calling ‘anv_h264_decode_video’ from ‘gfx12_CmdDecodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1154]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video_enc.c:393:94: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video_enc.c:2440:1: enter_function: entry to ‘gfx9_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video_enc.c:2446:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx9_CmdEncodeVideoKHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video_enc.c:2446:7: call_function: inlined call to ‘__vk_find_struct’ from ‘gfx9_CmdEncodeVideoKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video_enc.c:2448:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video_enc.c:2449:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_cmd_video_enc.c:2450:7: call_function: calling ‘anv_h264_encode_video’ from ‘gfx9_CmdEncodeVideoKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1155]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:178:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:314:1: enter_function: entry to ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:321:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:323:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:322:7: call_function: calling ‘emit_ves_vf_instancing’ from ‘emit_vertex_input’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1156]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:329:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:314:1: enter_function: entry to ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:327:50: call_function: inlined call to ‘get_vs_prog_data’ from ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:328:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:328:33: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:329:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:329:34: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1157]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:348:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:314:1: enter_function: entry to ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:327:50: call_function: inlined call to ‘get_vs_prog_data’ from ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:328:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:328:33: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:332:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:335:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:337:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:348:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:348:32: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1158]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:379:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:314:1: enter_function: entry to ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:327:50: call_function: inlined call to ‘get_vs_prog_data’ from ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:328:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:328:33: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:332:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:335:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:337:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:369:71: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:379:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1159]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:773:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:655:1: enter_function: entry to ‘emit_3dstate_sbe’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:657:50: call_function: inlined call to ‘get_wm_prog_data’ from ‘emit_3dstate_sbe’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:659:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:669:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:669:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:670:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:670:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:675:36: call_function: inlined call to ‘anv_pipeline_is_primitive’ from ‘emit_3dstate_sbe’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:680:28: branch_true: following ‘true’ branch (when ‘i != 32’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:681:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:683:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:767:60: call_function: inlined call to ‘get_mesh_prog_data’ from ‘emit_3dstate_sbe’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:768:10: call_function: inlined call to ‘anv_gfx_pipeline_add’ from ‘emit_3dstate_sbe’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:768:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:773:58: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:773:58: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1160]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1262:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1221:1: enter_function: entry to ‘emit_3dstate_hs_ds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1224:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1232:46: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1238:52: call_function: inlined call to ‘get_tcs_prog_data’ from ‘emit_3dstate_hs_ds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1239:52: call_function: inlined call to ‘get_tes_prog_data’ from ‘emit_3dstate_hs_ds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1247:43: call_function: inlined call to ‘get_sampler_count’ from ‘emit_3dstate_hs_ds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1248:35: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1262:26: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1161]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1551:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1535:1: enter_function: entry to ‘emit_3dstate_wm’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1542:50: call_function: inlined call to ‘get_wm_prog_data’ from ‘emit_3dstate_wm’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1544:4: call_function: inlined call to ‘anv_gfx_pipeline_add’ from ‘emit_3dstate_wm’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1544:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1550:11: call_function: inlined call to ‘anv_pipeline_has_stage’ from ‘emit_3dstate_wm’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1550:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1551:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1551:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1162]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1826:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1760:1: enter_function: entry to ‘emit_task_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1764:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1776:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1800:54: call_function: inlined call to ‘get_task_prog_data’ from ‘emit_task_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1802:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1804:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1806:48: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1826:26: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1163]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1858:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1845:1: enter_function: entry to ‘emit_mesh_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1850:54: call_function: inlined call to ‘get_mesh_prog_data’ from ‘emit_mesh_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1858:41: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1858:41: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1164]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1880:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1845:1: enter_function: entry to ‘emit_mesh_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1850:54: call_function: inlined call to ‘get_mesh_prog_data’ from ‘emit_mesh_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1853:4: call_function: inlined call to ‘GFX125_3DSTATE_MESH_CONTROL_pack’ from ‘emit_mesh_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/genX_pipeline.c:1880:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1165]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/xe/anv_batch_chain.c:49:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/xe/anv_batch_chain.c:257:1: enter_function: entry to ‘xe_queue_exec_locked’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/xe/anv_batch_chain.c:273:13: call_function: calling ‘xe_exec_process_syncs’ from ‘xe_queue_exec_locked’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1166]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:588:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:1114:1: enter_function: entry to ‘anv_state_pool_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:1119:29: call_function: calling ‘anv_state_pool_alloc_no_vg’ from ‘anv_state_pool_alloc’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1167]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:955:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:1114:1: enter_function: entry to ‘anv_state_pool_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:1119:29: call_function: calling ‘anv_state_pool_alloc_no_vg’ from ‘anv_state_pool_alloc’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1168]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:965:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘st_idx’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:1114:1: enter_function: entry to ‘anv_state_pool_alloc’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_allocator.c:1119:29: call_function: calling ‘anv_state_pool_alloc_no_vg’ from ‘anv_state_pool_alloc’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1169]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1429:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1815:1: enter_function: entry to ‘anv_descriptor_set_write_template’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1821:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1825:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1831:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1833:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1834:13: call_function: calling ‘anv_descriptor_set_write_image_view’ from ‘anv_descriptor_set_write_template’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1170]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1727:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1658:6: enter_function: entry to ‘anv_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1667:25: branch_true: following ‘true’ branch (when ‘i < descriptorWriteCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1668:61: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1720:13: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_UpdateDescriptorSets’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1720:13: call_function: inlined call to ‘__vk_find_struct’ from ‘anv_UpdateDescriptorSets’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1727:55: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_descriptor_set.c:1727:55: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1171]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:982:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1337:10: enter_function: entry to ‘anv_GetPhysicalDeviceImageFormatProperties2’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1351:4: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1351:4: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1373:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1373:4: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1373:4: branch_false: following ‘false’ branch (when ‘s’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1373:4: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1390:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_formats.c:1390:13: call_function: calling ‘anv_get_image_format_properties’ from ‘anv_GetPhysicalDeviceImageFormatProperties2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1172]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:554:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intrin’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:714:1: enter_function: entry to ‘lower_direct_buffer_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:727:14: call_function: calling ‘try_lower_direct_buffer_intrinsic’ from ‘lower_direct_buffer_instr’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1173]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:929:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘stream’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1002:1: enter_function: entry to ‘anv_pipeline_add_executables’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1015:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1016:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1016:10: call_function: calling ‘anv_pipeline_add_executable’ from ‘anv_pipeline_add_executables’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1174]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:997:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1002:1: enter_function: entry to ‘anv_pipeline_add_executables’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1019:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1021:38: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/anv_pipeline.c:1020:10: call_function: calling ‘anv_pipeline_add_executable’ from ‘anv_pipeline_add_executables’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1175]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:75:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘batch’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: enter_function: entry to ‘gfx7_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:360:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:363:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:363:7: call_function: calling ‘blorp_exec_on_render’ from ‘gfx7_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1176]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:176:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: enter_function: entry to ‘gfx7_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:360:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:361:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:361:7: call_function: calling ‘blorp_exec_on_compute’ from ‘gfx7_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1177]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:177:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:336:1: enter_function: entry to ‘gfx7_blorp_exec’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:360:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:361:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_blorp_exec.c:361:7: call_function: calling ‘blorp_exec_on_compute’ from ‘gfx7_blorp_exec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1178]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:99:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:93:1: enter_function: entry to ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:96:50: call_function: inlined call to ‘get_vs_prog_data’ from ‘emit_vertex_input’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:99:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:99:19: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1179]
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1403:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1375:1: enter_function: entry to ‘emit_3dstate_hs_te_ds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1378:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1385:46: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1391:52: call_function: inlined call to ‘get_tcs_prog_data’ from ‘emit_3dstate_hs_te_ds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1392:52: call_function: inlined call to ‘get_tes_prog_data’ from ‘emit_3dstate_hs_te_ds’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1394:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1397:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan_hasvk/genX_pipeline.c:1403:26: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1180]
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:234:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘loader_open_device(device_41->nodes[2])’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:207:1: enter_function: entry to ‘loader_open_render_node_platform_devices’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:218:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:223:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:226:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:227:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:229:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:230:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:229:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:233:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:233:15: call_function: calling ‘loader_open_device’ from ‘loader_open_render_node_platform_devices’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:233:15: return_function: returning to ‘loader_open_render_node_platform_devices’ from ‘loader_open_device’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:234: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: GCC_ANALYZER_WARNING (CWE-688): [#def1181]
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:385:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:362:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:370:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:370:14: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:374:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:381:17: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:385:17: danger: argument 1 (‘name’) from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1182]
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:601:44: warning[-Wanalyzer-null-argument]: use of NULL ‘<unknown>’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:428:6: enter_function: entry to ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:458:7: branch_false: following ‘false’ branch (when ‘<unknown>’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:462:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:462:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:464:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:480:18: call_function: calling ‘drm_get_id_path_tag_for_fd’ from ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:480:18: return_function: returning to ‘loader_get_user_preferred_fd’ from ‘drm_get_id_path_tag_for_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:481:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:484:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:485:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:488:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:515:7: branch_false: following ‘false’ branch (when ‘<unknown> != 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:523:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:524:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:524:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:527:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:527:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:562:28: call_function: calling ‘drm_construct_id_path_tag’ from ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:562:28: return_function: returning to ‘loader_get_user_preferred_fd’ from ‘drm_construct_id_path_tag’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:585:12: call_function: calling ‘loader_open_device’ from ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:585:12: return_function: returning to ‘loader_get_user_preferred_fd’ from ‘loader_open_device’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:590:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:593:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:593:7: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:601:44: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:601:44: danger: argument 2 (‘prime.str’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1183]
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:617:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:428:6: enter_function: entry to ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:458:7: branch_false: following ‘false’ branch (when ‘<unknown>’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:462:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:462:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:464:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:480:18: call_function: calling ‘drm_get_id_path_tag_for_fd’ from ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:480:18: return_function: returning to ‘loader_get_user_preferred_fd’ from ‘drm_get_id_path_tag_for_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:481:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:484:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:485:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:488:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:515:7: branch_false: following ‘false’ branch (when ‘<unknown> != 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:523:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:524:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:524:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:527:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:527:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:562:28: call_function: calling ‘drm_construct_id_path_tag’ from ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:562:28: return_function: returning to ‘loader_get_user_preferred_fd’ from ‘drm_construct_id_path_tag’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:585:12: call_function: calling ‘loader_open_device’ from ‘loader_get_user_preferred_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:585:12: return_function: returning to ‘loader_get_user_preferred_fd’ from ‘loader_open_device’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:593:7: branch_true: following ‘true’ branch (when ‘fd < 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:594:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader.c:617:11: danger: ‘fd’ leaks here; was opened at [(37)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1184]
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:171:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘crtc_cookies’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:167:19: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:169:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:171:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:171:10: danger: ‘crtc_cookies + (long unsigned int)c * 4’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1185]
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:227:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘crtc_cookies’
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:175:25: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:195:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:197:7: branch_false: following ‘false’ branch (when ‘config_unchanged == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:204:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:223:19: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:225:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:227:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/loader/loader_dri_helper.c:227:10: danger: ‘crtc_cookies + (long unsigned int)c * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-131): [#def1186]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:235:14: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:397:1: enter_function: entry to ‘accum’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:401:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:406:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:406:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:409:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:433:7: call_function: calling ‘accum_or_load’ from ‘accum’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def1187]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:328:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:397:1: enter_function: entry to ‘accum’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:401:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:406:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:406:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:409:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:436:7: call_function: calling ‘accum_return’ from ‘accum’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def1188]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:329:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:397:1: enter_function: entry to ‘accum’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:401:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:406:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:406:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:409:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/accum.c:436:7: call_function: calling ‘accum_return’ from ‘accum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1189]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:347:40: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(12, 6)’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:323:1: enter_function: entry to ‘_mesa_BeginFragmentShaderATI’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:328:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:333:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:338:16: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:339:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:338:16: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:339:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:338:16: branch_false: following ‘false’ branch (when ‘i == 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:343:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:343:4: call_function: inlined call to ‘_mesa_reference_program’ from ‘_mesa_BeginFragmentShaderATI’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:347:16: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:348:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:349:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:352:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:347:40: danger: ‘calloc(12, 6)’ leaks here; was allocated at [(16)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1190]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:352:10: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(112, 8)’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:323:1: enter_function: entry to ‘_mesa_BeginFragmentShaderATI’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:328:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:333:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:338:16: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:339:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:338:16: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:339:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:338:16: branch_false: following ‘false’ branch (when ‘i == 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:343:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:343:4: call_function: inlined call to ‘_mesa_reference_program’ from ‘_mesa_BeginFragmentShaderATI’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:347:16: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:348:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:349:10: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/atifragshader.c:352:10: danger: ‘calloc(112, 8)’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1191]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:1272:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘_mesa_bufferobj_alloc(ctx, id)’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:1945:1: enter_function: entry to ‘create_buffers’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:1971:20: branch_true: following ‘true’ branch (when ‘i < n’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:1972:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:1972:10: branch_true: following ‘true’ branch (when ‘dsa != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:1973:49: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:1973:16: call_function: calling ‘new_gl_buffer_object’ from ‘create_buffers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1192]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5105:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘obj’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5125:1: enter_function: entry to ‘_mesa_InvalidateBufferSubData_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5130:38: call_function: inlined call to ‘_mesa_lookup_bufferobj’ from ‘_mesa_InvalidateBufferSubData_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5131:4: call_function: inlined call to ‘invalidate_buffer_subdata’ from ‘_mesa_InvalidateBufferSubData_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1193]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5192:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5187:1: enter_function: entry to ‘_mesa_InvalidateBufferData_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5191:37: call_function: inlined call to ‘_mesa_lookup_bufferobj’ from ‘_mesa_InvalidateBufferData_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5192:46: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.c:5192:46: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1194]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.h:225:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/arrayobj.c:1175:1: enter_function: entry to ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/arrayobj.c:1178:4: call_function: inlined call to ‘vertex_array_element_buffer’ from ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/arrayobj.c:1178:4: call_function: inlined call to ‘vertex_array_element_buffer’ from ‘_mesa_VertexArrayElementBuffer_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1195]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/bufferobj.h:225:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/arrayobj.c:1175:1: enter_function: entry to ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/arrayobj.c:1178:4: call_function: inlined call to ‘vertex_array_element_buffer’ from ‘_mesa_VertexArrayElementBuffer_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/arrayobj.c:1178:4: call_function: inlined call to ‘vertex_array_element_buffer’ from ‘_mesa_VertexArrayElementBuffer_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1196]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/condrender.c:88:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘q’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/condrender.c:169:1: enter_function: entry to ‘_mesa_BeginConditionalRender_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/condrender.c:172:4: call_function: inlined call to ‘begin_conditional_render’ from ‘_mesa_BeginConditionalRender_no_error’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1197]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:261:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:567:1: enter_function: entry to ‘_mesa_dump_image’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:572:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:575:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:575:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:578:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:578:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:581:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:581:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:584:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:584:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:586:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:589:19: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:592:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:592:7: call_function: calling ‘write_ppm’ from ‘_mesa_dump_image’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1198]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:516:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf2’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:506:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:515:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:516:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:516:7: danger: ‘buf2 + (sizetype)(i * 3)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1199]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:551:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf2’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:542:11: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:550:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:551:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:551:7: danger: ‘buf2 + (sizetype)(i * 3)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1200]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:590:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:572:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:575:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:575:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:578:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:578:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:581:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:581:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:584:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:584:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:586:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:586:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:589:19: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:590:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:590:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:590:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:590:10: danger: ‘buf + (long unsigned int)i’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1201]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:601:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:572:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:575:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:575:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:578:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:578:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:581:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:581:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:584:34: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:584:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:595:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:595:12: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:597:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:597:22: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:600:19: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:601:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:601:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:601:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/debug.c:601:10: danger: ‘buf + (long unsigned int)i’ could be NULL: unchecked value from [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1202]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:519:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:492:1: enter_function: entry to ‘_mesa_GetnMapdvARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:503:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:503:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:508:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:509:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapdvARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:509:12: return_function: returning to ‘_mesa_GetnMapdvARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:514:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:519:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:519:13: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1203]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:542:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:492:1: enter_function: entry to ‘_mesa_GetnMapdvARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:503:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:503:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:508:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:509:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapdvARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:509:12: return_function: returning to ‘_mesa_GetnMapdvARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:532:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:540:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:540:16: branch_false: following ‘false’ branch (when ‘bufSize > 15’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:542:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:542:31: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1204]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:558:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:492:1: enter_function: entry to ‘_mesa_GetnMapdvARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:503:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:503:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:508:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:509:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapdvARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:509:12: return_function: returning to ‘_mesa_GetnMapdvARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:547:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:556:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:556:16: branch_false: following ‘false’ branch (when ‘bufSize > 31’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:558:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:558:31: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1205]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:609:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:582:1: enter_function: entry to ‘_mesa_GetnMapfvARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:593:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:593:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:598:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:599:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapfvARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:599:12: return_function: returning to ‘_mesa_GetnMapfvARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:604:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:609:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:609:13: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1206]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:632:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:582:1: enter_function: entry to ‘_mesa_GetnMapfvARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:593:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:593:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:598:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:599:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapfvARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:599:12: return_function: returning to ‘_mesa_GetnMapfvARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:622:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:630:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:630:16: branch_false: following ‘false’ branch (when ‘bufSize > 7’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:632:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:632:30: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1207]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:648:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:582:1: enter_function: entry to ‘_mesa_GetnMapfvARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:593:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:593:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:598:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:599:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapfvARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:599:12: return_function: returning to ‘_mesa_GetnMapfvARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:637:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:646:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:646:16: branch_false: following ‘false’ branch (when ‘bufSize > 15’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:648:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:648:20: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1208]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:701:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:674:1: enter_function: entry to ‘_mesa_GetnMapivARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:685:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:685:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:690:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:691:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapivARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:691:12: return_function: returning to ‘_mesa_GetnMapivARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:696:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:701:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:701:13: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1209]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:724:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:674:1: enter_function: entry to ‘_mesa_GetnMapivARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:685:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:685:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:690:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:691:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapivARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:691:12: return_function: returning to ‘_mesa_GetnMapivARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:714:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:722:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:722:16: branch_false: following ‘false’ branch (when ‘bufSize > 7’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:724:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:724:20: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1210]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:740:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:674:1: enter_function: entry to ‘_mesa_GetnMapivARB’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:685:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:685:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:690:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:691:12: call_function: calling ‘get_2d_map’ from ‘_mesa_GetnMapivARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:691:12: return_function: returning to ‘_mesa_GetnMapivARB’ from ‘get_2d_map’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:729:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:738:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:738:16: branch_false: following ‘false’ branch (when ‘bufSize > 15’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:740:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/eval.c:740:28: danger: dereference of NULL ‘get_2d_map(ctx, target)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1211]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:250:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fb’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:4513:1: enter_function: entry to ‘_mesa_NamedFramebufferTexture_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:4516:4: call_function: inlined call to ‘frame_buffer_texture’ from ‘_mesa_NamedFramebufferTexture_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:4516:4: call_function: inlined call to ‘frame_buffer_texture’ from ‘_mesa_NamedFramebufferTexture_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1212]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:511:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘att’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:4562:1: enter_function: entry to ‘_mesa_framebuffer_renderbuffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:4571:4: call_function: calling ‘_mesa_FramebufferRenderbuffer_sw’ from ‘_mesa_framebuffer_renderbuffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1213]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:5875:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fb’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:5966:1: enter_function: entry to ‘_mesa_NamedFramebufferSampleLocationsfvARB_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:5971:4: call_function: inlined call to ‘_mesa_lookup_framebuffer’ from ‘_mesa_NamedFramebufferSampleLocationsfvARB_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:5971:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/fbobject.c:5971:4: call_function: calling ‘sample_locations’ from ‘_mesa_NamedFramebufferSampleLocationsfvARB_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1214]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:365:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:339:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:340:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:340:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:343:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:344:24: branch_false: following ‘false’ branch (when ‘size == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:345:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:349:23: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:350:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:364:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:365:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:365:31: release_memory: ‘result’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/feedback.c:365:25: danger: dereference of NULL ‘result + (long unsigned int)index * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1215]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:131:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:120:1: enter_function: entry to ‘_mesa_get_format_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:122:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:127:42: call_function: inlined call to ‘_mesa_get_format_info’ from ‘_mesa_get_format_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:131:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1216]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:151:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:151:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1217]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:157:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:157:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1218]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:163:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:163:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1219]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:169:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:169:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1220]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:171:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:171:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1221]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:173:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:173:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1222]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:181:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:181:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1223]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:187:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:141:1: enter_function: entry to ‘_mesa_get_format_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:187:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1224]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:199:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:196:1: enter_function: entry to ‘_mesa_get_format_max_bits’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:199:23: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1225]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:217:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:652:1: enter_function: entry to ‘_mesa_is_format_s3tc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1226]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:235:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:232:1: enter_function: entry to ‘_mesa_get_format_datatype’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:235:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1227]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:324:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:320:1: enter_function: entry to ‘_mesa_get_format_base_format’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:322:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:323:45: call_function: inlined call to ‘_mesa_get_format_info’ from ‘_mesa_get_format_base_format’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:324:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1228]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:346:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:339:1: enter_function: entry to ‘_mesa_get_format_block_size’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:346:10: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1229]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:366:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:360:1: enter_function: entry to ‘_mesa_get_format_block_size_3d’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:366:10: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1230]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:395:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:392:1: enter_function: entry to ‘_mesa_get_format_swizzle’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:395:4: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1231]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:441:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:445:1: enter_function: entry to ‘_mesa_format_to_array_format’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1232]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:531:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:528:1: enter_function: entry to ‘_mesa_is_format_compressed’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:531:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1233]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:543:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:539:1: enter_function: entry to ‘_mesa_is_format_packed_depth_stencil’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:543:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1234]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:554:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:551:1: enter_function: entry to ‘_mesa_is_format_integer_color’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:554:12: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1235]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:568:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:565:1: enter_function: entry to ‘_mesa_is_format_unsigned’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:568:34: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1236]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:585:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:576:1: enter_function: entry to ‘_mesa_is_format_signed’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:578:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:584:45: call_function: inlined call to ‘_mesa_get_format_info’ from ‘_mesa_is_format_signed’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:585:15: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1237]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:598:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:595:1: enter_function: entry to ‘_mesa_is_format_integer’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:598:12: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1238]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:609:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:606:1: enter_function: entry to ‘_mesa_is_format_color_format’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:609:12: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1239]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:623:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:620:1: enter_function: entry to ‘_mesa_is_format_srgb’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:623:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1240]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:644:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:641:1: enter_function: entry to ‘_mesa_is_format_astc_2d’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:644:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1241]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:763:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:760:1: enter_function: entry to ‘_mesa_format_num_components’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:763:13: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1242]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:789:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:779:1: enter_function: entry to ‘_mesa_format_has_color_component’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:789:15: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1243]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:791:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:779:1: enter_function: entry to ‘_mesa_format_has_color_component’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:791:15: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1244]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:793:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:779:1: enter_function: entry to ‘_mesa_format_has_color_component’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:793:15: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1245]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:795:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:779:1: enter_function: entry to ‘_mesa_format_has_color_component’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:795:15: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1246]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:814:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:808:1: enter_function: entry to ‘_mesa_format_image_size’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:814:8: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1247]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:842:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:836:1: enter_function: entry to ‘_mesa_format_image_size64’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:842:8: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1248]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:866:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:862:1: enter_function: entry to ‘_mesa_format_row_stride’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/formats.c:866:8: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1249]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:108:20: warning[-Wanalyzer-malloc-leak]: leak of ‘module’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:93:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:98:13: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:99:7: branch_false: following ‘false’ branch (when ‘module’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:104:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:108:20: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:108:20: danger: ‘module’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1250]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:255:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:251:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:254:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:255:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:255:7: danger: ‘spec_entries + (long unsigned int)i * 24’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1251]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:398:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:351:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:356:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:357:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:360:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:360:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:366:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:366:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:395:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:395:19: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:397:25: branch_true: following ‘true’ branch (when ‘i < numSpecializationConstants’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:398:42: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glspirv.c:398:7: danger: ‘spec_entries + (long unsigned int)i * 24’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1252]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:143:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*ctx.GLThread.upload_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:88:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:92:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:99:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:116:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:118:7: release_memory: ‘*ctx.GLThread.upload_buffer’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:143:7: danger: dereference of NULL ‘new_upload_buffer(ctx, 1048576, &*(struct glthread_state *)((char *)ctx + 88).upload_ptr)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1253]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:143:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:488:1: enter_function: entry to ‘_mesa_marshal_BufferSubData_merged’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:502:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:503:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:502:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:503:59: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:502:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:505:32: release_memory: ‘upload_buffer’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:508:7: call_function: calling ‘_mesa_glthread_upload’ from ‘_mesa_marshal_BufferSubData_merged’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1254]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:143:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘upload_buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:488:1: enter_function: entry to ‘_mesa_marshal_BufferSubData_merged’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:502:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:503:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:502:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:503:59: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:502:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:505:32: release_memory: ‘upload_buffer’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/glthread_bufferobj.c:508:7: call_function: calling ‘_mesa_glthread_upload’ from ‘_mesa_marshal_BufferSubData_merged’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1255]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1624:16: branch_true: following ‘true’ branch (when ‘i < count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: danger: dereference of NULL ‘_mesa_unpack_color_index_to_rgba_float(ctx, dims, src, srcFormat, srcType, srcWidth, srcHeight, srcDepth, srcPacking, transferOps) + (long unsigned int)(i * 4) * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1256]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dst’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1606:1: enter_function: entry to ‘_mesa_unpack_color_index_to_rgba_ubyte’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1617:11: call_function: calling ‘_mesa_unpack_color_index_to_rgba_float’ from ‘_mesa_unpack_color_index_to_rgba_ubyte’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1617:11: return_function: returning to ‘_mesa_unpack_color_index_to_rgba_ubyte’ from ‘_mesa_unpack_color_index_to_rgba_float’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1623:10: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1624:16: branch_true: following ‘true’ branch (when ‘i < count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: danger: ‘dst + (long unsigned int)(i * 4)’ could be NULL: unchecked value from [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1257]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1606:1: enter_function: entry to ‘_mesa_unpack_color_index_to_rgba_ubyte’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1617:11: call_function: calling ‘_mesa_unpack_color_index_to_rgba_float’ from ‘_mesa_unpack_color_index_to_rgba_ubyte’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1617:11: return_function: returning to ‘_mesa_unpack_color_index_to_rgba_ubyte’ from ‘_mesa_unpack_color_index_to_rgba_float’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1624:16: branch_true: following ‘true’ branch (when ‘i < count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/pack.c:1625:7: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1258]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3278:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘str’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3652:1: enter_function: entry to ‘_mesa_IsNamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3656:7: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3659:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3659:20: call_function: calling ‘copy_string’ from ‘_mesa_IsNamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3659:20: return_function: returning to ‘_mesa_IsNamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3661:25: call_function: inlined call to ‘_mesa_lookup_shader_include’ from ‘_mesa_IsNamedStringARB’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1259]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3483:33: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_string(ctx, string, stringlen, "glNamedStringARB")’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3491:1: enter_function: entry to ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3497:7: branch_false: following ‘false’ branch (when ‘type == 36270’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3504:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3510:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: call_function: calling ‘validate_and_tokenise_sh_incl’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: return_function: returning to ‘_mesa_NamedStringARB’ from ‘validate_and_tokenise_sh_incl’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: call_function: calling ‘simple_mtx_lock’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: return_function: returning to ‘_mesa_NamedStringARB’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3483:33: danger: ‘copy_string(ctx, string, stringlen, "glNamedStringARB")’ leaks here; was allocated at [(17)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1260]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3504:8: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_string(ctx, string, stringlen, "glNamedStringARB")’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3491:1: enter_function: entry to ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3497:7: branch_false: following ‘false’ branch (when ‘type == 36270’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3504:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3510:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: call_function: calling ‘validate_and_tokenise_sh_incl’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: return_function: returning to ‘_mesa_NamedStringARB’ from ‘validate_and_tokenise_sh_incl’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: call_function: calling ‘simple_mtx_lock’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: return_function: returning to ‘_mesa_NamedStringARB’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3504:8: danger: ‘copy_string(ctx, string, stringlen, "glNamedStringARB")’ leaks here; was allocated at [(17)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1261]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3534:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sh_incl_ht_entry’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3491:1: enter_function: entry to ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3497:7: branch_false: following ‘false’ branch (when ‘type == 36270’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3504:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3510:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: call_function: calling ‘validate_and_tokenise_sh_incl’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: return_function: returning to ‘_mesa_NamedStringARB’ from ‘validate_and_tokenise_sh_incl’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: call_function: calling ‘simple_mtx_lock’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: return_function: returning to ‘_mesa_NamedStringARB’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3527:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3529:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3532:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3533:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3533:29: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3534:10: danger: ‘sh_incl_ht_entry’ could be NULL: unchecked value from [(36)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/35)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1262]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3537:10: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*entry.path)’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3491:1: enter_function: entry to ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3497:7: branch_false: following ‘false’ branch (when ‘type == 36270’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3502:20: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: call_function: calling ‘copy_string’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3503:22: return_function: returning to ‘_mesa_NamedStringARB’ from ‘copy_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3504:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3510:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: call_function: calling ‘validate_and_tokenise_sh_incl’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:9: return_function: returning to ‘_mesa_NamedStringARB’ from ‘validate_and_tokenise_sh_incl’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3513:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:21: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: call_function: calling ‘simple_mtx_lock’ from ‘_mesa_NamedStringARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3521:4: return_function: returning to ‘_mesa_NamedStringARB’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3527:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3529:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3532:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3533:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3537:43: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/shaderapi.c:3537:10: danger: ‘strdup(*entry.path)’ leaks here; was allocated at [(36)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/35)
Error: COMPILER_WARNING: [#def1263]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/sse_minmax.c:70:20: note[note]: called from here
Error: COMPILER_WARNING: [#def1264]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/sse_minmax.c:71:20: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1265]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/syncobj.c:202:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘syncObj’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/syncobj.c:440:1: enter_function: entry to ‘_mesa_WaitSync_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/syncobj.c:445:4: call_function: calling ‘wait_sync’ from ‘_mesa_WaitSync_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1266]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/syncobj.c:422:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘syncObj’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/syncobj.c:440:1: enter_function: entry to ‘_mesa_WaitSync_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/syncobj.c:445:4: call_function: calling ‘wait_sync’ from ‘_mesa_WaitSync_no_error’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1267]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:57:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*curaddr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:79:1: enter_function: entry to ‘_mesa_texstore_red_rgtc1’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:95:7: branch_false: following ‘false’ branch (when ‘tempImage’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:98:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:111:16: branch_true: following ‘true’ branch (when ‘j < srcHeight’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:112:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:115:19: branch_true: following ‘true’ branch (when ‘i < srcWidth’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:116:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:118:10: call_function: calling ‘extractsrc_u’ from ‘_mesa_texstore_red_rgtc1’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1268]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:71:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*curaddr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:132:1: enter_function: entry to ‘_mesa_texstore_signed_red_rgtc1’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:149:7: branch_false: following ‘false’ branch (when ‘tempImage’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:151:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:164:16: branch_true: following ‘true’ branch (when ‘j < srcHeight’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:165:23: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:168:19: branch_true: following ‘true’ branch (when ‘i < srcWidth’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:169:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_rgtc.c:171:10: call_function: calling ‘extractsrc_s’ from ‘_mesa_texstore_signed_red_rgtc1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1269]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texobj.c:2273:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texobj.c:2257:7: branch_true: following ‘true’ branch (when ‘image’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texobj.c:2273:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texobj.c:2273:15: danger: dereference of NULL ‘invalidate_tex_image_error_check(ctx, texture, level, "glInvalidateTexSubImage")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1270]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:290:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:644:1: enter_function: entry to ‘_mesa_GetTextureSamplerHandleARB_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:658:11: call_function: calling ‘get_texture_handle’ from ‘_mesa_GetTextureSamplerHandleARB_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1271]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:295:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:662:1: enter_function: entry to ‘_mesa_GetTextureSamplerHandleARB’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:681:7: branch_true: following ‘true’ branch (when ‘texture != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:682:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:684:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:695:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:696:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:709:35: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:719:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:725:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:725:11: call_function: calling ‘get_texture_handle’ from ‘_mesa_GetTextureSamplerHandleARB’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1272]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:386:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:821:1: enter_function: entry to ‘_mesa_GetImageHandleARB_no_error’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texturebindless.c:833:11: call_function: calling ‘get_image_handle’ from ‘_mesa_GetImageHandleARB_no_error’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1273]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_cache.c:203:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘c’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_cache.c:201:27: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_cache.c:203:4: danger: ‘c’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1274]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:216:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘chans[3]’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:803:1: enter_function: entry to ‘prog_to_nir’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:812:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:814:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:833:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:836:29: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:837:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/prog_to_nir.c:837:7: call_function: calling ‘ptn_emit_instruction’ from ‘prog_to_nir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1275]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:131:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*lval.inst’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:1507:1: enter_function: entry to ‘_mesa_program_lexer_lex’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:188:3: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:188:3: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:188:3: call_function: calling ‘handle_ident’ from ‘_mesa_program_lexer_lex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1276]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:483:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:473:1: enter_function: entry to ‘st_nir_lower_atifs_samplers_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:480:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:482:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:482:27: call_function: calling ‘nir_deref_instr_get_variable’ from ‘st_nir_lower_atifs_samplers_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:482:27: return_function: returning to ‘st_nir_lower_atifs_samplers_instr’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atifs_to_nir.c:483:32: danger: dereference of NULL ‘nir_deref_instr_get_variable(instr)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1277]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atom_sampler.c:73:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘texobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atom_sampler.c:406:1: enter_function: entry to ‘st_update_compute_samplers’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atom_sampler.c:410:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atom_sampler.c:411:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_atom_sampler.c:411:7: call_function: calling ‘update_shader_samplers’ from ‘st_update_compute_samplers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1278]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:201:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:191:32: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:201:4: danger: ‘fs’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1279]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:203:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fs’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:191:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:203:11: danger: ‘fs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1280]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:274:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fs’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:264:32: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:274:4: danger: ‘fs’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1281]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:276:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fs’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:264:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_feedback.c:276:11: danger: ‘fs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1282]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_rasterpos.c:205:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_rasterpos.c:194:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_rasterpos.c:205:4: danger: ‘rs’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1283]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_texture.c:538:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*texImage.compressed_data’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_texture.c:537:32: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_cb_texture.c:538:4: danger: ‘calloc(1, 16)’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1284]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:440:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘st’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:802:1: enter_function: entry to ‘st_create_context’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:809:34: branch_false: following ‘false’ branch (when ‘share’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:813:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:817:10: call_function: calling ‘os_malloc_aligned’ from ‘st_create_context’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:817:10: return_function: returning to ‘st_create_context’ from ‘os_malloc_aligned’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:818:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:820:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:825:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:831:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_context.c:848:9: call_function: calling ‘st_create_context_priv’ from ‘st_create_context’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1285]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:94:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:759:1: enter_function: entry to ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:761:26: call_function: calling ‘make_state_key’ from ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:761:26: return_function: returning to ‘st_draw_hw_select_prepare_mode’ from ‘make_state_key’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:762:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:765:28: call_function: inlined call to ‘st_context’ from ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:772:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:773:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:773:12: call_function: calling ‘hw_select_create_gs’ from ‘st_draw_hw_select_prepare_mode’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1286]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:170:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:759:1: enter_function: entry to ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:761:26: call_function: calling ‘make_state_key’ from ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:761:26: return_function: returning to ‘st_draw_hw_select_prepare_mode’ from ‘make_state_key’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:762:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:765:28: call_function: inlined call to ‘st_context’ from ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:772:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:773:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:773:12: call_function: calling ‘hw_select_create_gs’ from ‘st_draw_hw_select_prepare_mode’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1287]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:174:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:759:1: enter_function: entry to ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:761:26: call_function: calling ‘make_state_key’ from ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:761:26: return_function: returning to ‘st_draw_hw_select_prepare_mode’ from ‘make_state_key’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:762:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:765:28: call_function: inlined call to ‘st_context’ from ‘st_draw_hw_select_prepare_mode’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:772:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:773:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_draw_hw_select.c:773:12: call_function: calling ‘hw_select_create_gs’ from ‘st_draw_hw_select_prepare_mode’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1288]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:169:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:157:1: enter_function: entry to ‘lower_builtin_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:160:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:163:29: call_function: inlined call to ‘nir_src_as_deref’ from ‘lower_builtin_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:164:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:168:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:168:24: call_function: calling ‘nir_deref_instr_get_variable’ from ‘lower_builtin_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:168:24: return_function: returning to ‘lower_builtin_instr’ from ‘nir_deref_instr_get_variable’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_builtin.c:169:16: danger: dereference of NULL ‘nir_deref_instr_get_variable(<unknown>)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1289]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_tex_src_plane.c:69:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_tex_src_plane.c:164:1: enter_function: entry to ‘st_nir_lower_tex_src_plane’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_nir_lower_tex_src_plane.c:173:4: call_function: calling ‘assign_extra_samplers’ from ‘st_nir_lower_tex_src_plane’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1290]
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_program.c:777:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘v’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_program.c:1500:1: enter_function: entry to ‘st_finalize_program’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/state_tracker/st_program.c:1542:11: call_function: calling ‘st_precompile_shader_variant’ from ‘st_finalize_program’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1291]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:237:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘block’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:486:1: enter_function: entry to ‘nak_nir_lower_cf’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:490:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:490:4: branch_true: following ‘true’ branch (when ‘func’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:491:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:491:11: call_function: calling ‘lower_cf_func’ from ‘nak_nir_lower_cf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1292]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:100:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nus.pred’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:473:1: enter_function: entry to ‘nak_nir_lower_non_uniform_ldcx’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:476:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nak_nir_lower_non_uniform_ldcx’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:476:30: return_function: returning to ‘nak_nir_lower_non_uniform_ldcx’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:482:20: call_function: calling ‘lower_cf_list’ from ‘nak_nir_lower_non_uniform_ldcx’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1293]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:100:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘target’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:473:1: enter_function: entry to ‘nak_nir_lower_non_uniform_ldcx’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:476:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nak_nir_lower_non_uniform_ldcx’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:476:30: return_function: returning to ‘nak_nir_lower_non_uniform_ldcx’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_non_uniform_ldcx.c:482:20: call_function: calling ‘lower_cf_list’ from ‘nak_nir_lower_non_uniform_ldcx’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1294]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_tex.c:15:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tex_h’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_tex.c:761:1: enter_function: entry to ‘nak_nir_lower_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_tex.c:763:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘nak_nir_lower_tex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1295]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:312:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘binds’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:303:7: branch_false: following ‘false’ branch (when ‘bind_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:306:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:306:4: branch_false: following ‘false’ branch (when ‘bind_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:306:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:306:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:308:25: branch_true: following ‘true’ branch (when ‘i < bind_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:309:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:316:17: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:318:21: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_buffer.c:312:7: danger: ‘binds + (long unsigned int)i * 48’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1296]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_cmd_buffer.c:159:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_cmd_buffer.c:631:1: enter_function: entry to ‘nvk_CmdPipelineBarrier2’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_cmd_buffer.c:636:4: call_function: calling ‘nvk_cmd_flush_wait_dep’ from ‘nvk_CmdPipelineBarrier2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1297]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_cmd_draw.c:1628:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_vtgm’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_cmd_draw.c:4537:1: enter_function: entry to ‘nvk_CmdDrawIndirectByteCountEXT’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_cmd_draw.c:4548:4: call_function: calling ‘nvk_cmd_flush_gfx_state’ from ‘nvk_CmdDrawIndirectByteCountEXT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1298]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_codegen.c:198:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_codegen.c:189:1: enter_function: entry to ‘lower_image_size_to_txs’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_codegen.c:197:27: call_function: inlined call to ‘nir_src_as_deref’ from ‘lower_image_size_to_txs’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_codegen.c:198:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_codegen.c:198:19: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1299]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set.c:88:10: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set.c:998:1: enter_function: entry to ‘nvk_GetDescriptorEXT’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set.c:1016:7: call_function: calling ‘get_sampled_image_view_desc’ from ‘nvk_GetDescriptorEXT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1300]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:108:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:384:1: enter_function: entry to ‘nvk_GetDescriptorSetLayoutSupport’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:392:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_GetDescriptorSetLayoutSupport’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:392:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_GetDescriptorSetLayoutSupport’
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:395:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_GetDescriptorSetLayoutSupport’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:395:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_GetDescriptorSetLayoutSupport’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:403:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:403:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:404:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:406:10: call_function: inlined call to ‘nvk_descriptor_get_type_list’ from ‘nvk_GetDescriptorSetLayoutSupport’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1301]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:171:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:131:1: enter_function: entry to ‘nvk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:161:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘nvk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:162:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘nvk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:164:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘nvk_CreateDescriptorSetLayout’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:167:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:170:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:170:10: release_memory: ‘layout’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_descriptor_set_layout.c:171:4: danger: dereference of NULL ‘layout’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1302]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:294:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:268:1: enter_function: entry to ‘nvk_MapMemory2KHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:276:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:281:23: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:290:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:292:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:292:10: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_MapMemory2KHR’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:292:10: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_MapMemory2KHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:294:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_device_memory.c:294:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1303]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1233:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1224:1: enter_function: entry to ‘nvk_GetImageMemoryRequirements2’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1232:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_GetImageMemoryRequirements2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1232:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_GetImageMemoryRequirements2’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1234:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1234:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1233:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1233:29: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1304]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1520:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1475:1: enter_function: entry to ‘nvk_bind_image_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1495:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_bind_image_memory’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1495:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_bind_image_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1497:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1497:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1515:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1516:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1518:10: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_bind_image_memory’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1518:10: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_bind_image_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1520:51: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1520:51: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1305]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1655:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nvkmd_binds’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1629:4: branch_false: following ‘false’ branch (when ‘nvkmd_bind_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1629:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1629:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1635:28: branch_true: following ‘true’ branch (when ‘z_tl < <unknown>’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1637:31: branch_true: following ‘true’ branch (when ‘y_tl < <unknown>’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1642:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1660:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1662:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1655:10: danger: ‘nvkmd_binds + (long unsigned int)nvkmd_bind_idx * 48’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1306]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1838:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘nvkmd_binds’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1800:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1805:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1816:4: branch_false: following ‘false’ branch (when ‘nvkmd_bind_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1816:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1816:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1819:31: branch_true: following ‘true’ branch (when ‘a < end_a’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1822:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1842:17: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1843:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_image.c:1838:7: danger: ‘nvkmd_binds + (long unsigned int)nvkmd_bind_idx * 48’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1307]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_indirect_execution_set.c:26:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_indirect_execution_set.c:189:1: enter_function: entry to ‘nvk_ies_set_pipeline’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_indirect_execution_set.c:196:10: call_function: inlined call to ‘vk_pipeline_get_shader’ from ‘nvk_ies_set_pipeline’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_indirect_execution_set.c:199:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_indirect_execution_set.c:199:7: call_function: calling ‘nvk_ies_set_cs’ from ‘nvk_ies_set_pipeline’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1308]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:181:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:364:1: enter_function: entry to ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:389:35: call_function: inlined call to ‘nir_src_as_deref’ from ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:390:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:390:10: call_function: calling ‘record_deref_descriptor_cbuf_use’ from ‘record_cbuf_uses_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1309]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:236:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:364:1: enter_function: entry to ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:377:35: call_function: inlined call to ‘nir_src_as_deref’ from ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:378:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:379:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:379:13: call_function: calling ‘record_load_ubo_cbuf_uses’ from ‘record_cbuf_uses_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1310]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:250:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:364:1: enter_function: entry to ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:377:35: call_function: inlined call to ‘nir_src_as_deref’ from ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:378:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:379:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:379:13: call_function: calling ‘record_load_ubo_cbuf_uses’ from ‘record_cbuf_uses_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1311]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:264:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:364:1: enter_function: entry to ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:377:35: call_function: inlined call to ‘nir_src_as_deref’ from ‘record_cbuf_uses_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:378:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:379:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_nir_lower_descriptors.c:379:13: call_function: calling ‘record_load_ubo_cbuf_uses’ from ‘record_cbuf_uses_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1312]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:319:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘execs’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:362:1: enter_function: entry to ‘nvk_queue_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:368:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:371:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:371:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:372:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:371:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:373:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:371:8: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:379:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:379:16: call_function: calling ‘nvk_queue_submit_exec’ from ‘nvk_queue_submit’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1313]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:406:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dw’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:435:1: enter_function: entry to ‘nvk_queue_init_context_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:447:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:458:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:458:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:464:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:470:42: call_function: inlined call to ‘nv_push_dw_count’ from ‘nvk_queue_init_context_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_queue.c:470:11: call_function: calling ‘nvk_queue_submit_simple’ from ‘nvk_queue_init_context_state’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1314]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:276:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘bc_srgb[1]’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:286:1: enter_function: entry to ‘nvk_CreateSampler’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:297:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_CreateSampler’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:297:7: call_function: inlined call to ‘__vk_find_struct’ from ‘nvk_CreateSampler’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:300:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:301:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:305:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:309:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvk_sampler.c:311:7: call_function: calling ‘nvk_sampler_fill_header’ from ‘nvk_CreateSampler’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1315]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:36:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:112:1: enter_function: entry to ‘nvkmd_nouveau_exec_ctx_wait’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:119:25: branch_true: following ‘true’ branch (when ‘i < wait_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:124:57: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:120:25: call_function: inlined call to ‘nvkmd_nouveau_ctx_add_sync’ from ‘nvkmd_nouveau_exec_ctx_wait’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1316]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:304:4: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:286:41: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:287:7: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:290:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:304:4: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1317]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:45:14: warning[-Wanalyzer-malloc-leak]: leak of ‘pdev’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:44:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:47:12: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:49:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:71:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:71:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:74:39: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:75:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:78:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:78:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:85:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:85:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:91:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:93:38: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:94:7: branch_false: following ‘false’ branch (when ‘pdev’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:99:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_pdev.c:45:14: danger: ‘pdev’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1318]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:159:4: warning[-Wanalyzer-malloc-leak]: leak of ‘va’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:115:1: enter_function: entry to ‘nvkmd_nouveau_alloc_va’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:124:34: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:125:7: branch_false: following ‘false’ branch (when ‘va’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:128:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:136:13: call_function: calling ‘alloc_heap_addr’ from ‘nvkmd_nouveau_alloc_va’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:136:13: return_function: returning to ‘nvkmd_nouveau_alloc_va’ from ‘alloc_heap_addr’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:138:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:141:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_va.c:159:4: danger: ‘va’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1319]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:128:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:124:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:127:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:127:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:128:4: danger: ‘bo’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1320]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:202:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bo’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:169:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:173:49: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:174:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:185:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:190:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:194:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:194:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:196:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:201:31: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_bo.c:202:4: danger: ‘bo’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1321]
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:301:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘device’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:267:39: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:272:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:275:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:276:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:279:38: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:279:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:287:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:293:7: branch_false: following ‘false’ branch (when ‘version > 16777984’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:298:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:300:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:301:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/winsys/nouveau_device.c:301:7: danger: ‘device’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1322]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:101:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_c_path, "w")’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:346:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:348:7: branch_false: following ‘false’ branch (when ‘argc == 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:356:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:364:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:369:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:370:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:375:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:376:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:381:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:385:7: branch_false: following ‘false’ branch (when ‘spirv_map != 18446744073709551615’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:391:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:392:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:397:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:397:17: acquire_resource: opened here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:398:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:403:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:408:4: call_function: calling ‘nir_precomp_print_header’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:408:4: return_function: returning to ‘main’ from ‘nir_precomp_print_header’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:416:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:416:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:101:7: danger: ‘fopen(output_c_path, "w")’ leaks here; was opened at [(14)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1323]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:101:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_c_path, "w")’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:346:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:348:7: branch_false: following ‘false’ branch (when ‘argc == 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:356:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:364:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:369:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:370:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:375:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:376:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:381:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:385:7: branch_false: following ‘false’ branch (when ‘spirv_map != 18446744073709551615’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:391:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:392:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:397:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:397:17: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:398:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:403:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:408:4: call_function: calling ‘nir_precomp_print_header’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:408:4: return_function: returning to ‘main’ from ‘nir_precomp_print_header’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:416:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:416:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:101:7: danger: ‘fopen(output_c_path, "w")’ leaks here; was allocated at [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1324]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:263:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:346:1: enter_function: entry to ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:348:7: branch_false: following ‘false’ branch (when ‘argc == 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:356:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:364:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:369:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:370:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:375:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:376:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:381:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:385:7: branch_false: following ‘false’ branch (when ‘spirv_map != 18446744073709551615’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:391:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:392:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:397:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:398:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:403:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:408:4: call_function: calling ‘nir_precomp_print_header’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:408:4: return_function: returning to ‘main’ from ‘nir_precomp_print_header’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:416:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:416:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:417:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:425:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:429:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:430:26: call_function: inlined call to ‘get_compiler_options’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:474:10: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘main’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:474:10: return_function: returning to ‘main’ from ‘nir_shader_intrinsics_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/clc/panfrost_compile.c:489:10: call_function: calling ‘print_shader’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1325]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/bifrost/bi_schedule.c:449:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘instructions’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/bifrost/bi_schedule.c:2155:1: enter_function: entry to ‘bi_schedule’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/bifrost/bi_schedule.c:2160:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/bifrost/bi_schedule.c:2161:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/bifrost/bi_schedule.c:2161:7: call_function: calling ‘bi_schedule_block’ from ‘bi_schedule’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1326]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:216:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elem’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:162:1: enter_function: entry to ‘nodearray_orr’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:171:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:172:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:175:10: branch_false: following ‘false’ branch (when ‘size == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:191:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:191:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:199:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:201:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:203:45: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:206:16: branch_false: following ‘false’ branch (when ‘left == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:210:35: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:212:13: branch_false: following ‘false’ branch (when ‘size == left’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:216:18: call_function: inlined call to ‘nodearray_encode’ from ‘nodearray_orr’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/compiler/nodearray.h:216:10: danger: ‘elem’ could be NULL: unchecked value from [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1327]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/cs_builder.h:646:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ins’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_exception_handler.c:151:1: enter_function: entry to ‘panvk_v10_init_tiler_oom’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_exception_handler.c:159:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_exception_handler.c:162:30: branch_true: following ‘true’ branch (when ‘zs_ext != 2’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_exception_handler.c:163:35: branch_true: following ‘true’ branch (when ‘rt_count != 9’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_exception_handler.c:164:25: call_function: inlined call to ‘get_tiler_oom_handler_idx’ from ‘panvk_v10_init_tiler_oom’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_exception_handler.c:178:13: call_function: calling ‘generate_tiler_oom_handler’ from ‘panvk_v10_init_tiler_oom’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1328]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode.h:89:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:489:1: enter_function: entry to ‘pandecode_shader_disassemble’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:492:13: call_function: calling ‘__pandecode_fetch_gpu_mem’ from ‘pandecode_shader_disassemble’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1329]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:97:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:489:1: enter_function: entry to ‘pandecode_shader_disassemble’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:492:13: call_function: calling ‘__pandecode_fetch_gpu_mem’ from ‘pandecode_shader_disassemble’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1330]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:193:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mapped_mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:174:1: enter_function: entry to ‘pandecode_inject_mmap’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:177:4: call_function: calling ‘simple_mtx_lock’ from ‘pandecode_inject_mmap’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:177:4: return_function: returning to ‘pandecode_inject_mmap’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:182:7: call_function: inlined call to ‘pandecode_find_mapped_gpu_mem_containing_rw’ from ‘pandecode_inject_mmap’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:182:7: call_function: inlined call to ‘pandecode_find_mapped_gpu_mem_containing_rw’ from ‘pandecode_inject_mmap’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:184:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:192:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:192:20: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:193:7: danger: ‘mapped_mem’ could be NULL: unchecked value from [(16)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1331]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:294:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:289:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:294:4: danger: ‘ctx’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1332]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:497:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:489:1: enter_function: entry to ‘pandecode_shader_disassemble’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:492:13: call_function: calling ‘__pandecode_fetch_gpu_mem’ from ‘pandecode_shader_disassemble’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:492:13: return_function: returning to ‘pandecode_shader_disassemble’ from ‘__pandecode_fetch_gpu_mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:496:7: call_function: calling ‘pandecode_find_mapped_gpu_mem_containing’ from ‘pandecode_shader_disassemble’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:496:7: return_function: returning to ‘pandecode_shader_disassemble’ from ‘pandecode_find_mapped_gpu_mem_containing’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/genxml/decode_common.c:497:16: danger: dereference of NULL ‘pandecode_find_mapped_gpu_mem_containing(ctx, shader_ptr)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1333]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:996:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sync_ops’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:858:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:864:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:864:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:871:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:871:7: branch_false: following ‘false’ branch (when ‘op_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:878:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:889:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:895:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:904:25: branch_true: following ‘true’ branch (when ‘va_collect_cnt > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:906:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:907:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:912:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:912:10: branch_true: following ‘true’ branch (when ‘i == 0’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:918:7: branch_false: following ‘false’ branch (when ‘syncop_cnt <= 16’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:926:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:926:14: branch_false: following ‘false’ branch (when ‘syncop_cnt == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:931:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:931:7: branch_false: following ‘false’ branch (when ‘op_count <= 16’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:941:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:953:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:956:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:956:25: branch_true: following ‘true’ branch (when ‘i < op_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:957:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:960:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:971:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:971:10: branch_false: following ‘false’ branch (when ‘mode != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:995:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:995:28: branch_true: following ‘true’ branch (when ‘j < op_sync_cnt’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:996:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:996:18: release_memory: ‘sync_ops’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/kmod/panthor_kmod.c:996:10: danger: dereference of NULL ‘sync_ops + (long unsigned int)syncop_ptr * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1334]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:747:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:701:1: enter_function: entry to ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:707:42: call_function: calling ‘pan_image_view_get_first_plane’ from ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:707:42: return_function: returning to ‘panfrost_new_texture_v4’ from ‘pan_image_view_get_first_plane’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:717:4: call_function: calling ‘panfrost_emit_texture_payload’ from ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:717:4: return_function: returning to ‘panfrost_new_texture_v4’ from ‘panfrost_emit_texture_payload’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:736:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:747:39: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:747:24: danger: dereference of NULL ‘pan_image_view_get_first_plane(iview)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1335]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:773:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:701:1: enter_function: entry to ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:707:42: call_function: calling ‘pan_image_view_get_first_plane’ from ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:707:42: return_function: returning to ‘panfrost_new_texture_v4’ from ‘pan_image_view_get_first_plane’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:717:4: call_function: calling ‘panfrost_emit_texture_payload’ from ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:717:4: return_function: returning to ‘panfrost_new_texture_v4’ from ‘panfrost_emit_texture_payload’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:736:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:765:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:770:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:773:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:773:29: danger: dereference of NULL ‘pan_image_view_get_first_plane(iview)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1336]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:779:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:701:1: enter_function: entry to ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:707:42: call_function: calling ‘pan_image_view_get_first_plane’ from ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:707:42: return_function: returning to ‘panfrost_new_texture_v4’ from ‘pan_image_view_get_first_plane’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:717:4: call_function: calling ‘panfrost_emit_texture_payload’ from ‘panfrost_new_texture_v4’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:717:4: return_function: returning to ‘panfrost_new_texture_v4’ from ‘panfrost_emit_texture_payload’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:736:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:765:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:770:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:771:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/lib/pan_texture.c:779:56: danger: dereference of NULL ‘pan_image_view_get_first_plane(iview)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1337]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/disassemble.c:1846:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ctx.midg_tags’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/disassemble.c:1837:20: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/disassemble.c:1841:11: branch_true: following ‘true’ branch (when ‘i < num_words’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/disassemble.c:1842:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/disassemble.c:1846:11: danger: ‘ctx.midg_tags + (long unsigned int)i * 4’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1338]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:794:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:928:1: enter_function: entry to ‘emit_binary_bundle’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:943:7: call_function: calling ‘emit_alu_bundle’ from ‘emit_binary_bundle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1339]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:812:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:928:1: enter_function: entry to ‘emit_binary_bundle’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:943:7: call_function: calling ‘emit_alu_bundle’ from ‘emit_binary_bundle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1340]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:822:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:928:1: enter_function: entry to ‘emit_binary_bundle’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:943:7: call_function: calling ‘emit_alu_bundle’ from ‘emit_binary_bundle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1341]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:849:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:928:1: enter_function: entry to ‘emit_binary_bundle’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:943:7: call_function: calling ‘emit_alu_bundle’ from ‘emit_binary_bundle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1342]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:868:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:928:1: enter_function: entry to ‘emit_binary_bundle’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:943:7: call_function: calling ‘emit_alu_bundle’ from ‘emit_binary_bundle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1343]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:873:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:928:1: enter_function: entry to ‘emit_binary_bundle’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_emit.c:943:7: call_function: calling ‘emit_alu_bundle’ from ‘emit_binary_bundle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1344]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_nir_type_csel.c:33:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_nir_type_csel.c:27:1: enter_function: entry to ‘midgard_nir_type_csel’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_nir_type_csel.c:29:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘midgard_nir_type_csel’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_nir_type_csel.c:29:30: return_function: returning to ‘midgard_nir_type_csel’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/midgard/midgard_nir_type_csel.c:33:14: danger: dereference of NULL ‘nir_shader_get_entrypoint(shader)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1345]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/util/lcra.c:47:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘l’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/util/lcra.c:45:27: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/util/lcra.c:47:4: danger: ‘l’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1346]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:67:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:60:1: enter_function: entry to ‘panvk_v10_GetEventStatus’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:64:39: call_function: inlined call to ‘panvk_priv_mem_host_addr’ from ‘panvk_v10_GetEventStatus’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:66:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:66:25: branch_true: following ‘true’ branch (when ‘i != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:67:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:67:20: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:67:12: danger: dereference of NULL ‘<unknown> + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1347]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:82:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:75:1: enter_function: entry to ‘panvk_v10_SetEvent’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:79:39: call_function: inlined call to ‘panvk_priv_mem_host_addr’ from ‘panvk_v10_SetEvent’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:81:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:81:25: branch_true: following ‘true’ branch (when ‘i != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:82:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:82:15: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:82:7: danger: dereference of NULL ‘<unknown> + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1348]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:94:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:88:1: enter_function: entry to ‘panvk_v10_ResetEvent’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:92:39: call_function: inlined call to ‘panvk_priv_mem_host_addr’ from ‘panvk_v10_ResetEvent’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:94:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_event.c:94:4: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1349]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_queue.c:685:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_queue.c:1246:1: enter_function: entry to ‘panvk_v10_queue_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_queue.c:1250:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_queue.c:1253:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_queue.c:1254:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_queue.c:1260:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/csf/panvk_vX_queue.c:1260:13: call_function: calling ‘init_tiler’ from ‘panvk_v10_queue_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1350]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:72:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:312:1: enter_function: entry to ‘panvk_v6_CmdPipelineBarrier2’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:323:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:325:31: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:327:7: call_function: calling ‘panvk_v6_cmd_close_batch’ from ‘panvk_v6_CmdPipelineBarrier2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1351]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:100:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:302:1: enter_function: entry to ‘panvk_v6_EndCommandBuffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:306:4: call_function: calling ‘panvk_v6_cmd_close_batch’ from ‘panvk_v6_EndCommandBuffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1352]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:101:13: warning[-Wanalyzer-malloc-leak]: leak of ‘*batch.jobs.data’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:302:1: enter_function: entry to ‘panvk_v6_EndCommandBuffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_buffer.c:306:4: call_function: calling ‘panvk_v6_cmd_close_batch’ from ‘panvk_v6_EndCommandBuffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1353]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:128:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:61:1: enter_function: entry to ‘panvk_v6_CmdDispatchBase’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:70:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:74:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:77:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:96:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:99:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:103:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:107:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:111:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:114:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:124:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:127:11: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:127:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:128:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:128:10: call_function: calling ‘util_dynarray_grow_bytes’ from ‘panvk_v6_CmdDispatchBase’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:128:10: return_function: returning to ‘panvk_v6_CmdDispatchBase’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:128:10: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*<unknown>.jobs, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1354]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:135:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:61:1: enter_function: entry to ‘panvk_v6_CmdDispatchBase’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:70:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:74:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:77:31: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:96:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:99:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:103:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:107:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:111:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:114:24: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:131:30: call_function: calling ‘panvk_pool_descs_to_alloc_info’ from ‘panvk_v6_CmdDispatchBase’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:131:30: return_function: returning to ‘panvk_v6_CmdDispatchBase’ from ‘panvk_pool_descs_to_alloc_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:131:30: call_function: calling ‘panvk_cmd_alloc_from_pool’ from ‘panvk_v6_CmdDispatchBase’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:131:30: return_function: returning to ‘panvk_v6_CmdDispatchBase’ from ‘panvk_cmd_alloc_from_pool’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:132:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:135:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:135:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘panvk_v6_CmdDispatchBase’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:135:4: return_function: returning to ‘panvk_v6_CmdDispatchBase’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_dispatch.c:135:4: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*<unknown>.jobs, 1, 8)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1355]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:33:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:19:1: enter_function: entry to ‘panvk_add_set_event_operation’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:33:7: call_function: calling ‘util_dynarray_grow_bytes’ from ‘panvk_add_set_event_operation’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:33:7: return_function: returning to ‘panvk_add_set_event_operation’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:33:7: danger: dereference of NULL ‘util_dynarray_grow_bytes(&*cmdbuf_1(D)->cur_batch.event_ops, 1, 16)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1356]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:60:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:104:1: enter_function: entry to ‘panvk_v6_CmdWaitEvents2’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:112:25: branch_true: following ‘true’ branch (when ‘i < eventCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:113:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:114:7: call_function: calling ‘panvk_add_wait_event_operation’ from ‘panvk_v6_CmdWaitEvents2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1357]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:72:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:104:1: enter_function: entry to ‘panvk_v6_CmdWaitEvents2’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:112:25: branch_true: following ‘true’ branch (when ‘i < eventCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:113:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_cmd_event.c:114:7: call_function: calling ‘panvk_add_wait_event_operation’ from ‘panvk_v6_CmdWaitEvents2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1358]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:229:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:215:1: enter_function: entry to ‘panvk_queue_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:224:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:227:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:227:10: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘panvk_queue_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:229:27: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1359]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:303:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:215:1: enter_function: entry to ‘panvk_queue_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:298:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:301:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:301:10: call_function: inlined call to ‘vk_sync_as_drm_syncobj’ from ‘panvk_queue_submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/jm/panvk_vX_queue.c:303:7: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1360]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:576:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:544:1: enter_function: entry to ‘panvk_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:548:7: call_function: inlined call to ‘__vk_find_struct’ from ‘panvk_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:548:7: call_function: inlined call to ‘__vk_find_struct’ from ‘panvk_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:550:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:550:25: branch_true: following ‘true’ branch (when ‘i < bindInfoCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:551:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:554:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:567:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:571:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:573:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:573:16: call_function: inlined call to ‘__vk_find_struct’ from ‘panvk_BindImageMemory2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:573:16: call_function: inlined call to ‘__vk_find_struct’ from ‘panvk_BindImageMemory2’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:576:52: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_image.c:576:52: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1361]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_physical_device.c:1615:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_physical_device.c:1587:1: enter_function: entry to ‘get_image_format_properties’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_physical_device.c:1600:7: call_function: inlined call to ‘__vk_find_struct’ from ‘get_image_format_properties’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_physical_device.c:1613:10: call_function: inlined call to ‘__vk_find_struct’ from ‘get_image_format_properties’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_physical_device.c:1613:10: call_function: inlined call to ‘__vk_find_struct’ from ‘get_image_format_properties’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_physical_device.c:1615:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_physical_device.c:1615:11: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1362]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:483:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘deref’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1447:1: enter_function: entry to ‘panvk_v6_nir_lower_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1481:4: call_function: calling ‘nir_shader_instructions_pass’ from ‘panvk_v6_nir_lower_descriptors’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1363]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:492:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1447:1: enter_function: entry to ‘panvk_v6_nir_lower_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1481:4: call_function: calling ‘nir_shader_instructions_pass’ from ‘panvk_v6_nir_lower_descriptors’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1364]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:846:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1447:1: enter_function: entry to ‘panvk_v6_nir_lower_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1481:4: call_function: calling ‘nir_shader_instructions_pass’ from ‘panvk_v6_nir_lower_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1481:4: return_function: returning to ‘panvk_v6_nir_lower_descriptors’ from ‘nir_shader_instructions_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1481:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1495:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1495:4: call_function: calling ‘create_copy_table’ from ‘panvk_v6_nir_lower_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1495:4: return_function: returning to ‘panvk_v6_nir_lower_descriptors’ from ‘create_copy_table’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1496:4: call_function: calling ‘upload_shader_desc_info’ from ‘panvk_v6_nir_lower_descriptors’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1496:4: return_function: returning to ‘panvk_v6_nir_lower_descriptors’ from ‘upload_shader_desc_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1498:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1499:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1499:7: call_function: calling ‘lower_input_attachment_loads’ from ‘panvk_v6_nir_lower_descriptors’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1365]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:974:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:967:1: enter_function: entry to ‘collect_frag_writes’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:972:29: call_function: inlined call to ‘nir_src_as_deref’ from ‘collect_frag_writes’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:974:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:974:8: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1366]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1033:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1403:1: enter_function: entry to ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1414:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1417:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1419:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1422:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1449:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1450:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1455:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1457:13: call_function: calling ‘shader_desc_info_deserialize’ from ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1457:13: return_function: returning to ‘panvk_deserialize_shader’ from ‘shader_desc_info_deserialize’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1459:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: call_function: calling ‘panvk_shader_upload’ from ‘panvk_deserialize_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1367]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1044:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1403:1: enter_function: entry to ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1414:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1417:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1419:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1422:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1449:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1450:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1455:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: call_function: calling ‘panvk_shader_upload’ from ‘panvk_deserialize_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1368]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1071:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1403:1: enter_function: entry to ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1414:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1417:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1419:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1422:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1449:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1450:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1455:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: call_function: calling ‘panvk_shader_upload’ from ‘panvk_deserialize_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1369]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1086:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1403:1: enter_function: entry to ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1414:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1417:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1419:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1422:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1449:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1450:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1455:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: call_function: calling ‘panvk_shader_upload’ from ‘panvk_deserialize_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1370]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1102:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1403:1: enter_function: entry to ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1414:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1417:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1419:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1422:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1449:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1450:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1455:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: call_function: calling ‘panvk_shader_upload’ from ‘panvk_deserialize_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1371]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1118:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1403:1: enter_function: entry to ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1414:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1417:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1419:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1422:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1449:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1450:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1455:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: call_function: calling ‘panvk_shader_upload’ from ‘panvk_deserialize_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1372]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1136:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1403:1: enter_function: entry to ‘panvk_deserialize_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1414:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1417:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1419:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1422:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1449:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1450:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1455:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1464:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1469:13: call_function: calling ‘panvk_shader_upload’ from ‘panvk_deserialize_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1373]
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1764:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1748:1: enter_function: entry to ‘emit_varying_attrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1753:26: call_function: inlined call to ‘__bitset_count’ from ‘emit_varying_attrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1753:26: call_function: inlined call to ‘__bitset_count’ from ‘emit_varying_attrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1755:11: call_function: calling ‘panvk_pool_descs_to_alloc_info’ from ‘emit_varying_attrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1755:11: return_function: returning to ‘emit_varying_attrs’ from ‘panvk_pool_descs_to_alloc_info’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1760:42: call_function: inlined call to ‘panvk_priv_mem_host_addr’ from ‘emit_varying_attrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1763:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1763:25: branch_true: following ‘true’ branch (when ‘attr_idx < varying_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1764:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1764:7: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/vulkan/panvk_vX_shader.c:1764:7: danger: dereference of NULL ‘<unknown> + (long unsigned int)attr_idx * 8’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def1374]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/bitset.h:256:7: warning[-Wanalyzer-infinite-recursion]: infinite recursion
mesa-25.1.0-rc2/redhat-linux-build/../src/util/bitset.h:246:1: enter_function: entry to ‘__bitset_set_range’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/bitset.h:251:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/bitset.h:254:22: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/bitset.h:256:7: call_function: calling ‘__bitset_set_range’ from ‘__bitset_set_range’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def1375]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/bitset.h:275:7: warning[-Wanalyzer-infinite-recursion]: infinite recursion
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1281:1: enter_function: entry to ‘v3d_set_shader_buffers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1290:12: branch_false: following ‘false’ branch (when ‘buffers’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1310:38: branch_false: following ‘false’ branch (when ‘i >= count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1317:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/v3d/v3dx_state.c:1317:17: call_function: calling ‘__bitclear_clear_range’ from ‘v3d_set_shader_buffers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1376]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/box.h:37:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘boxes’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri2.c:1850:7: branch_true: following ‘true’ branch (when ‘nrects != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri2.c:1851:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri2.c:1851:15: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri2.c:1854:32: branch_true: following ‘true’ branch (when ‘i < nrects’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri2.c:1855:29: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/dri/dri2.c:1857:10: call_function: inlined call to ‘u_box_2d’ from ‘dri_set_damage_region’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1377]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/dag.c:255:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/dag.c:266:1: enter_function: entry to ‘dag_validate’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/dag.c:282:4: branch_true: following ‘true’ branch (when ‘node != dag’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/dag.c:283:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/dag.c:283:7: call_function: calling ‘dag_validate_node’ from ‘dag_validate’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1378]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:162:14: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:897:1: enter_function: entry to ‘disk_cache_generate_cache_dir’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:927:14: call_function: calling ‘concatenate_and_mkdir’ from ‘disk_cache_generate_cache_dir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1379]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:302:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entry’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:486:1: enter_function: entry to ‘disk_cache_evict_lru_item’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:496:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:499:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:499:18: call_function: calling ‘unlink_lru_file_from_directory’ from ‘disk_cache_evict_lru_item’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1380]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/format/texcompress_bptc_tmp.h:1446:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘endpoint_luminances[1]’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/format/u_format_bptc.c:263:1: enter_function: entry to ‘util_format_bptc_rgb_ufloat_pack_rgba_8unorm’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/format/u_format_bptc.c:267:4: call_function: calling ‘compress_rgba_unorm’ from ‘util_format_bptc_rgb_ufloat_pack_rgba_8unorm’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1381]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/format/texcompress_bptc_tmp.h:1604:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_bptc.c:233:1: enter_function: entry to ‘_mesa_texstore_bptc_rgb_unsigned_float’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_bptc.c:237:11: call_function: calling ‘texstore_bptc_rgb_float’ from ‘_mesa_texstore_bptc_rgb_unsigned_float’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1382]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/format/texcompress_bptc_tmp.h:1700:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_bptc.c:233:1: enter_function: entry to ‘_mesa_texstore_bptc_rgb_unsigned_float’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_bptc.c:237:11: call_function: calling ‘texstore_bptc_rgb_float’ from ‘_mesa_texstore_bptc_rgb_unsigned_float’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1383]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/format/texcompress_s3tc_tmp.h:898:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*curaddr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_s3tc.c:213:1: enter_function: entry to ‘_mesa_texstore_rgba_dxt5’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_s3tc.c:232:10: branch_false: following ‘false’ branch (when ‘tempImage’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_s3tc.c:234:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/main/texcompress_s3tc.c:255:4: call_function: calling ‘tx_compress_dxt5’ from ‘_mesa_texstore_rgba_dxt5’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1384]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:55:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘lru_file_list’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:486:1: enter_function: entry to ‘disk_cache_evict_lru_item’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:496:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:499:18: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/disk_cache_os.c:499:18: call_function: calling ‘unlink_lru_file_from_directory’ from ‘disk_cache_evict_lru_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1385]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:67:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘priv’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:750:1: enter_function: entry to ‘vl_mpeg12_end_frame’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:769:10: call_function: calling ‘vl_mpeg12_get_decode_buffer’ from ‘vl_mpeg12_end_frame’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1386]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:81:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:870:25: release_memory: ‘batch_bo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:880:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:883:26: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:883:26: release_memory: ‘batch_bo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:883:4: call_function: inlined call to ‘list_addtail’ from ‘anv_cmd_buffer_init_batch_bo_chain’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1387]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:81:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prev_bbo’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:397:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:398:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:398:28: release_memory: ‘new_bbo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:400:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:402:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:402:28: release_memory: ‘new_bbo’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/vulkan/anv_batch_chain.c:402:7: call_function: inlined call to ‘list_addtail’ from ‘anv_batch_bo_list_clone’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1388]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:82:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_blockify_uniform_loads.c:142:1: enter_function: entry to ‘brw_nir_rebase_const_offset_ubo_loads’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/intel_nir_blockify_uniform_loads.c:144:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘brw_nir_rebase_const_offset_ubo_loads’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1389]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:82:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dupl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/lima_nir_duplicate_modifiers.c:123:1: enter_function: entry to ‘lima_nir_duplicate_modifiers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/lima_nir_duplicate_modifiers.c:125:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘lima_nir_duplicate_modifiers’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/lima_nir_duplicate_modifiers.c:125:4: return_function: returning to ‘lima_nir_duplicate_modifiers’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/lima_nir_duplicate_modifiers.c:125:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/lima/ir/lima_nir_duplicate_modifiers.c:126:7: call_function: calling ‘lima_nir_duplicate_modifier_impl’ from ‘lima_nir_duplicate_modifiers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1390]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:82:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_src’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:606:1: enter_function: entry to ‘nir_opt_vectorize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:611:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_vectorize’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:611:4: return_function: returning to ‘nir_opt_vectorize’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:611:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_vectorize.c:612:19: call_function: calling ‘nir_opt_vectorize_impl’ from ‘nir_opt_vectorize’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1391]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:82:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offset’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_atomics.c:155:1: enter_function: entry to ‘gl_nir_lower_atomics_instr’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/gl_nir_lower_atomics.c:162:11: call_function: calling ‘lower_deref_instr’ from ‘gl_nir_lower_atomics_instr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1392]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:82:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sample’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_sample_intrinsics.c:204:1: enter_function: entry to ‘agx_nir_lower_sample_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_sample_intrinsics.c:207:11: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘agx_nir_lower_sample_intrinsics’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1393]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:82:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:201:1: enter_function: entry to ‘nir_opt_phi_to_bool’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:203:35: call_function: calling ‘nir_instr_worklist_create’ from ‘nir_opt_phi_to_bool’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:203:35: return_function: returning to ‘nir_opt_phi_to_bool’ from ‘nir_instr_worklist_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:205:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_phi_to_bool’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:205:4: return_function: returning to ‘nir_opt_phi_to_bool’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:205:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:206:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:207:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:208:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:208:10: branch_false: following ‘false’ branch (when ‘instr’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:206:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:205:4: call_function: calling ‘nir_foreach_function_with_impl_next’ from ‘nir_opt_phi_to_bool’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:205:4: return_function: returning to ‘nir_opt_phi_to_bool’ from ‘nir_foreach_function_with_impl_next’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:205:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_phi_to_bool.c:235:11: call_function: calling ‘nir_shader_phi_pass’ from ‘nir_opt_phi_to_bool’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1394]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:82:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘txq_src’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_tex.c:761:1: enter_function: entry to ‘nak_nir_lower_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_tex.c:763:11: call_function: calling ‘nir_shader_instructions_pass’ from ‘nak_nir_lower_tex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1395]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:83:5: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_gds()’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1573:5: enter_function: entry to ‘r600_bytecode_add_gds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1575:42: call_function: calling ‘r600_bytecode_gds’ from ‘r600_bytecode_add_gds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1575:42: return_function: returning to ‘r600_bytecode_add_gds’ from ‘r600_bytecode_gds’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1578:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1580:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1587:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1588:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1587:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1589:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1587:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1598:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1598:9: call_function: inlined call to ‘list_addtail’ from ‘r600_bytecode_add_gds’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1396]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:83:5: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_tex()’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1499:5: enter_function: entry to ‘r600_bytecode_add_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1501:42: call_function: calling ‘r600_bytecode_tex’ from ‘r600_bytecode_add_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1501:42: return_function: returning to ‘r600_bytecode_add_tex’ from ‘r600_bytecode_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1504:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1506:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1551:21: call_function: calling ‘r600_bytecode_add_cf’ from ‘r600_bytecode_add_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1551:21: return_function: returning to ‘r600_bytecode_add_tex’ from ‘r600_bytecode_add_cf’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1552:20: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1556:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1558:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1561:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1561:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1564:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1564:9: call_function: inlined call to ‘list_addtail’ from ‘r600_bytecode_add_tex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1397]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:83:5: warning[-Wanalyzer-malloc-leak]: leak of ‘r600_bytecode_vtx()’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1431:12: enter_function: entry to ‘r600_bytecode_add_vtx_internal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1434:42: call_function: calling ‘r600_bytecode_vtx’ from ‘r600_bytecode_add_vtx_internal’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1434:42: return_function: returning to ‘r600_bytecode_add_vtx_internal’ from ‘r600_bytecode_vtx’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1437:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1439:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1448:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1449:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1448:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1450:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1448:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1476:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/r600/r600_asm.c:1476:9: call_function: inlined call to ‘list_addtail’ from ‘r600_bytecode_add_vtx_internal’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1398]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/list.h:103:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_helper_writes.c:106:1: enter_function: entry to ‘nir_lower_helper_writes’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_helper_writes.c:109:11: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘nir_lower_helper_writes’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1399]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/log.c:461:18: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘next’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/util/log.c:488:1: enter_function: entry to ‘_mesa_log_multiline’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/log.c:493:14: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/log.c:496:4: call_function: calling ‘mesa_log_stream_flush’ from ‘_mesa_log_multiline’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1400]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:328:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘payload’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:324:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:328:4: danger: ‘payload’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1401]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:417:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘chunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:415:12: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:417: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): [#def1402]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:875:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘from_chunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:860:1: enter_function: entry to ‘u_trace_clone_append’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:866:15: call_function: calling ‘sanitize_iterator’ from ‘u_trace_clone_append’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:866:15: return_function: returning to ‘u_trace_clone_append’ from ‘sanitize_iterator’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:869:26: release_memory: ‘from_chunk’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:873:40: call_function: calling ‘get_chunk’ from ‘u_trace_clone_append’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:873:40: return_function: returning to ‘u_trace_clone_append’ from ‘get_chunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:875:26: danger: dereference of NULL ‘from_chunk’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1403]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:939:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current_chunk’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:928:1: enter_function: entry to ‘u_trace_disable_event_range’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:931:15: call_function: calling ‘sanitize_iterator’ from ‘u_trace_disable_event_range’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:931:15: return_function: returning to ‘u_trace_disable_event_range’ from ‘sanitize_iterator’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:934:26: release_memory: ‘current_chunk’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:937:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:939:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/perf/u_trace.c:939:15: danger: dereference of NULL ‘current_chunk’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1404]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1283:16: warning[-Wanalyzer-null-argument]: use of NULL ‘*str’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1273:1: enter_function: entry to ‘linear_vasprintf_rewrite_tail’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1281:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1282:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1282:14: call_function: calling ‘linear_vasprintf’ from ‘linear_vasprintf_rewrite_tail’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1282:14: return_function: returning to ‘linear_vasprintf_rewrite_tail’ from ‘linear_vasprintf’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1282:7: release_memory: ‘*str’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/ralloc.c:1283:16: danger: argument 1 (‘linear_vasprintf(ctx, fmt, args)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1405]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:907:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:928:1: enter_function: entry to ‘ra_select’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:933:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:936:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:939:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:947:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: call_function: calling ‘ra_compute_available_regs’ from ‘ra_select’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1406]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:907:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:928:1: enter_function: entry to ‘ra_select’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:933:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:934:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:934:21: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:936:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:939:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:947:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: call_function: calling ‘ra_compute_available_regs’ from ‘ra_select’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1407]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:913:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:928:1: enter_function: entry to ‘ra_select’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:933:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:936:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:939:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:947:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: call_function: calling ‘ra_compute_available_regs’ from ‘ra_select’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1408]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:913:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:928:1: enter_function: entry to ‘ra_select’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:933:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:934:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:934:21: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:936:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:939:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:947:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:948:15: call_function: calling ‘ra_compute_available_regs’ from ‘ra_select’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1409]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:981:13: warning[-Wanalyzer-malloc-leak]: leak of ‘select_regs’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:933:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:934:28: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:934:21: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:936:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:939:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:947:10: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:981:13: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/register_allocate.c:981:13: danger: ‘select_regs’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def1410]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/streaming-load-memcpy.c:73:23: note[note]: called from here
Error: COMPILER_WARNING: [#def1411]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/streaming-load-memcpy.c:74:23: note[note]: called from here
Error: COMPILER_WARNING: [#def1412]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/streaming-load-memcpy.c:75:23: note[note]: called from here
Error: COMPILER_WARNING: [#def1413]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/streaming-load-memcpy.c:76:23: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1414]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/string_buffer.h:69:50: warning[-Wanalyzer-null-argument]: use of NULL ‘c’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:110:1: enter_function: entry to ‘remove_line_continuations’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:124:12: branch_false: following ‘false’ branch (when ‘backslash’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:147:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:154:12: branch_true: following ‘true’ branch (when ‘cr’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:165:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:173:20: branch_false: following ‘false’ branch (when ‘collapsed_newlines == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:198:20: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:198:20: branch_false: following ‘false’ branch (when ‘backslash’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:201:17: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:173:20: branch_true: following ‘true’ branch (when ‘collapsed_newlines != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:174:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:182:29: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:186:64: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:187:40: branch_true: following ‘true’ branch (when ‘collapsed_newlines != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:188:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:193:42: call_function: calling ‘skip_newline’ from ‘remove_line_continuations’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:193:42: return_function: returning to ‘remove_line_continuations’ from ‘skip_newline’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:198:20: branch_true: following ‘true’ branch (when ‘backslash’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:219:9: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/pp.c:219:9: call_function: calling ‘_mesa_string_buffer_append’ from ‘remove_line_continuations’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1415]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_cpu_detect.c:534:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_cpu_detect.c:751:1: enter_function: entry to ‘_util_cpu_detect_once’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_cpu_detect.c:905:10: branch_false: following ‘false’ branch (when ‘<unknown> <= 6’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_cpu_detect.c:927:7: call_function: inlined call to ‘cpuid’ from ‘_util_cpu_detect_once’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_cpu_detect.c:960:4: call_function: calling ‘check_cpu_caps_override’ from ‘_util_cpu_detect_once’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_cpu_detect.c:960:4: return_function: returning to ‘_util_cpu_detect_once’ from ‘check_cpu_caps_override’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_cpu_detect.c:965:4: call_function: calling ‘get_cpu_topology’ from ‘_util_cpu_detect_once’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1416]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_dynarray.h:59:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘subgraph’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:530:7: branch_false: following ‘false’ branch (when ‘nn_core_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:535:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:535:15: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/etnaviv/etnaviv_ml.c:541:4: call_function: inlined call to ‘util_dynarray_init’ from ‘etna_ml_subgraph_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1417]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_dynarray.h:158:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1418]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_dynarray.h:161:4: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2187:1: enter_function: entry to ‘gfx_program_precompile_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:2193:4: call_function: calling ‘gfx_program_init’ from ‘gfx_program_precompile_job’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1419]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_pack_color.h:99:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:56:13: enter_function: entry to ‘set_gradient_pixels’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:66:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:68:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:14: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:83:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:82: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:10: call_function: calling ‘util_pack_color_ub’ from ‘set_gradient_pixels’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1420]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_pack_color.h:104:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:56:13: enter_function: entry to ‘set_gradient_pixels’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:66:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:68:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:14: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:83:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:82: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:10: call_function: calling ‘util_pack_color_ub’ from ‘set_gradient_pixels’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1421]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_pack_color.h:109:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:56:13: enter_function: entry to ‘set_gradient_pixels’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:66:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:68:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:14: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:83:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:82: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:10: call_function: calling ‘util_pack_color_ub’ from ‘set_gradient_pixels’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1422]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_pack_color.h:114:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:56:13: enter_function: entry to ‘set_gradient_pixels’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:66:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:68:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:14: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:83:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:82: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:10: call_function: calling ‘util_pack_color_ub’ from ‘set_gradient_pixels’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1423]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_pack_color.h:119:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:56:13: enter_function: entry to ‘set_gradient_pixels’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:66:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:68:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:14: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:83:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:82: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:10: call_function: calling ‘util_pack_color_ub’ from ‘set_gradient_pixels’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1424]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_pack_color.h:125:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘uc’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:56:13: enter_function: entry to ‘set_gradient_pixels’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:66:30: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:68:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:15: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:75:14: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:83:28: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:82: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_test_blit_perf.c:84:10: call_function: calling ‘util_pack_color_ub’ from ‘set_gradient_pixels’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1425]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_printf.c:207:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘print_str’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_printf.c:300:6: enter_function: entry to ‘u_printf_ptr’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_printf.c:303:4: call_function: calling ‘u_printf_impl’ from ‘u_printf_ptr’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1426]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_printf.c:211:29: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘print_str’ where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_printf.c:300:6: enter_function: entry to ‘u_printf_ptr’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_printf.c:303:4: call_function: calling ‘u_printf_impl’ from ‘u_printf_ptr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1427]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:325:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘input’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:393:1: enter_function: entry to ‘util_queue_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:445:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:448:38: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:449:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:453:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:454:12: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:454:12: call_function: calling ‘util_queue_create_thread’ from ‘util_queue_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1428]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:594:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘jobs’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:577:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:578:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:578:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:579:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:578:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:583:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:585:37: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:594:13: danger: ‘jobs + (long unsigned int)num_jobs * 48’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1429]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.h:77:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fences’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:697:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:708:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:710:13: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:713:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:714:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:714:7: call_function: inlined call to ‘util_queue_fence_init’ from ‘util_queue_finish’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1430]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.h:108:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1233:1: enter_function: entry to ‘create_linked_separable_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1239:22: call_function: calling ‘gfx_program_create’ from ‘create_linked_separable_job’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1239:22: return_function: returning to ‘create_linked_separable_job’ from ‘gfx_program_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1239:4: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/zink/zink_program.c:1241:4: call_function: inlined call to ‘util_queue_fence_reset’ from ‘create_linked_separable_job’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1431]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.h:180:8: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘__atomic_load_4(&*fence.val, 0)’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:685:1: enter_function: entry to ‘util_queue_finish’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:697:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:708:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:713:25: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:718:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:721:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:722:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_queue.c:722:7: call_function: calling ‘util_queue_fence_wait’ from ‘util_queue_finish’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1432]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_sync_provider.c:118:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘d’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_sync_provider.c:116:39: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_sync_provider.c:118:4: danger: ‘d’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1433]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_sync_provider.c:141:11: warning[-Wanalyzer-malloc-leak]: leak of ‘d’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_sync_provider.c:116:39: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_sync_provider.c:141:11: danger: ‘d’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1434]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_vector.h:69:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hs.tex_instrs’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:53:1: enter_function: entry to ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:64:19: call_function: calling ‘nir_instr_worklist_create’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:64:19: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_instr_worklist_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:61:24: release_memory: ‘hs.tex_instrs’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:70:4: branch_false: following ‘false’ branch (when ‘block’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:9: release_memory: ‘hs.tex_instrs’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:9: call_function: inlined call to ‘nir_instr_worklist_is_empty’ from ‘nir_opt_tex_skip_helpers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1435]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_vector.h:69:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hs.worklist’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:53:1: enter_function: entry to ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_opt_tex_skip_helpers’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:59:30: return_function: returning to ‘nir_opt_tex_skip_helpers’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:61:24: release_memory: ‘hs.worklist’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:61:24: release_memory: ‘hs.worklist’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:9: release_memory: ‘hs.worklist’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_tex_skip_helpers.c:151:9: call_function: inlined call to ‘nir_instr_worklist_is_empty’ from ‘nir_opt_tex_skip_helpers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1436]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/u_vector.h:90:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wl’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_optim.c:109:1: enter_function: entry to ‘store_instr_depends_on_tex’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/radeonsi/si_nir_optim.c:116:20: call_function: calling ‘check_instr_depends_on_tex’ from ‘store_instr_depends_on_tex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1437]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vl_bitstream.h:85:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_video.c:2480:1: enter_function: entry to ‘vk_video_encode_h265_slice_header’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_video.c:2492:4: call_function: calling ‘vl_bitstream_encoder_clear’ from ‘vk_video_encode_h265_slice_header’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_video.c:2492:4: return_function: returning to ‘vk_video_encode_h265_slice_header’ from ‘vl_bitstream_encoder_clear’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_video.c:2493:4: call_function: calling ‘emit_nalu_h265_header’ from ‘vk_video_encode_h265_slice_header’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1438]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vl_vlc.h:101:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture_h264_enc.c:781:1: enter_function: entry to ‘vlVaHandleVAEncPackedHeaderDataBufferTypeH264’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/frontends/va/picture_h264_enc.c:789:4: call_function: calling ‘vl_vlc_init’ from ‘vlVaHandleVAEncPackedHeaderDataBufferTypeH264’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1439]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:139:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘high_hole’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:122:7: branch_false: following ‘false’ branch (when ‘waste != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:128:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:128:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:138:38: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:138:38: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:139:4: danger: ‘high_hole’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1440]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:307:4: warning[-Wanalyzer-infinite-loop]: infinite loop
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:47:1: enter_function: entry to ‘util_vma_heap_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1441]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:341:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘hole’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:307:4: branch_false: following ‘false’ branch (when ‘hole == heap’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:317:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:317:25: branch_false: following ‘false’ branch (when ‘high_hole’ is NULL)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:323:24: branch_false: following ‘false’ branch (when ‘low_hole’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:330:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:330:14: branch_false: following ‘false’ branch (when ‘low_adjacent == 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:333:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:333:14: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:339:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:339:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:341:7: danger: ‘hole’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1442]
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:353:1: warning[-Wanalyzer-malloc-leak]: leak of ‘hole’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:47:1: enter_function: entry to ‘util_vma_heap_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:52:7: branch_true: following ‘true’ branch (when ‘size != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:53:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/util/vma.c:53:7: call_function: calling ‘util_vma_heap_free’ from ‘util_vma_heap_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1443]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1332:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1306:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1310:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1310:36: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1327:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1332:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1332:4: danger: ‘s’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1444]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1334:11: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1306:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1310:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1310:36: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1327:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1332:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vdrm/vdrm_vpipe.c:1334:11: danger: ‘s’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1445]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/venus-protocol/vn_protocol_driver_device_memory.h:763:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pnext’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_device_memory.c:617:1: enter_function: entry to ‘vn_GetMemoryFdPropertiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_device_memory.c:628:7: branch_false: following ‘false’ branch (when ‘handleType == 512’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_device_memory.c:632:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_device_memory.c:632:7: call_function: calling ‘vn_get_memory_dma_buf_properties’ from ‘vn_GetMemoryFdPropertiesKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1446]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_host_copy.c:188:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘local_regions’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_host_copy.c:176:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_host_copy.c:176:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_host_copy.c:176:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_host_copy.c:178:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_host_copy.c:180:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_host_copy.c:188:7: danger: ‘local_regions + (long unsigned int)i * 80’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1447]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1653:1: warning[-Wanalyzer-malloc-leak]: leak of ‘submit.command.cur’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1669:1: enter_function: entry to ‘vn_remove_signaled_fences’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1672:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1673:57: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1673:25: call_function: calling ‘vn_GetFenceStatus’ from ‘vn_remove_signaled_fences’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1448]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1673:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fences’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1708:1: enter_function: entry to ‘vn_WaitForFences’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1719:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1720:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1720:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1720:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1720:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1721:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1724:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1725:14: branch_true: following ‘true’ branch (when ‘result == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1726:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1726:19: call_function: calling ‘vn_remove_signaled_fences’ from ‘vn_WaitForFences’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1449]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1673:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1708:1: enter_function: entry to ‘vn_WaitForFences’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1719:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1720:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1720:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1720:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1721:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1724:10: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1725:14: branch_true: following ‘true’ branch (when ‘result == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1726:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:1726:19: call_function: calling ‘vn_remove_signaled_fences’ from ‘vn_WaitForFences’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1450]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2157:1: warning[-Wanalyzer-malloc-leak]: leak of ‘submit.command.cur’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2222:1: enter_function: entry to ‘vn_WaitSemaphores’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2231:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2232:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2231:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2233:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2234:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2235:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2235:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2236:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2236:7: branch_true: following ‘true’ branch (when ‘semaphores’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2236:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2237:7: branch_true: following ‘true’ branch (when ‘values’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2237:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2241:14: branch_true: following ‘true’ branch (when ‘result == 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2242:19: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_queue.c:2242:19: call_function: calling ‘vn_remove_signaled_semaphores’ from ‘vn_WaitSemaphores’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1451]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:999:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:968:1: enter_function: entry to ‘virtgpu_sync_create_from_syncobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:976:7: branch_true: following ‘true’ branch (when ‘sync_file != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:977:24: call_function: inlined call to ‘virtgpu_ioctl_syncobj_create’ from ‘virtgpu_sync_create_from_syncobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:977:24: call_function: inlined call to ‘virtgpu_ioctl_syncobj_create’ from ‘virtgpu_sync_create_from_syncobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:978:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:980:12: call_function: inlined call to ‘virtgpu_ioctl_syncobj_fd_to_handle’ from ‘virtgpu_sync_create_from_syncobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:980:12: call_function: inlined call to ‘virtgpu_ioctl_syncobj_fd_to_handle’ from ‘virtgpu_sync_create_from_syncobj’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:980:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:990:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:990:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:991:7: branch_false: following ‘false’ branch (when ‘sync’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:996:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:999:4: danger: ‘sync’ leaks here; was allocated at [(43)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1452]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1043:4: warning[-Wanalyzer-malloc-leak]: leak of ‘sync’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1005:1: enter_function: entry to ‘virtgpu_sync_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1013:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1019:7: call_function: inlined call to ‘virtgpu_ioctl_syncobj_create’ from ‘virtgpu_sync_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1019:7: call_function: inlined call to ‘virtgpu_ioctl_syncobj_create’ from ‘virtgpu_sync_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1020:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1025:7: call_function: inlined call to ‘virtgpu_ioctl_syncobj_timeline_signal’ from ‘virtgpu_sync_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1025:7: call_function: inlined call to ‘virtgpu_ioctl_syncobj_timeline_signal’ from ‘virtgpu_sync_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1026:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1031:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1031:32: acquire_memory: allocated here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1032:7: branch_false: following ‘false’ branch (when ‘sync’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1037:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_renderer_virtgpu.c:1043:4: danger: ‘sync’ leaks here; was allocated at [(27)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1453]
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_ring.c:486:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘descs’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_ring.c:750:1: enter_function: entry to ‘vn_ring_wait_roundtrip’
mesa-25.1.0-rc2/redhat-linux-build/../src/virtio/vulkan/vn_ring.c:752:4: call_function: calling ‘vn_async_vkWaitVirtqueueSeqnoMESA’ from ‘vn_ring_wait_roundtrip’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1454]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:561:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:552:17: enter_function: entry to ‘device_select_EnumeratePhysicalDevices’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:556:33: call_function: calling ‘device_select_layer_get_instance’ from ‘device_select_EnumeratePhysicalDevices’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:556:33: return_function: returning to ‘device_select_EnumeratePhysicalDevices’ from ‘device_select_layer_get_instance’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:561:8: danger: dereference of NULL ‘device_select_layer_get_instance(instance)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1455]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:646:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:639:17: enter_function: entry to ‘device_select_EnumeratePhysicalDeviceGroups’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:643:33: call_function: calling ‘device_select_layer_get_instance’ from ‘device_select_EnumeratePhysicalDeviceGroups’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:643:33: return_function: returning to ‘device_select_EnumeratePhysicalDeviceGroups’ from ‘device_select_layer_get_instance’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:646:8: danger: dereference of NULL ‘device_select_layer_get_instance(instance)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1456]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:721:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:707:16: enter_function: entry to ‘get_instance_proc_addr’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:715:7: branch_false: following ‘false’ branch (when the strings are non-equal)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:717:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:717:7: branch_false: following ‘false’ branch (when the strings are non-equal)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:720:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:720:33: call_function: calling ‘device_select_layer_get_instance’ from ‘get_instance_proc_addr’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:720:33: return_function: returning to ‘get_instance_proc_addr’ from ‘device_select_layer_get_instance’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/device-select-layer/device_select_layer.c:721:11: danger: dereference of NULL ‘device_select_layer_get_instance(instance)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1457]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/radix_sort/radix_sort_vk.c:238:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rs’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/radix_sort/radix_sort_vk.c:233:37: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/radix_sort/radix_sort_vk.c:238:3: danger: ‘rs’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1458]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/rmv/vk_rmv_common.c:76:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/rmv/vk_rmv_common.c:70:1: enter_function: entry to ‘vk_rmv_emit_token’
branch_true: following ‘true’ branch (when ‘type <= 9’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/rmv/vk_rmv_common.c:75:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/rmv/vk_rmv_common.c:76:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘vk_rmv_emit_token’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/rmv/vk_rmv_common.c:76:4: return_function: returning to ‘vk_rmv_emit_token’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/rmv/vk_rmv_common.c:76:4: danger: argument 1 (‘util_dynarray_grow_bytes(&*data.tokens, 1, 144)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1459]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1044:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘bvh_states’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:998:1: enter_function: entry to ‘vk_cmd_build_acceleration_structures’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1011:35: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1034:25: branch_true: following ‘true’ branch (when ‘i < infoCount’)...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1040:7: call_function: calling ‘get_scratch_layout’ from ‘vk_cmd_build_acceleration_structures’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1040:7: return_function: returning to ‘vk_cmd_build_acceleration_structures’ from ‘get_scratch_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1042:36: call_function: calling ‘build_config’ from ‘vk_cmd_build_acceleration_structures’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1042:36: return_function: returning to ‘vk_cmd_build_acceleration_structures’ from ‘build_config’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_acceleration_structure.c:1044:7: danger: ‘bvh_states + (long unsigned int)i * 136’ could be NULL: unchecked value from [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1460]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:43:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:40:4: branch_false: following ‘false’ branch (when ‘regionCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:40:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:40:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:42:25: branch_true: following ‘true’ branch (when ‘r < regionCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:43:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:43:7: danger: ‘region2s + (long unsigned int)r * 40’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1461]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:81:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:78:4: branch_false: following ‘false’ branch (when ‘regionCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:78:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:78:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:80:25: branch_true: following ‘true’ branch (when ‘r < regionCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:81:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:81:7: danger: ‘region2s + (long unsigned int)r * 88’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1462]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:122:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:119:4: branch_false: following ‘false’ branch (when ‘regionCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:119:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:119:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:121:25: branch_true: following ‘true’ branch (when ‘r < regionCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:122:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:122:7: danger: ‘region2s + (long unsigned int)r * 72’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1463]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:163:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:160:4: branch_false: following ‘false’ branch (when ‘regionCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:160:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:160:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:162:25: branch_true: following ‘true’ branch (when ‘r < regionCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:163:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:163:7: danger: ‘region2s + (long unsigned int)r * 72’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1464]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:206:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:203:4: branch_false: following ‘false’ branch (when ‘regionCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:203:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:203:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:205:25: branch_true: following ‘true’ branch (when ‘r < regionCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:206:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:206:7: danger: ‘region2s + (long unsigned int)r * 96’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1465]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:254:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘region2s’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:251:4: branch_false: following ‘false’ branch (when ‘regionCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:251:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:251:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:253:25: branch_true: following ‘true’ branch (when ‘r < regionCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:254:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_copy.c:254:7: danger: ‘region2s + (long unsigned int)r * 88’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1466]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:821:16: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:761:28: enter_function: entry to ‘vk_cmd_enqueue_CmdPushDescriptorSet2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:773:7: branch_true: following ‘true’ branch (when ‘pPushDescriptorSetInfo’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:774:62: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:808:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:809:118: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:813:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:814:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:818:77: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_cmd_enqueue_CmdPushDescriptorSet2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:818:77: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_cmd_enqueue_CmdPushDescriptorSet2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:820:62: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:821:16: danger: argument 2 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1467]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:864:83: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:761:28: enter_function: entry to ‘vk_cmd_enqueue_CmdPushDescriptorSet2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:773:7: branch_true: following ‘true’ branch (when ‘pPushDescriptorSetInfo’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:774:62: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:808:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:809:118: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:813:31: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:814:54: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:862:19: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_cmd_enqueue_CmdPushDescriptorSet2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:862:19: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_cmd_enqueue_CmdPushDescriptorSet2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:864:83: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_cmd_enqueue.c:864:83: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1468]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_debug_utils.c:355:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_debug_utils.c:351:1: enter_function: entry to ‘vk_common_append_debug_label’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_debug_utils.c:355:4: call_function: calling ‘util_dynarray_grow_bytes’ from ‘vk_common_append_debug_label’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_debug_utils.c:355:4: return_function: returning to ‘vk_common_append_debug_label’ from ‘util_dynarray_grow_bytes’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_debug_utils.c:355:4: danger: argument 1 (‘util_dynarray_grow_bytes(labels, 1, 40)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1469]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:598:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mem_reqs2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:587:7: branch_false: following ‘false’ branch (when ‘pSparseMemoryRequirements’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:595:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:595:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:595:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:595:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:597:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:598:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:598:7: danger: ‘mem_reqs2 + (long unsigned int)i * 64’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1470]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:636:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘device’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:127:1: enter_function: entry to ‘vk_device_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:181:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:184:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:227:4: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:227:4: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:240:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:247:28: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:248:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:250:14: call_function: calling ‘vk_device_get_timestamp’ from ‘vk_device_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:250:14: return_function: returning to ‘vk_device_init’ from ‘vk_device_get_timestamp’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:250:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:247:63: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:247:28: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:248:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:250:14: call_function: calling ‘vk_device_get_timestamp’ from ‘vk_device_init’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:250:14: return_function: returning to ‘vk_device_init’ from ‘vk_device_get_timestamp’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:250:13: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:247:63: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:247:28: branch_true: following ‘true’ branch (when ‘i != 2’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:248:32: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device.c:250:14: call_function: calling ‘vk_device_get_timestamp’ from ‘vk_device_init’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1471]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:170:4: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:45:1: enter_function: entry to ‘vk_indirect_command_layout_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:68:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘vk_indirect_command_layout_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:69:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘vk_indirect_command_layout_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:70:4: call_function: inlined call to ‘vk_multialloc_add_size_align’ from ‘vk_indirect_command_layout_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:71:14: call_function: inlined call to ‘vk_multialloc_zalloc2’ from ‘vk_indirect_command_layout_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:73:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:76:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:78:4: release_memory: ‘pc_layouts’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:78:4: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:170:10: release_memory: ‘0’ is NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_device_generated_commands.c:170:4: danger: argument 1 (‘*(struct vk_indirect_command_layout *)<unknown>.pc_layouts’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1472]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:239:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:223:4: branch_false: following ‘false’ branch (when ‘wait_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:223:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:223:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:228:25: branch_true: following ‘true’ branch (when ‘i < wait_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:232:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:239:7: danger: ‘handles + (long unsigned int)j * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1473]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:240:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘wait_values’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:223:4: branch_false: following ‘false’ branch (when ‘wait_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:223:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:224:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:228:25: branch_true: following ‘true’ branch (when ‘i < wait_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:232:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_drm_syncobj.c:240:7: danger: ‘wait_values + (long unsigned int)j * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1474]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:272:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘waits’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:260:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:263:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:263:7: branch_false: following ‘false’ branch (when ‘fenceCount != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:266:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:268:4: branch_false: following ‘false’ branch (when ‘fenceCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:268:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:268:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:270:25: branch_true: following ‘true’ branch (when ‘i < fenceCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:271:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_fence.c:272:7: danger: ‘waits + (long unsigned int)i * 24’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1475]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:50:35: warning[-Wanalyzer-malloc-leak]: leak of ‘cache_key_create(obj_type, key_data, key_size)’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:483:1: enter_function: entry to ‘vk_meta_create_compute_pipeline’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:495:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:498:32: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:498:32: call_function: calling ‘vk_meta_cache_object’ from ‘vk_meta_create_compute_pipeline’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1476]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:51:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘key’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:240:1: enter_function: entry to ‘vk_meta_create_pipeline_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:251:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:255:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:255:7: call_function: calling ‘vk_meta_cache_object’ from ‘vk_meta_create_pipeline_layout’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1477]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:319:4: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stages’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:311:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:311:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:311:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:319:4: danger: ‘stages’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1478]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:357:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dyn_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:311:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:315:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:352:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:352:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:355:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:355:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:355:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:356:25: branch_true: following ‘true’ branch (when ‘i < dyn_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:357:22: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:357:7: danger: ‘dyn_state + (long unsigned int)i * 4’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1479]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_object_list.h:30:4: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:546:1: enter_function: entry to ‘vk_meta_create_buffer_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:556:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:561:45: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:559:4: call_function: inlined call to ‘vk_meta_object_list_add_handle’ from ‘vk_meta_create_buffer_view’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta.c:559:4: call_function: inlined call to ‘vk_meta_object_list_add_handle’ from ‘vk_meta_create_buffer_view’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1480]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:158:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘props2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:148:7: branch_false: following ‘false’ branch (when ‘pQueueFamilyProperties’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:155:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:155:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:155:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:155:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:157:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:158:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:158:7: danger: ‘props2 + (long unsigned int)i * 40’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1481]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:270:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘props2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:259:7: branch_false: following ‘false’ branch (when ‘pProperties’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:267:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:267:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:267:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:267:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:269:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:270:13: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_physical_device.c:270:7: danger: ‘props2 + (long unsigned int)i * 40’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1482]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_pipeline.c:1960:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pipeline_layout’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_pipeline.c:1928:1: enter_function: entry to ‘vk_pipeline_compile_compute_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_pipeline.c:1939:7: branch_false: following ‘false’ branch (when ‘pipeline_layout’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_pipeline.c:1950:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_pipeline.c:1950:7: call_function: calling ‘vk_pipeline_to_shader_flags’ from ‘vk_pipeline_compile_compute_stage’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_pipeline.c:1950:7: return_function: returning to ‘vk_pipeline_compile_compute_stage’ from ‘vk_pipeline_to_shader_flags’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_pipeline.c:1960:29: danger: dereference of NULL ‘pipeline_layout’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1483]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1294:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘waits’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1251:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1271:44: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1271:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1274:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1276:7: branch_false: following ‘false’ branch (when ‘wait_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1279:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1279:4: branch_false: following ‘false’ branch (when ‘wait_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1279:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1279:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1281:25: branch_true: following ‘true’ branch (when ‘i < wait_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1282:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1294:7: danger: ‘waits + (long unsigned int)i * 24’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1484]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1419:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘submit’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1382:1: enter_function: entry to ‘vk_common_QueueSubmit2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1391:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1394:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1394:7: branch_false: following ‘false’ branch (when ‘submitCount != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1402:28: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1403:25: branch_true: following ‘true’ branch (when ‘i < submitCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1404:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1412:19: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1404:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1415:16: call_function: calling ‘vk_queue_submit_create’ from ‘vk_common_QueueSubmit2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1415:16: return_function: returning to ‘vk_common_QueueSubmit2’ from ‘vk_queue_submit_create’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1416:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1419:16: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_queue.c:1419:16: danger: use of uninitialized value ‘submit’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1485]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:1227:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2425:1: enter_function: entry to ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2448:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2452:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2452:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2550:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2550:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2552:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2553:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2553:43: call_function: calling ‘clone_rp_sample_locations’ from ‘vk_common_CmdBeginRenderPass2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1486]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:1249:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2425:1: enter_function: entry to ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2444:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2448:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2452:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2452:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2550:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2550:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2552:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2553:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2553:43: call_function: calling ‘clone_rp_sample_locations’ from ‘vk_common_CmdBeginRenderPass2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1487]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:1762:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘color_attachment’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2594:1: enter_function: entry to ‘vk_common_CmdNextSubpass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2602:4: call_function: calling ‘begin_subpass’ from ‘vk_common_CmdNextSubpass2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1488]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:1775:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘color_attachment’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2594:1: enter_function: entry to ‘vk_common_CmdNextSubpass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2602:4: call_function: calling ‘begin_subpass’ from ‘vk_common_CmdNextSubpass2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1489]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2533:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘att_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2425:1: enter_function: entry to ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2444:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2445:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2445:33: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2452:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2452:7: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_common_CmdBeginRenderPass2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2466:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2467:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_render_pass.c:2533:7: danger: ‘att_state’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1490]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:79:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:71:1: enter_function: entry to ‘vk_sampler_border_color_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:74:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:76:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:76:10: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_sampler_border_color_value’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:76:10: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_sampler_border_color_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:78:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:78:10: branch_true: following ‘true’ branch (when ‘format_out’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:79:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:79:24: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1491]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:81:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:71:1: enter_function: entry to ‘vk_sampler_border_color_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:74:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:76:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:76:10: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_sampler_border_color_value’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:76:10: call_function: inlined call to ‘__vk_find_struct’ from ‘vk_sampler_border_color_value’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:78:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:78:10: branch_false: following ‘false’ branch (when ‘format_out’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:81:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sampler.c:81:14: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1492]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:350:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘waits’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:335:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:338:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:338:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:341:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:344:4: branch_false: following ‘false’ branch (when ‘wait_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:344:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:344:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:346:25: branch_true: following ‘true’ branch (when ‘i < wait_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:347:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_semaphore.c:350:7: danger: ‘waits + (long unsigned int)i * 24’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1493]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:606:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stages’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:600:4: branch_false: following ‘false’ branch (when ‘stageCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:600:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:600:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:604:25: branch_true: following ‘true’ branch (when ‘i < stageCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:605:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:606:7: danger: ‘stages + (long unsigned int)i * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1494]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:607:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘shaders’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:600:4: branch_false: following ‘false’ branch (when ‘stageCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:600:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:601:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:604:25: branch_true: following ‘true’ branch (when ‘i < stageCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:605:27: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:607:20: branch_false: following ‘false’ branch (when ‘pShaders’ is NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:607:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_shader.c:607:7: danger: ‘shaders + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1495]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sync_binary.c:102:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘timeline_waits’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sync_binary.c:97:4: branch_false: following ‘false’ branch (when ‘wait_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sync_binary.c:97:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sync_binary.c:97:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sync_binary.c:99:25: branch_true: following ‘true’ branch (when ‘wait_count > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sync_binary.c:100:62: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_sync_binary.c:102:7: danger: ‘timeline_waits + (long unsigned int)i * 24’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1496]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:187:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘memory_barriers’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:179:4: branch_false: following ‘false’ branch (when ‘memoryBarrierCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:179:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:179:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:180:4: branch_true: following ‘true’ branch (when ‘bufferMemoryBarrierCount <= 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:181:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:181:4: branch_true: following ‘true’ branch (when ‘imageMemoryBarrierCount <= 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:183:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:186:25: branch_true: following ‘true’ branch (when ‘i < memoryBarrierCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:187:67: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:187:28: danger: ‘memory_barriers + (long unsigned int)i * 48’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1497]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:192:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer_barriers’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:179:4: branch_true: following ‘true’ branch (when ‘memoryBarrierCount <= 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:180:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:180:4: branch_false: following ‘false’ branch (when ‘bufferMemoryBarrierCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:180:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:180:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:181:4: branch_true: following ‘true’ branch (when ‘imageMemoryBarrierCount <= 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:183:26: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:186:25: branch_false: following ‘false’ branch (when ‘i >= memoryBarrierCount’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:191:25: branch_true: following ‘true’ branch (when ‘i < bufferMemoryBarrierCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:192:80: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:192:28: danger: ‘buffer_barriers + (long unsigned int)i * 80’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1498]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:197:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘image_barriers’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:179:4: branch_true: following ‘true’ branch (when ‘memoryBarrierCount <= 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:180:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:180:4: branch_true: following ‘true’ branch (when ‘bufferMemoryBarrierCount <= 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:181:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:181:4: branch_false: following ‘false’ branch (when ‘imageMemoryBarrierCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:181:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:181:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:186:25: branch_false: following ‘false’ branch (when ‘i >= memoryBarrierCount’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:196:25: branch_true: following ‘true’ branch (when ‘i < imageMemoryBarrierCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:197:77: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:197:27: danger: ‘image_barriers + (long unsigned int)i * 96’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1499]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:305:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘deps’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:288:7: branch_false: following ‘false’ branch (when ‘eventCount != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:291:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:291:4: branch_false: following ‘false’ branch (when ‘eventCount > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:291:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:291:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:304:25: branch_true: following ‘true’ branch (when ‘i < eventCount’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:305:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_synchronization.c:305:7: danger: ‘deps + (long unsigned int)i * 64’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1500]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:414:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘device’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:488:1: enter_function: entry to ‘vk_texcompress_astc_get_decode_pipeline’
branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:495:4: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:495:4: call_function: calling ‘simple_mtx_lock’ from ‘vk_texcompress_astc_get_decode_pipeline’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:495:4: return_function: returning to ‘vk_texcompress_astc_get_decode_pipeline’ from ‘simple_mtx_lock’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:497:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:500:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:500:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:501:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_texcompress_astc.c:501:16: call_function: calling ‘vk_astc_create_shader_module’ from ‘vk_texcompress_astc_get_decode_pipeline’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1501]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/util/vk_util.c:102:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘spec_entries’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/util/vk_util.c:89:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/util/vk_util.c:94:7: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/util/vk_util.c:96:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/util/vk_util.c:97:40: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/util/vk_util.c:102:7: danger: ‘spec_entries + (long unsigned int)i * 24’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1502]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/util/vk_util.h:326:35: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘32’)
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:700:1: enter_function: entry to ‘radv_GetPipelineExecutablePropertiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:704:33: call_function: calling ‘radv_get_executable_count’ from ‘radv_GetPipelineExecutablePropertiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:704:33: return_function: returning to ‘radv_GetPipelineExecutablePropertiesKHR’ from ‘radv_get_executable_count’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:706:7: branch_false: following ‘false’ branch (when ‘pProperties’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:711:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:712:38: branch_true: following ‘true’ branch (when ‘executable_idx < count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:714:36: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:714:36: call_function: calling ‘radv_get_shader_from_executable_index’ from ‘radv_GetPipelineExecutablePropertiesKHR’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:714:36: return_function: returning to ‘radv_GetPipelineExecutablePropertiesKHR’ from ‘radv_get_shader_from_executable_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/vulkan/radv_pipeline.c:716:44: call_function: inlined call to ‘mesa_to_vk_shader_stage’ from ‘radv_GetPipelineExecutablePropertiesKHR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1503]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common.c:1379:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘stage_flags’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common.c:1376:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common.c:1376:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common.c:1376:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common.c:1378:25: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common.c:1379:18: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common.c:1379:7: danger: ‘stage_flags + (long unsigned int)s * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1504]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:978:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:931:1: enter_function: entry to ‘wsi_display_surface_get_capabilities2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:945:7: call_function: inlined call to ‘__vk_find_struct’ from ‘wsi_display_surface_get_capabilities2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:945:7: call_function: inlined call to ‘__vk_find_struct’ from ‘wsi_display_surface_get_capabilities2’
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:947:7: call_function: inlined call to ‘__vk_find_struct’ from ‘wsi_display_surface_get_capabilities2’
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:947:7: call_function: inlined call to ‘__vk_find_struct’ from ‘wsi_display_surface_get_capabilities2’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:949:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:949:7: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:953:4: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:953:4: branch_true: following ‘true’ branch (when ‘ext’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:954:15: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:975:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:976:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:976:16: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:978:43: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_display.c:978:43: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1505]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:717:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:660:1: enter_function: entry to ‘wsi_create_native_image_mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:695:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:698:13: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:698:13: call_function: calling ‘wsi_init_image_dmabuf_fd’ from ‘wsi_create_native_image_mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:698:13: return_function: returning to ‘wsi_create_native_image_mem’ from ‘wsi_init_image_dmabuf_fd’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:699:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:702:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:702:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:703:45: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:709:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:712:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:717:27: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1506]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:871:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘flags’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:927:1: enter_function: entry to ‘wsi_drm_wait_for_explicit_sync_release’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:936:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:948:25: branch_true: following ‘true’ branch (when ‘i < image_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:948:25: branch_true: following ‘true’ branch (when ‘i < image_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:959:7: branch_false: following ‘false’ branch (when ‘unacquired_image_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:964:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:964:4: call_function: calling ‘wsi_drm_images_explicit_sync_state’ from ‘wsi_drm_wait_for_explicit_sync_release’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1507]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:880:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘points’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:867:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:866:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:876:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:876:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:876:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:879:16: branch_true: following ‘true’ branch (when ‘i < count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:880:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:880:7: danger: ‘points + (long unsigned int)(i * 2) * 8’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1508]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:884:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:867:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:866:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:876:4: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:876:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:877:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:879:16: branch_true: following ‘true’ branch (when ‘i < count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:880:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:884:7: danger: ‘handles + (long unsigned int)(i * 2) * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1509]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:952:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘handles’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:948:25: branch_true: following ‘true’ branch (when ‘i < image_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:952:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:952:7: danger: ‘handles + (long unsigned int)unacquired_image_count * 4’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1510]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:953:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘points’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:934:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:948:25: branch_true: following ‘true’ branch (when ‘i < image_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:952:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:953:7: danger: ‘points + (long unsigned int)unacquired_image_count * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1511]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:954:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘indices’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:948:25: branch_true: following ‘true’ branch (when ‘i < image_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:952:14: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:954:7: danger: ‘indices + (long unsigned int)unacquired_image_count * 4’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1512]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:976:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘flags’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:927:1: enter_function: entry to ‘wsi_drm_wait_for_explicit_sync_release’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:933:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: following ‘false’ branch (when ‘image_count > 8’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:935:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:936:4: acquire_memory: this call could return NULL
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:948:25: branch_true: following ‘true’ branch (when ‘i < image_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:948:25: branch_true: following ‘true’ branch (when ‘i < image_count’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:949:17: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:959:7: branch_false: following ‘false’ branch (when ‘unacquired_image_count != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:964:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:964:4: call_function: calling ‘wsi_drm_images_explicit_sync_state’ from ‘wsi_drm_wait_for_explicit_sync_release’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:964:4: return_function: returning to ‘wsi_drm_wait_for_explicit_sync_release’ from ‘wsi_drm_images_explicit_sync_state’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:967:38: branch_true: following ‘true’ branch (when ‘free_level_idx != 4’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:968:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:971:28: branch_true: following ‘true’ branch (when ‘unacquired_image_count > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:976:20: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_drm.c:976:15: danger: ‘flags + (long unsigned int)i * 4’ could be NULL: unchecked value from [(6)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1513]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:399:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:379:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:382:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:384:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:385:45: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:391:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:394:29: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_headless.c:399:27: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1514]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1255:7: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘images’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1748:1: enter_function: entry to ‘x11_acquire_next_image’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1757:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1760:8: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1760:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1761:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1761:16: call_function: calling ‘x11_wait_for_explicit_sync_release_submission’ from ‘x11_acquire_next_image’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1515]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1625:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1950:1: enter_function: entry to ‘x11_manage_present_queue’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1954:10: call_function: calling ‘wsi_x11_get_connection’ from ‘x11_manage_present_queue’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1954:10: return_function: returning to ‘x11_manage_present_queue’ from ‘wsi_x11_get_connection’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1961:11: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1962:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1971:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1972:19: call_function: inlined call to ‘x11_swapchain_read_status_atomic’ from ‘x11_manage_present_queue’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1973:10: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1976:39: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:1978:11: call_function: inlined call to ‘x11_needs_wait_for_fences’ from ‘x11_manage_present_queue’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1516]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2284:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wsi_conn’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2353:1: enter_function: entry to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2361:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: call_function: calling ‘wsi_x11_get_connection’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: return_function: returning to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’ from ‘wsi_x11_get_connection’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2369:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2371:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2387:4: call_function: calling ‘wsi_x11_get_dri3_modifiers’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1517]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2340:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2353:1: enter_function: entry to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2361:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: call_function: calling ‘wsi_x11_get_connection’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: return_function: returning to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’ from ‘wsi_x11_get_connection’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2369:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2371:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2387:4: call_function: calling ‘wsi_x11_get_dri3_modifiers’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1518]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2340:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2353:1: enter_function: entry to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2361:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: call_function: calling ‘wsi_x11_get_connection’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: return_function: returning to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’ from ‘wsi_x11_get_connection’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2369:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2371:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2387:4: call_function: calling ‘wsi_x11_get_dri3_modifiers’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def1519]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2341:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2353:1: enter_function: entry to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2361:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: call_function: calling ‘wsi_x11_get_connection’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: return_function: returning to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’ from ‘wsi_x11_get_connection’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2369:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2371:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2387:4: call_function: calling ‘wsi_x11_get_dri3_modifiers’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1520]
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2341:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2353:1: enter_function: entry to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:27: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2357:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2361:14: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: call_function: calling ‘wsi_x11_get_connection’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2365:10: return_function: returning to ‘wsi_x11_swapchain_query_dri3_modifiers_changed’ from ‘wsi_x11_get_connection’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2369:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2371:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/wsi/wsi_common_x11.c:2387:4: call_function: calling ‘wsi_x11_get_dri3_modifiers’ from ‘wsi_x11_swapchain_query_dri3_modifiers_changed’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1521]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2520:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2506:21: enter_function: entry to ‘glcpp__create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2510:24: call_function: inlined call to ‘glcpp_alloc’ from ‘glcpp__create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2511:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2514:2: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2520:12: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1522]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2562:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2441:10: enter_function: entry to ‘glcpp_restart’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2446:16: call_function: calling ‘glcpp_ensure_buffer_stack’ from ‘glcpp_restart’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2446:16: return_function: returning to ‘glcpp_restart’ from ‘glcpp_ensure_buffer_stack’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2448:27: call_function: calling ‘glcpp__create_buffer’ from ‘glcpp_restart’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2448:27: return_function: returning to ‘glcpp_restart’ from ‘glcpp__create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2451:2: call_function: calling ‘glcpp__init_buffer’ from ‘glcpp_restart’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1523]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-lex.l:619:1: enter_function: entry to ‘glcpp_lex_set_source_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-lex.l:621:2: call_function: calling ‘glcpp__scan_string’ from ‘glcpp_lex_set_source_string’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1524]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2754:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-lex.l:619:1: enter_function: entry to ‘glcpp_lex_set_source_string’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/glsl/glcpp/glcpp-lex.l:621:2: call_function: calling ‘glcpp__scan_string’ from ‘glcpp_lex_set_source_string’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1525]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2780:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2764:17: enter_function: entry to ‘glcpp__scan_bytes’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2773:24: call_function: inlined call to ‘glcpp_alloc’ from ‘glcpp__scan_bytes’
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2774:12: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/glsl/glcpp/glcpp-lex.c:2782:6: call_function: calling ‘glcpp__scan_buffer’ from ‘glcpp__scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1526]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2018:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offset’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:1003:1: enter_function: entry to ‘nir_build_addr_iadd_imm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:1011:11: call_function: calling ‘nir_imm_intN_t’ from ‘nir_build_addr_iadd_imm’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:1011:11: return_function: returning to ‘nir_build_addr_iadd_imm’ from ‘nir_imm_intN_t’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_io.c:1011:11: call_function: calling ‘nir_build_addr_iadd’ from ‘nir_build_addr_iadd_imm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1527]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2018:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_sample_intrinsics.c:204:1: enter_function: entry to ‘agx_nir_lower_sample_intrinsics’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_sample_intrinsics.c:207:11: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘agx_nir_lower_sample_intrinsics’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1528]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2025:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2312:1: enter_function: entry to ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2339:23: call_function: inlined call to ‘nir_channel’ from ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2339:23: call_function: inlined call to ‘nir_channel’ from ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2340:22: call_function: inlined call to ‘nir_imul_imm’ from ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2340:22: call_function: inlined call to ‘nir_imul_imm’ from ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2341:20: call_function: inlined call to ‘nir_imm_int’ from ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2341:20: call_function: inlined call to ‘nir_imm_int’ from ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2341:20: call_function: calling ‘_nir_build_load_push_constant’ from ‘build_copy_buffer_shader’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2341:20: return_function: returning to ‘build_copy_buffer_shader’ from ‘_nir_build_load_push_constant’
mesa-25.1.0-rc2/redhat-linux-build/../src/vulkan/runtime/vk_meta_copy_fill_update.c:2345:13: call_function: inlined call to ‘nir_u2u64’ from ‘build_copy_buffer_shader’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1529]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2025:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘offset’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_nir_lower_descriptors.c:100:1: enter_function: entry to ‘load_dynamic_buffer_start’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_nir_lower_descriptors.c:119:14: call_function: inlined call to ‘nir_imm_int’ from ‘load_dynamic_buffer_start’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_nir_lower_descriptors.c:119:14: call_function: inlined call to ‘nir_imm_int’ from ‘load_dynamic_buffer_start’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/vulkan/hk_nir_lower_descriptors.c:119:14: call_function: calling ‘load_root’ from ‘load_dynamic_buffer_start’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1530]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:2025:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2155:1: enter_function: entry to ‘asahi_fast_link’
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2166:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2167:16: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/gallium/drivers/asahi/agx_state.c:2167:16: call_function: calling ‘agx_build_meta_shader_internal’ from ‘asahi_fast_link’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1531]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:5118:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_lower_subgroups.c:629:1: enter_function: entry to ‘lower_scan_reduce’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_lower_subgroups.c:639:21: call_function: calling ‘nir_build_imm’ from ‘lower_scan_reduce’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_lower_subgroups.c:639:21: return_function: returning to ‘lower_scan_reduce’ from ‘nir_build_imm’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_lower_subgroups.c:663:9: branch_true: following ‘true’ branch (when ‘max_brcst_cluster_size >= brcst_cluster_size’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_lower_subgroups.c:664:24: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_lower_subgroups.c:664:24: call_function: calling ‘_nir_build_brcst_active_ir3’ from ‘lower_scan_reduce’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1532]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:5903:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:855:1: enter_function: entry to ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:868:22: call_function: inlined call to ‘nir_imm_int’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:868:22: call_function: inlined call to ‘nir_imm_int’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:869:7: call_function: inlined call to ‘nir_ishl_imm’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:869:7: call_function: inlined call to ‘nir_ishl_imm’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:876:10: call_function: calling ‘_nir_build_export_amd’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:876:10: return_function: returning to ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’ from ‘_nir_build_export_amd’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:884:10: call_function: inlined call to ‘nir_imm_ivec4’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:884:10: call_function: inlined call to ‘nir_imm_ivec4’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:884:10: call_function: calling ‘_nir_build_export_amd’ from ‘ac_nir_ngg_alloc_vertices_fully_culled_workaround’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1533]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:7033:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:780:1: enter_function: entry to ‘ac_nir_repack_invocations_in_workgroup’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:805:7: branch_false: following ‘false’ branch (when ‘max_num_waves != 1’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:826:36: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:833:25: call_function: calling ‘nir_undef’ from ‘ac_nir_repack_invocations_in_workgroup’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:833:25: return_function: returning to ‘ac_nir_repack_invocations_in_workgroup’ from ‘nir_undef’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:836:25: call_function: calling ‘nir_imm_intN_t’ from ‘ac_nir_repack_invocations_in_workgroup’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:836:25: return_function: returning to ‘ac_nir_repack_invocations_in_workgroup’ from ‘nir_imm_intN_t’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir.c:836:25: call_function: calling ‘_nir_build_inverse_ballot’ from ‘ac_nir_repack_invocations_in_workgroup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1534]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:12805:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_lower_shading_rate.c:68:1: enter_function: entry to ‘nir_lower_primitive_shading_rate’
mesa-25.1.0-rc2/redhat-linux-build/../src/freedreno/ir3/ir3_nir_lower_shading_rate.c:80:27: call_function: calling ‘create_lut’ from ‘nir_lower_primitive_shading_rate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1535]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13014:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:253:1: enter_function: entry to ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:258:4: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:258:4: return_function: returning to ‘agx_nir_lower_tes’ from ‘nir_shader_intrinsics_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:261:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:262:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:261:8: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:261:8: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:261:8: branch_true: following ‘true’ branch (when ‘to_hw_vs != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:264:33: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:264:33: call_function: calling ‘nir_shader_get_entrypoint’ from ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:264:33: return_function: returning to ‘agx_nir_lower_tes’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:265:23: call_function: calling ‘nir_after_impl’ from ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:265:23: return_function: returning to ‘agx_nir_lower_tes’ from ‘nir_after_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:267:7: call_function: inlined call to ‘nir_imm_int’ from ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:267:7: call_function: inlined call to ‘nir_imm_int’ from ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:267:7: call_function: inlined call to ‘nir_imm_float’ from ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:267:7: call_function: inlined call to ‘nir_imm_float’ from ‘agx_nir_lower_tes’
mesa-25.1.0-rc2/redhat-linux-build/../src/asahi/lib/agx_nir_lower_tess.c:267:7: call_function: calling ‘_nir_build_store_output’ from ‘agx_nir_lower_tes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1536]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13148:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:486:1: enter_function: entry to ‘nak_nir_lower_cf’
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:490:4: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:490:4: branch_true: following ‘true’ branch (when ‘func’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:491:11: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/nouveau/compiler/nak_nir_lower_cf.c:491:11: call_function: calling ‘lower_cf_func’ from ‘nak_nir_lower_cf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1537]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13218:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_tess_io_to_mem.c:1229:1: enter_function: entry to ‘ac_nir_lower_hs_outputs_to_mem’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_tess_io_to_mem.c:1260:4: call_function: calling ‘hs_finale’ from ‘ac_nir_lower_hs_outputs_to_mem’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1538]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13293:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1506:1: enter_function: entry to ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1512:7: call_function: inlined call to ‘nir_imm_int’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1512:7: call_function: inlined call to ‘nir_imm_int’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1512:7: call_function: calling ‘_nir_build_vulkan_resource_index’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1512:7: return_function: returning to ‘get_reset_occlusion_query_cs’ from ‘_nir_build_vulkan_resource_index’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1521:21: call_function: inlined call to ‘nir_channel’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1521:21: call_function: inlined call to ‘nir_channel’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1524:7: call_function: inlined call to ‘nir_imm_int’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1524:7: call_function: inlined call to ‘nir_imm_int’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1524:7: call_function: calling ‘_nir_build_load_push_constant’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1524:7: return_function: returning to ‘get_reset_occlusion_query_cs’ from ‘_nir_build_load_push_constant’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1527:7: call_function: inlined call to ‘nir_imm_int’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1527:7: call_function: inlined call to ‘nir_imm_int’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1527:7: call_function: calling ‘_nir_build_load_push_constant’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1527:7: return_function: returning to ‘get_reset_occlusion_query_cs’ from ‘_nir_build_load_push_constant’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1531:4: call_function: calling ‘nir_imm_intN_t’ from ‘get_reset_occlusion_query_cs’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1531:4: return_function: returning to ‘get_reset_occlusion_query_cs’ from ‘nir_imm_intN_t’
mesa-25.1.0-rc2/redhat-linux-build/../src/broadcom/vulkan/v3dv_query.c:1531:4: call_function: calling ‘nir_set_query_availability’ from ‘get_reset_occlusion_query_cs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1539]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:13726:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src0’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:949:1: enter_function: entry to ‘write_values_to_lanes’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:951:21: call_function: inlined call to ‘nir_imm_int’ from ‘write_values_to_lanes’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:951:21: call_function: inlined call to ‘nir_imm_int’ from ‘write_values_to_lanes’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:953:4: branch_true: following ‘true’ branch (when ‘__dword != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:954:15: call_function: inlined call to ‘nir_imm_int’ from ‘write_values_to_lanes’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:954:15: call_function: inlined call to ‘nir_imm_int’ from ‘write_values_to_lanes’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_prerast_utils.c:954:15: call_function: calling ‘_nir_build_write_invocation_amd’ from ‘write_values_to_lanes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1540]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:16342:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ps_early.c:550:1: enter_function: entry to ‘ac_nir_lower_ps_early’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ps_early.c:553:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘ac_nir_lower_ps_early’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ps_early.c:553:30: return_function: returning to ‘ac_nir_lower_ps_early’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ps_early.c:563:4: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘ac_nir_lower_ps_early’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ps_early.c:563:4: return_function: returning to ‘ac_nir_lower_ps_early’ from ‘nir_shader_intrinsics_pass’
mesa-25.1.0-rc2/redhat-linux-build/../src/amd/common/nir/ac_nir_lower_ps_early.c:577:20: call_function: calling ‘nir_shader_intrinsics_pass’ from ‘ac_nir_lower_ps_early’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1541]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:16347:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_rt.c:373:1: enter_function: entry to ‘brw_nir_lower_combined_intersection_any_hit’
mesa-25.1.0-rc2/redhat-linux-build/../src/intel/compiler/brw_nir_rt.c:382:4: call_function: calling ‘lower_ray_walk_intrinsics’ from ‘brw_nir_lower_combined_intersection_any_hit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1542]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_builder_opcodes.h:16352:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src1’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:210:1: enter_function: entry to ‘nir_clear_shared_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:217:7: branch_false: following ‘false’ branch (when ‘shared_size != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:220:30: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:220:30: call_function: calling ‘nir_shader_get_entrypoint’ from ‘nir_clear_shared_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:220:30: return_function: returning to ‘nir_clear_shared_memory’ from ‘nir_shader_get_entrypoint’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:221:20: call_function: calling ‘nir_after_impl’ from ‘nir_clear_shared_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:221:20: return_function: returning to ‘nir_clear_shared_memory’ from ‘nir_after_impl’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:234:28: call_function: inlined call to ‘nir_imul_imm’ from ‘nir_clear_shared_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:234:28: call_function: inlined call to ‘nir_imul_imm’ from ‘nir_clear_shared_memory’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:243:7: branch_true: following ‘true’ branch...
branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:247:28: branch_true: following ‘true’ branch (when ‘iterations > i’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:248:25: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:250:13: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:251:59: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_lower_variable_initializers.c:251:13: call_function: calling ‘nir_ult_imm’ from ‘nir_clear_shared_memory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1543]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_intrinsics_indices.h:56:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:408:1: enter_function: entry to ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: call_function: calling ‘nir_foreach_function_with_impl_first’ from ‘nir_opt_combine_stores’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: return_function: returning to ‘nir_opt_combine_stores’ from ‘nir_foreach_function_with_impl_first’
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:421:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/compiler/nir/nir_opt_combine_stores.c:422:19: call_function: calling ‘combine_stores_impl’ from ‘nir_opt_combine_stores’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1544]
mesa-25.1.0-rc2/redhat-linux-build/src/compiler/nir/nir_intrinsics_indices.h:272:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/util/pan_collect_varyings.c:176:1: enter_function: entry to ‘collect_noperspective_varyings_fs’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/util/pan_collect_varyings.c:186:7: branch_false: following ‘false’ branch (when ‘<unknown> > 31’)...
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/util/pan_collect_varyings.c:189:38: call_function: inlined call to ‘nir_src_as_intrinsic’ from ‘collect_noperspective_varyings_fs’
mesa-25.1.0-rc2/redhat-linux-build/../src/panfrost/util/pan_collect_varyings.c:191:8: call_function: inlined call to ‘nir_intrinsic_interp_mode’ from ‘collect_noperspective_varyings_fs’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1545]
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3923:5: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3856:12: enter_function: entry to ‘yy_get_next_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3863:5: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3867:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3867:5: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3889:33: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3894:5: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3903:25: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3905:11: branch_true: following ‘true’ branch (when ‘num_to_read <= 0’)...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3909:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3925:41: call_function: inlined call to ‘ir3_yyrealloc’ from ‘yy_get_next_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3932:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3936:19: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3905:11: branch_true: following ‘true’ branch (when ‘num_to_read <= 0’)...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3909:41: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3914:7: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3916:48: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3925:41: call_function: inlined call to ‘ir3_yyrealloc’ from ‘yy_get_next_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:3923:5: danger: ‘*b.yy_ch_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1546]
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4245:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4231:21: enter_function: entry to ‘ir3_yy_create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4235:24: call_function: inlined call to ‘ir3_yyalloc’ from ‘ir3_yy_create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4236:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4239:2: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4245:12: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1547]
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4499:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4483:17: enter_function: entry to ‘ir3_yy_scan_bytes’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4492:24: call_function: inlined call to ‘ir3_yyalloc’ from ‘ir3_yy_scan_bytes’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4493:12: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_lexer.c:4501:6: call_function: calling ‘ir3_yy_scan_buffer’ from ‘ir3_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1548]
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3256:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3214:6: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3220:34: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3243:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3245:7: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3254:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3256:9: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3256:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1549]
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3383:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3214:6: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3278:6: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3278:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3281:3: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3293:6: branch_true: following ‘true’ branch (when ‘yyn == -1090’)...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3294:5: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3363:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3365:3: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/freedreno/ir3/ir3_parser.c:3383:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1550]
mesa-25.1.0-rc2/redhat-linux-build/src/imagination/pco/pco_isa.h:64:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bin’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:115:6: enter_function: entry to ‘pco_encode_ir’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:122:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:123:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:124:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: call_function: calling ‘pco_encode_igrp’ from ‘pco_encode_ir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1551]
mesa-25.1.0-rc2/redhat-linux-build/src/imagination/pco/pco_isa.h:398:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bin’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:115:6: enter_function: entry to ‘pco_encode_ir’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:122:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:123:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:124:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: call_function: calling ‘pco_encode_igrp’ from ‘pco_encode_ir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1552]
mesa-25.1.0-rc2/redhat-linux-build/src/imagination/pco/pco_isa.h:1664:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bin’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:115:6: enter_function: entry to ‘pco_encode_ir’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:122:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:123:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:124:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: call_function: calling ‘pco_encode_igrp’ from ‘pco_encode_ir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1553]
mesa-25.1.0-rc2/redhat-linux-build/src/imagination/pco/pco_isa.h:2871:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bin’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:115:6: enter_function: entry to ‘pco_encode_ir’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:122:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:123:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:124:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: call_function: calling ‘pco_encode_igrp’ from ‘pco_encode_ir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1554]
mesa-25.1.0-rc2/redhat-linux-build/src/imagination/pco/pco_isa.h:4316:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bin’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:115:6: enter_function: entry to ‘pco_encode_ir’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:122:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:123:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:124:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: call_function: calling ‘pco_encode_igrp’ from ‘pco_encode_ir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1555]
mesa-25.1.0-rc2/redhat-linux-build/src/imagination/pco/pco_isa.h:4761:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bin’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:115:6: enter_function: entry to ‘pco_encode_ir’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:122:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:123:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:124:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: call_function: calling ‘pco_encode_igrp’ from ‘pco_encode_ir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1556]
mesa-25.1.0-rc2/redhat-linux-build/src/imagination/pco/pco_isa.h:4792:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bin’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:115:6: enter_function: entry to ‘pco_encode_ir’
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:122:4: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:123:7: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:124:7: branch_true: following ‘true’ branch (when ‘block’ is non-NULL)...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:125:10: branch_true: following ‘true’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: branch_true: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/imagination/pco/pco_binary.c:126:30: call_function: calling ‘pco_encode_igrp’ from ‘pco_encode_ir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1557]
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3022:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3008:21: enter_function: entry to ‘_mesa_program_lexer__create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3012:24: call_function: inlined call to ‘_mesa_program_lexer_alloc’ from ‘_mesa_program_lexer__create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3013:12: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3016:2: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3022:12: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1558]
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3064:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2943:10: enter_function: entry to ‘_mesa_program_lexer_restart’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2948:16: call_function: calling ‘_mesa_program_lexer_ensure_buffer_stack’ from ‘_mesa_program_lexer_restart’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2948:16: return_function: returning to ‘_mesa_program_lexer_restart’ from ‘_mesa_program_lexer_ensure_buffer_stack’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2950:27: call_function: calling ‘_mesa_program_lexer__create_buffer’ from ‘_mesa_program_lexer_restart’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2950:27: return_function: returning to ‘_mesa_program_lexer_restart’ from ‘_mesa_program_lexer__create_buffer’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:2953:2: call_function: calling ‘_mesa_program_lexer__init_buffer’ from ‘_mesa_program_lexer_restart’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1559]
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3282:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3266:17: enter_function: entry to ‘_mesa_program_lexer__scan_bytes’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3275:24: call_function: inlined call to ‘_mesa_program_lexer_alloc’ from ‘_mesa_program_lexer__scan_bytes’
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3276:12: branch_false: following ‘false’ branch...
branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3284:6: call_function: calling ‘_mesa_program_lexer__scan_buffer’ from ‘_mesa_program_lexer__scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1560]
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3293:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:478:1: enter_function: entry to ‘_mesa_program_lexer_ctor’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:482:4: call_function: calling ‘_mesa_program_lexer__scan_bytes’ from ‘_mesa_program_lexer_ctor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1561]
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/lex.yy.c:3293:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:478:1: enter_function: entry to ‘_mesa_program_lexer_ctor’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_lexer.l:482:4: call_function: calling ‘_mesa_program_lexer__scan_bytes’ from ‘_mesa_program_lexer_ctor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1562]
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2088:11: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2540:1: enter_function: entry to ‘_mesa_parse_arb_program’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2557:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2565:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2593:4: call_function: calling ‘yyparse’ from ‘_mesa_parse_arb_program’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1563]
mesa-25.1.0-rc2/redhat-linux-build/src/mesa/program/program_parse.tab.c:2092:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2540:1: enter_function: entry to ‘_mesa_parse_arb_program’
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2557:7: branch_false: following ‘false’ branch...
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2565:4: branch_false: ...to here
mesa-25.1.0-rc2/redhat-linux-build/../src/mesa/program/program_parse.y:2593:4: call_function: calling ‘yyparse’ from ‘_mesa_parse_arb_program’
Error: CPPCHECK_WARNING (CWE-562): [#def1564]
mesa-25.1.0-rc2/src/amd/addrlib/src/r800/ciaddrlib.cpp:778: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def1565]
mesa-25.1.0-rc2/src/amd/addrlib/src/r800/egbaddrlib.cpp:3307: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def1566]
mesa-25.1.0-rc2/src/amd/addrlib/src/r800/egbaddrlib.cpp:3813: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-476): [#def1567]
mesa-25.1.0-rc2/src/amd/common/ac_ib_parser.c:50: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ib
Error: COMPILER_WARNING (CWE-563): [#def1568]
mesa-25.1.0-rc2/src/amd/common/nir/ac_nir_meta_cs_blit.c: scope_hint: In function ‘ac_prepare_compute_blit’
mesa-25.1.0-rc2/src/amd/common/nir/ac_nir_meta_cs_blit.c:775:38: warning[-Wunused-variable]: unused variable ‘max_lane_size’
Error: COMPILER_WARNING (CWE-563): [#def1569]
mesa-25.1.0-rc2/src/amd/llvm/ac_nir_to_llvm.c: scope_hint: In function ‘visit_load’
mesa-25.1.0-rc2/src/amd/llvm/ac_nir_to_llvm.c:2629:12: warning[-Wunused-variable]: unused variable ‘offset’
Error: COMPILER_WARNING (CWE-563): [#def1570]
mesa-25.1.0-rc2/src/amd/vulkan/meta/radv_meta_clear.c: scope_hint: In function ‘radv_clear_htile’
mesa-25.1.0-rc2/src/amd/vulkan/meta/radv_meta_clear.c:1076:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1571]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_userdata_address’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:962:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1572]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_descriptors_per_stage’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:992:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1573]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_ps_epilog_state’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:1963:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1574]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_fragment_shading_rate’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:3350:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1575]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_streamout_buffers’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:5989:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1576]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_streamout_state’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:6010:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1577]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_emit_streamout_enable_state’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:10680:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1578]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_CmdTraceRaysIndirectKHR’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:12820:24: warning[-Wunused-variable]: unused variable ‘device’
Error: COMPILER_WARNING (CWE-563): [#def1579]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_CmdTraceRaysIndirect2KHR’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:12845:24: warning[-Wunused-variable]: unused variable ‘device’
Error: COMPILER_WARNING (CWE-563): [#def1580]
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c: scope_hint: In function ‘radv_init_streamout_state’
mesa-25.1.0-rc2/src/amd/vulkan/radv_cmd_buffer.c:13802:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1581]
mesa-25.1.0-rc2/src/vulkan/runtime/vk_device_generated_commands.h:28: included_from: Included from here.
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.h:14: included_from: Included from here.
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c:7: included_from: Included from here.
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c: scope_hint: In function ‘radv_CmdPreprocessGeneratedCommandsEXT’
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c:2793:49: warning[-Wunused-variable]: unused variable ‘layout’
mesa-25.1.0-rc2/src/vulkan/runtime/vk_object.h:230:26: note: in definition of macro ‘VK_FROM_HANDLE’
Error: COMPILER_WARNING (CWE-563): [#def1582]
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c: scope_hint: In function ‘radv_prepare_dgc’
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c:2973:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1583]
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c: scope_hint: In function ‘radv_CreateIndirectExecutionSetEXT’
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c:3255:37: warning[-Wunused-variable]: unused variable ‘pipeline’
mesa-25.1.0-rc2/src/vulkan/runtime/vk_object.h:230:26: note: in definition of macro ‘VK_FROM_HANDLE’
Error: COMPILER_WARNING (CWE-563): [#def1584]
mesa-25.1.0-rc2/src/amd/vulkan/radv_dgc.c:3263:42: warning[-Wunused-variable]: unused variable ‘shader_object’
mesa-25.1.0-rc2/src/vulkan/runtime/vk_object.h:230:26: note: in definition of macro ‘VK_FROM_HANDLE’
Error: COMPILER_WARNING (CWE-563): [#def1585]
mesa-25.1.0-rc2/src/amd/vulkan/radv_query.c: scope_hint: In function ‘radv_alloc_shader_query_buf’
mesa-25.1.0-rc2/src/amd/vulkan/radv_query.c:963:39: warning[-Wunused-variable]: unused variable ‘pdev’
Error: COMPILER_WARNING (CWE-563): [#def1586]
mesa-25.1.0-rc2/src/amd/vulkan/radv_shader_info.c: scope_hint: In function ‘radv_get_legacy_gs_info’
mesa-25.1.0-rc2/src/amd/vulkan/radv_shader_info.c:816:19: warning[-Wunused-variable]: unused variable ‘max_prims_per_subgroup’
Error: COMPILER_WARNING (CWE-563): [#def1587]
mesa-25.1.0-rc2/src/amd/vulkan/radv_video_enc.c: scope_hint: In function ‘radv_enc_slice_header’
mesa-25.1.0-rc2/src/amd/vulkan/radv_video_enc.c:633:8: warning[-Wunused-variable]: unused variable ‘slice_count’
Error: COMPILER_WARNING (CWE-563): [#def1588]
mesa-25.1.0-rc2/src/asahi/compiler/agx_compile.c: scope_hint: In function ‘agx_emit_intrinsic’
mesa-25.1.0-rc2/src/asahi/compiler/agx_compile.c:1302:20: warning[-Wunused-variable]: unused variable ‘stage’
Error: COMPILER_WARNING (CWE-563): [#def1589]
mesa-25.1.0-rc2/src/asahi/compiler/agx_compile.c: scope_hint: In function ‘agx_alu_src_index’
mesa-25.1.0-rc2/src/asahi/compiler/agx_compile.c:1729:13: warning[-Wunused-variable]: unused variable ‘comps’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1590]
mesa-25.1.0-rc2/src/asahi/compiler/agx_lower_spill.c: scope_hint: In function ‘spill_fill’
mesa-25.1.0-rc2/src/asahi/compiler/agx_lower_spill.c:44:13: warning[-Wunused-variable]: unused variable ‘stack_offs_end_B’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1591]
mesa-25.1.0-rc2/src/asahi/compiler/agx_register_allocate.c: scope_hint: In function ‘agx_insert_parallel_copies’
mesa-25.1.0-rc2/src/asahi/compiler/agx_register_allocate.c:1229:9: warning[-Wunused-but-set-variable]: variable ‘any_succ’ set but not used
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1592]
mesa-25.1.0-rc2/src/asahi/layout/tiling.cc: scope_hint: In function ‘void ail_detile(void*, void*, const ail_layout*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)’
mesa-25.1.0-rc2/src/asahi/layout/tiling.cc:146:13: warning[-Wunused-variable]: unused variable ‘width_px’
Error: COMPILER_WARNING (CWE-563): [#def1593]
mesa-25.1.0-rc2/src/asahi/layout/tiling.cc:147:13: warning[-Wunused-variable]: unused variable ‘height_px’
Error: COMPILER_WARNING (CWE-563): [#def1594]
mesa-25.1.0-rc2/src/asahi/layout/tiling.cc: scope_hint: In function ‘void ail_tile(void*, void*, const ail_layout*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)’
mesa-25.1.0-rc2/src/asahi/layout/tiling.cc:164:13: warning[-Wunused-variable]: unused variable ‘width_px’
Error: COMPILER_WARNING (CWE-563): [#def1595]
mesa-25.1.0-rc2/src/asahi/layout/tiling.cc:165:13: warning[-Wunused-variable]: unused variable ‘height_px’
Error: COMPILER_WARNING (CWE-563): [#def1596]
mesa-25.1.0-rc2/src/asahi/lib/agx_device.c: scope_hint: In function ‘agx_bo_export’
mesa-25.1.0-rc2/src/asahi/lib/agx_device.c:379:14: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1597]
mesa-25.1.0-rc2/src/asahi/lib/agx_nir_lower_vbo.c: scope_hint: In function ‘pass’
mesa-25.1.0-rc2/src/asahi/lib/agx_nir_lower_vbo.c:134:9: warning[-Wunused-variable]: unused variable ‘is_float’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1598]
mesa-25.1.0-rc2/src/asahi/lib/decode.c: scope_hint: In function ‘agxdecode_track_alloc’
mesa-25.1.0-rc2/src/asahi/lib/decode.c:987:12: warning[-Wunused-variable]: unused variable ‘match’
Error: COMPILER_WARNING (CWE-563): [#def1599]
mesa-25.1.0-rc2/src/asahi/lib/decode.c: scope_hint: In function ‘agxdecode_track_free’
mesa-25.1.0-rc2/src/asahi/lib/decode.c:997:9: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1600]
mesa-25.1.0-rc2/src/asahi/vulkan/hk_cmd_draw.c: scope_hint: In function ‘hk_CmdBeginRendering’
mesa-25.1.0-rc2/src/asahi/vulkan/hk_cmd_draw.c:695:45: warning[-Wunused-variable]: unused variable ‘desc’
Error: COMPILER_WARNING (CWE-563): [#def1601]
mesa-25.1.0-rc2/src/asahi/vulkan/hk_cmd_draw.c: scope_hint: In function ‘hk_flush_gfx_state’
mesa-25.1.0-rc2/src/asahi/vulkan/hk_cmd_draw.c:3200:22: warning[-Wunused-variable]: unused variable ‘dev’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1602]
mesa-25.1.0-rc2/src/asahi/vulkan/hk_cmd_meta.c: scope_hint: In function ‘aspect_format’
mesa-25.1.0-rc2/src/asahi/vulkan/hk_cmd_meta.c:211:9: warning[-Wunused-variable]: unused variable ‘depth’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1603]
mesa-25.1.0-rc2/src/asahi/vulkan/hk_device_memory.c: scope_hint: In function ‘hk_AllocateMemory’
mesa-25.1.0-rc2/src/asahi/vulkan/hk_device_memory.c:182:19: warning[-Wunused-variable]: unused variable ‘flags’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1604]
mesa-25.1.0-rc2/src/asahi/vulkan/hk_image.c: scope_hint: In function ‘hk_copy_image_to_image_cpu’
mesa-25.1.0-rc2/src/asahi/vulkan/hk_image.c:1651:19: warning[-Wunused-variable]: unused variable ‘dst_size’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1605]
mesa-25.1.0-rc2/src/asahi/vulkan/hk_queue.c: scope_hint: In function ‘hk_sparse_image_bind_memory’
mesa-25.1.0-rc2/src/asahi/vulkan/hk_queue.c:671:16: warning[-Wunused-variable]: unused variable ‘size_B’
Error: COMPILER_WARNING (CWE-563): [#def1606]
mesa-25.1.0-rc2/src/asahi/vulkan/hk_queue.c: scope_hint: In function ‘hk_queue_init’
mesa-25.1.0-rc2/src/asahi/vulkan/hk_queue.c:940:31: warning[-Wunused-variable]: unused variable ‘pdev’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1607]
mesa-25.1.0-rc2/src/broadcom/perfcntrs/v3dx_counter.c: scope_hint: In function ‘v3d42_perfcounters_get’
mesa-25.1.0-rc2/src/broadcom/perfcntrs/v3dx_counter.c:31:24: warning[-Wunused-variable]: unused variable ‘max_perfcnt’
Error: COMPILER_WARNING (CWE-563): [#def1608]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_cmd_buffer.c: scope_hint: In function ‘job_destroy_cloned_gpu_cl_resources’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_cmd_buffer.c:153:28: warning[-Wunused-variable]: unused variable ‘cmd_buffer’
Error: COMPILER_WARNING (CWE-563): [#def1609]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_device.c: scope_hint: In function ‘v3dv_setup_dynamic_framebuffer’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_device.c:2850:29: warning[-Wunused-variable]: unused variable ‘pass’
Error: COMPILER_WARNING (CWE-563): [#def1610]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_meta_copy.c: scope_hint: In function ‘copy_image_linear_texel_buffer’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_meta_copy.c:1633:12: warning[-Wunused-variable]: unused variable ‘dst_plane’
Error: COMPILER_WARNING (CWE-563): [#def1611]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_meta_copy.c: scope_hint: In function ‘copy_buffer_to_image_shader’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_meta_copy.c:3164:9: warning[-Wunused-variable]: unused variable ‘is_plane_aspect’
Error: COMPILER_WARNING (CWE-563): [#def1612]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_fs_key’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c:1161:24: warning[-Wunused-variable]: unused variable ‘device’
Error: COMPILER_WARNING (CWE-563): [#def1613]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_gs_key’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c:1246:24: warning[-Wunused-variable]: unused variable ‘device’
Error: COMPILER_WARNING (CWE-563): [#def1614]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_v3d_vs_key’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c:1290:24: warning[-Wunused-variable]: unused variable ‘device’
Error: COMPILER_WARNING (CWE-563): [#def1615]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_graphics_key’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c:1958:24: warning[-Wunused-variable]: unused variable ‘device’
Error: COMPILER_WARNING (CWE-563): [#def1616]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c: scope_hint: In function ‘pipeline_populate_compute_key’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dv_pipeline.c:2043:24: warning[-Wunused-variable]: unused variable ‘device’
Error: COMPILER_WARNING (CWE-563): [#def1617]
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dvx_cmd_buffer.c: scope_hint: In function ‘v3d71_cmd_buffer_emit_depth_bias’
mesa-25.1.0-rc2/src/broadcom/vulkan/v3dvx_cmd_buffer.c:1503:26: warning[-Wunused-variable]: unused variable ‘pipeline’
Error: COMPILER_WARNING (CWE-252): [#def1618]
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c: scope_hint: In function ‘main’
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c:127:7: warning[-Wunused-result]: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def1619]
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c:172: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: fp
Error: CPPCHECK_WARNING (CWE-476): [#def1620]
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c:173: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: fp
Error: CPPCHECK_WARNING (CWE-476): [#def1621]
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c:177: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: fp
Error: CPPCHECK_WARNING (CWE-476): [#def1622]
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c:179: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: fp
Error: CPPCHECK_WARNING (CWE-476): [#def1623]
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c:181: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: fp
Error: CPPCHECK_WARNING (CWE-476): [#def1624]
mesa-25.1.0-rc2/src/compiler/clc/mesa_clc.c:182: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: fp
Error: COMPILER_WARNING (CWE-252): [#def1625]
mesa-25.1.0-rc2/redhat-linux-build/src/etnaviv/isa/etnaviv-isa.c:4638: included_from: Included from here.
mesa-25.1.0-rc2/src/compiler/isaspec/isaspec_decode_impl.c: scope_hint: In function ‘decode_error’
mesa-25.1.0-rc2/src/compiler/isaspec/isaspec_decode_impl.c:196:9: warning[-Wunused-result]: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING: [#def1626]
mesa-25.1.0-rc2/src/compiler/nir/nir_opt_shrink_vectors.c: scope_hint: In function ‘shrink_dest_to_read_mask’
mesa-25.1.0-rc2/src/compiler/nir/nir_opt_shrink_vectors.c:139:36: warning[-Wstringop-overflow=]: writing 16 bytes into a region of size 15
mesa-25.1.0-rc2/src/compiler/nir/nir_opt_shrink_vectors.c:137:18: note: at offset [1, 15] into destination object ‘swizzle’ of size 16
Error: COMPILER_WARNING (CWE-252): [#def1627]
mesa-25.1.0-rc2/src/compiler/spirv/vtn_bindgen2.c: scope_hint: In function ‘main’
mesa-25.1.0-rc2/src/compiler/spirv/vtn_bindgen2.c:313:4: warning[-Wunused-result]: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def1628]
mesa-25.1.0-rc2/src/egl/drivers/dri2/platform_wayland.c: scope_hint: In function ‘dri2_wl_swrast_query_buffer_age’
mesa-25.1.0-rc2/src/egl/drivers/dri2/platform_wayland.c:2808:29: warning[-Wunused-variable]: unused variable ‘dri2_dpy’
Error: COMPILER_WARNING (CWE-563): [#def1629]
mesa-25.1.0-rc2/src/freedreno/fdl/fd6_tiled_memcpy.cc: scope_hint: In function ‘void fdl6_memcpy_linear_to_tiled(uint32_t, uint32_t, uint32_t, uint32_t, char*, const char*, const fdl_layout*, unsigned int, uint32_t, const fdl_ubwc_config*)’
mesa-25.1.0-rc2/src/freedreno/fdl/fd6_tiled_memcpy.cc:860:13: warning[-Wunused-variable]: unused variable ‘block_size’
Error: COMPILER_WARNING (CWE-563): [#def1630]
mesa-25.1.0-rc2/src/freedreno/fdl/fd6_tiled_memcpy.cc: scope_hint: In function ‘void fdl6_memcpy_tiled_to_linear(uint32_t, uint32_t, uint32_t, uint32_t, char*, const char*, const fdl_layout*, unsigned int, uint32_t, const fdl_ubwc_config*)’
mesa-25.1.0-rc2/src/freedreno/fdl/fd6_tiled_memcpy.cc:923:13: warning[-Wunused-variable]: unused variable ‘block_size’
Error: COMPILER_WARNING (CWE-563): [#def1631]
mesa-25.1.0-rc2/src/freedreno/ir3/ir3_compiler_nir.c: scope_hint: In function ‘emit_predicated_branch’
mesa-25.1.0-rc2/src/freedreno/ir3/ir3_compiler_nir.c:4515:22: warning[-Wunused-variable]: unused variable ‘else_block’
Error: COMPILER_WARNING (CWE-563): [#def1632]
mesa-25.1.0-rc2/src/freedreno/ir3/ir3_nir_opt_preamble.c: scope_hint: In function ‘emit_descriptor_prefetch’
mesa-25.1.0-rc2/src/freedreno/ir3/ir3_nir_opt_preamble.c:603:11: warning[-Wunused-variable]: unused variable ‘texture_index’
Error: COMPILER_WARNING (CWE-252): [#def1633]
mesa-25.1.0-rc2/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘readdt’
mesa-25.1.0-rc2/src/freedreno/perfcntrs/freedreno_dt.c:49:10: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def1634]
mesa-25.1.0-rc2/src/freedreno/perfcntrs/freedreno_dt.c: scope_hint: In function ‘find_freqs’
mesa-25.1.0-rc2/src/freedreno/perfcntrs/freedreno_dt.c:82:10: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def1635]
mesa-25.1.0-rc2/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp: scope_hint: In function ‘void lp_function_add_debug_info(gallivm_state*, LLVMValueRef, LLVMTypeRef)’
mesa-25.1.0-rc2/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp:381:15: warning[-Wunused-result]: ignoring return value of ‘int asprintf(char**, const char*, ...)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def1636]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c: scope_hint: In function ‘agx_batch_init’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c:159:11: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1637]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c: scope_hint: In function ‘agx_get_in_sync’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c:599:11: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1638]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c: scope_hint: In function ‘agx_batch_submit’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c:714:14: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1639]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c:905:11: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1640]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c:957:11: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1641]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c: scope_hint: In function ‘agx_sync_batch’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_batch.c:1011:8: warning[-Wunused-variable]: unused variable ‘ret’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1642]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_fence.c: scope_hint: In function ‘agx_fence_get_fd’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_fence.c:66:8: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1643]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_fence.c: scope_hint: In function ‘agx_fence_server_sync’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_fence.c:154:17: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1644]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_pipe.c: scope_hint: In function ‘agx_create_context’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_pipe.c:1735:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1645]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_pipe.c: scope_hint: In function ‘agx_screen_create’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_pipe.c:2426:8: warning[-Wunused-variable]: unused variable ‘ret’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1646]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_query.c: scope_hint: In function ‘agx_get_query_result_resource_cpu’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_query.c:443:12: warning[-Wunused-variable]: unused variable ‘ready’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1647]
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_state.c: scope_hint: In function ‘agx_create_vertex_elements’
mesa-25.1.0-rc2/src/gallium/drivers/asahi/agx_state.c:1396:16: warning[-Wunused-variable]: unused variable ‘chan_size’
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
Error: COMPILER_WARNING (CWE-563): [#def1648]
mesa-25.1.0-rc2/src/gallium/drivers/freedreno/a6xx/fd6_texture.cc: scope_hint: In function ‘fd6_texture_state* fd6_texture_state(fd_context*, pipe_shader_type)’
mesa-25.1.0-rc2/src/gallium/drivers/freedreno/a6xx/fd6_texture.cc:779:19: warning[-Wunused-variable]: unused variable ‘seqno’
Error: COMPILER_WARNING (CWE-563): [#def1649]
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_program.c: scope_hint: In function ‘iris_fill_cs_push_const_buffer’
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_program.c:3140:25: warning[-Wunused-variable]: unused variable ‘cs_data’
Error: COMPILER_WARNING (CWE-563): [#def1650]
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_resource.c: scope_hint: In function ‘map_aux_addresses’
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_resource.c:643:18: warning[-Wunused-variable]: unused variable ‘mapped’
Error: COMPILER_WARNING (CWE-563): [#def1651]
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘fill_surf_for_tex2d_from_buffer’
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_state.c:2923:15: warning[-Wunused-variable]: unused variable ‘isl_surf_created_successfully’
Error: COMPILER_WARNING (CWE-563): [#def1652]
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_state.c: scope_hint: In function ‘iris_store_cs_state’
mesa-25.1.0-rc2/src/gallium/drivers/iris/iris_state.c:5389:25: warning[-Wunused-variable]: unused variable ‘cs_data’
Error: COMPILER_WARNING (CWE-563): [#def1653]
mesa-25.1.0-rc2/src/gallium/drivers/llvmpipe/lp_texture_handle.c: scope_hint: In function ‘llvmpipe_create_texture_handle’
mesa-25.1.0-rc2/src/gallium/drivers/llvmpipe/lp_texture_handle.c:69:12: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1654]
mesa-25.1.0-rc2/src/gallium/drivers/llvmpipe/lp_texture_handle.c:86:12: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1655]
mesa-25.1.0-rc2/src/gallium/drivers/llvmpipe/lp_texture_handle.c: scope_hint: In function ‘llvmpipe_create_image_handle’
mesa-25.1.0-rc2/src/gallium/drivers/llvmpipe/lp_texture_handle.c:133:9: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1656]
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_cmdstream.c: scope_hint: In function ‘panfrost_emit_blend’
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_cmdstream.c:362:40: warning[-Wunused-variable]: unused variable ‘fs’
Error: COMPILER_WARNING (CWE-563): [#def1657]
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_context.c: scope_hint: In function ‘panfrost_fence_server_sync’
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_context.c:991:17: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1658]
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_submit_wait_and_dump’
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_csf.c:571:11: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1659]
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_emit_draw_state’
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_csf.c:1089:9: warning[-Wunused-variable]: unused variable ‘idvs’
Error: COMPILER_WARNING (CWE-563): [#def1660]
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_csf.c: scope_hint: In function ‘csf_cleanup_context_v10’
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_csf.c:1616:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1661]
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_jm.c: scope_hint: In function ‘jm_emit_tiler_desc’
mesa-25.1.0-rc2/src/gallium/drivers/panfrost/pan_jm.c:424:13: warning[-Wunused-variable]: unused variable ‘max_levels’
Error: CPPCHECK_WARNING (CWE-476): [#def1662]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/memory_pool.c:45: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: newblock
Error: CPPCHECK_WARNING (CWE-682): [#def1663]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/memory_pool.c:48: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def1664]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/memory_pool.c:49: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def1665]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/memory_pool.c:74: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: block
Error: CPPCHECK_WARNING (CWE-682): [#def1666]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/memory_pool.c:77: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-563): [#def1667]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/r300_nir.c: scope_hint: In function ‘have_too_many_ubos’
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/r300_nir.c:101:11: warning[-Wunused-variable]: unused variable ‘ubo’
Error: CPPCHECK_WARNING (CWE-476): [#def1668]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/radeon_code.c:53: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: newlist
Error: COMPILER_WARNING (CWE-457): [#def1669]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/radeon_code.c: scope_hint: In function ‘rc_constants_add_immediate_scalar’
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/radeon_code.c:122:20: warning[-Wmaybe-uninitialized]: ‘free_comp’ may be used uninitialized
Error: CPPCHECK_WARNING (CWE-823): [#def1670]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:129: error[arrayIndexOutOfBounds]: Array 's->inv_remap_table[i].index[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def1671]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/radeon_remove_constants.c:130: error[arrayIndexOutOfBounds]: Array 's->inv_remap_table[i].swizzle[4]' accessed at index 4, which is out of bounds.
Error: COMPILER_WARNING (CWE-563): [#def1672]
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/radeon_variable.c: scope_hint: In function ‘rc_get_variables’
mesa-25.1.0-rc2/src/gallium/drivers/r300/compiler/radeon_variable.c:356:42: warning[-Wunused-variable]: unused variable ‘opcode’
Error: COMPILER_WARNING (CWE-563): [#def1673]
mesa-25.1.0-rc2/src/gallium/drivers/r600/sfn/sfn_assembler.cpp: scope_hint: In member function ‘r600::VirtualValue* r600::AssamblerVisitor::copy_src(r600_bytecode_alu_src&, const r600::VirtualValue&)’
mesa-25.1.0-rc2/src/gallium/drivers/r600/sfn/sfn_assembler.cpp:1249:11: warning[-Wunused-variable]: unused variable ‘clidx’
Error: COMPILER_WARNING (CWE-563): [#def1674]
mesa-25.1.0-rc2/src/gallium/drivers/r600/sfn/sfn_shader.cpp: scope_hint: In member function ‘virtual void r600::RegisterWriteHandler::visit(r600::Register&)’
mesa-25.1.0-rc2/src/gallium/drivers/r600/sfn/sfn_shader.cpp:1107:8: warning[-Wunused-variable]: unused variable ‘writemask’
Error: COMPILER_WARNING (CWE-563): [#def1675]
mesa-25.1.0-rc2/src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp: scope_hint: In member function ‘r600::Register* r600::ValueFactory::dest_from_string(const std::string&)’
mesa-25.1.0-rc2/src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp:635:9: warning[-Wunused-variable]: unused variable ‘is_ssa’
Error: COMPILER_WARNING (CWE-563): [#def1676]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_cp_utils.c: scope_hint: In function ‘si_cp_acquire_mem_pws’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_cp_utils.c:99:9: warning[-Wunused-variable]: unused variable ‘cs_done’
Error: COMPILER_WARNING (CWE-563): [#def1677]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c:129:12: warning[-Wunused-variable]: unused variable ‘has_attribute_ring_address’
Error: COMPILER_WARNING (CWE-563): [#def1678]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c: scope_hint: In function ‘load_vs_input_from_blit_sgpr’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_nir_lower_vs_inputs.c:134:16: warning[-Wunused-variable]: unused variable ‘vs_blit_property’
Error: COMPILER_WARNING (CWE-563): [#def1679]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_build_pm4.h:14: included_from: Included from here.
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_state_draw.cpp:7: included_from: Included from here.
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_pipe.h: scope_hint: In function ‘bool vi_tc_compat_htile_enabled(si_texture*, unsigned int, unsigned int)’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_pipe.h:1957:22: warning[-Wunused-variable]: unused variable ‘sscreen’
Error: COMPILER_WARNING (CWE-563): [#def1680]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_shader.c: scope_hint: In function ‘si_nir_assign_param_offsets’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_shader.c:1880:31: warning[-Wunused-variable]: unused variable ‘sel’
Error: COMPILER_WARNING (CWE-563): [#def1681]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_shader.c:3532:13: warning[-Wunused-variable]: unused variable ‘spi_ps_input_ena’
Error: COMPILER_WARNING (CWE-563): [#def1682]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_shader.c: scope_hint: In function ‘si_shader_select_ps_parts’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_shader.c:3533:13: warning[-Wunused-variable]: unused variable ‘spi_ps_input_addr’
Error: COMPILER_WARNING (CWE-563): [#def1683]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_shader_aco.c: scope_hint: In function ‘si_aco_resolve_symbols’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_shader_aco.c:184:31: warning[-Wunused-variable]: unused variable ‘key’
Error: COMPILER_WARNING (CWE-563): [#def1684]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘gfx11_dgpu_emit_framebuffer_state’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_state.c:3089:9: warning[-Wunused-variable]: unused variable ‘is_msaa_resolve’
Error: COMPILER_WARNING (CWE-563): [#def1685]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_state.c: scope_hint: In function ‘gfx12_emit_framebuffer_state’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_state.c:3238:9: warning[-Wunused-variable]: unused variable ‘is_msaa_resolve’
Error: COMPILER_WARNING (CWE-563): [#def1686]
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_texture.c: scope_hint: In function ‘si_copy_multi_plane_texture’
mesa-25.1.0-rc2/src/gallium/drivers/radeonsi/si_texture.c:77:23: warning[-Wunused-variable]: unused variable ‘dst_tex’
Error: COMPILER_WARNING (CWE-563): [#def1687]
mesa-25.1.0-rc2/src/gallium/frontends/clover/llvm/codegen/common.cpp: scope_hint: In function ‘llvm::Type* {anonymous}::ptr_arg_to_llvm_type(const llvm::Module&, std::string)’
mesa-25.1.0-rc2/src/gallium/frontends/clover/llvm/codegen/common.cpp:159:11: warning[-Wunused-variable]: unused variable ‘len’
Error: COMPILER_WARNING (CWE-563): [#def1688]
mesa-25.1.0-rc2/src/gallium/frontends/lavapipe/lvp_image.c: scope_hint: In function ‘lvp_image_create’
mesa-25.1.0-rc2/src/gallium/frontends/lavapipe/lvp_image.c:48:21: warning[-Wunused-variable]: unused variable ‘pipe_format’
Error: COMPILER_WARNING (CWE-563): [#def1689]
mesa-25.1.0-rc2/src/gallium/winsys/nouveau/drm/nouveau.c: scope_hint: In function ‘nouveau_object_channel_del’
mesa-25.1.0-rc2/src/gallium/winsys/nouveau/drm/nouveau.c:223:8: warning[-Wunused-variable]: unused variable ‘ret’
Error: CPPCHECK_WARNING (CWE-571): [#def1690]
mesa-25.1.0-rc2/src/glx/eval.c:22: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
Error: CPPCHECK_WARNING (CWE-571): [#def1691]
mesa-25.1.0-rc2/src/glx/eval.c:28: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
Error: CPPCHECK_WARNING (CWE-571): [#def1692]
mesa-25.1.0-rc2/src/glx/eval.c:41: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
Error: CPPCHECK_WARNING (CWE-571): [#def1693]
mesa-25.1.0-rc2/src/glx/eval.c:46: error[pointerArithBool]: Converting pointer arithmetic result to bool. The bool is always true unless there is undefined behaviour.
Error: CPPCHECK_WARNING (CWE-476): [#def1694]
mesa-25.1.0-rc2/src/glx/glx_query.c:60: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def1695]
mesa-25.1.0-rc2/src/glx/glx_query.c:87: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-457): [#def1696]
mesa-25.1.0-rc2/src/glx/glxglvnddispatchfuncs.h:33: warning[uninitvar]: Uninitialized variable: r
Error: CPPCHECK_WARNING (CWE-562): [#def1697]
mesa-25.1.0-rc2/src/gtest/include/gtest/gtest-matchers.h:754: error[returnReference]: Reference to local variable returned.
Error: CPPCHECK_WARNING (CWE-664): [#def1698]
mesa-25.1.0-rc2/src/gtest/include/gtest/internal/gtest-param-util.h:155: error[mismatchingContainers]: Iterators of different containers 'impl_' and 'other.impl_' are used together.
Error: COMPILER_WARNING (CWE-563): [#def1699]
mesa-25.1.0-rc2/src/imagination/pco/pco_ra.c: scope_hint: In function ‘pco_ra_func’
mesa-25.1.0-rc2/src/imagination/pco/pco_ra.c:231:9: warning[-Wunused-variable]: unused variable ‘allocated’
Error: COMPILER_WARNING (CWE-563): [#def1700]
mesa-25.1.0-rc2/src/imagination/pco/pco_trans_nir.c: scope_hint: In function ‘trans_load_input_fs’
mesa-25.1.0-rc2/src/imagination/pco/pco_trans_nir.c:262:18: warning[-Wunused-variable]: unused variable ‘offset’
Error: COMPILER_WARNING (CWE-563): [#def1701]
mesa-25.1.0-rc2/src/imagination/vulkan/pds/pvr_pipeline_pds.c:1584:28: warning[-Wunused-variable]: unused variable ‘current_addr_literal_destination’
Error: COMPILER_WARNING (CWE-563): [#def1702]
mesa-25.1.0-rc2/src/imagination/vulkan/pds/pvr_pipeline_pds.c: scope_hint: In function ‘pvr_pds_generate_descriptor_upload_program’
mesa-25.1.0-rc2/src/imagination/vulkan/pds/pvr_pipeline_pds.c:1586:28: warning[-Wunused-variable]: unused variable ‘previous_addr_literal_destination’
Error: COMPILER_WARNING (CWE-563): [#def1703]
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_cmd_buffer.c: scope_hint: In function ‘pvr_CmdSetViewport’
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_cmd_buffer.c:2572:19: warning[-Wunused-variable]: unused variable ‘total_count’
Error: COMPILER_WARNING (CWE-563): [#def1704]
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_cmd_buffer.c: scope_hint: In function ‘pvr_compute_flat_pad_workgroup_size’
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_cmd_buffer.c:4410:34: warning[-Wunused-variable]: unused variable ‘dev_info’
Error: COMPILER_WARNING (CWE-563): [#def1705]
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_job_context.c: scope_hint: In function ‘pvr_pds_sr_fence_terminate_program_create_and_upload’
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_job_context.c:932:42: warning[-Wunused-variable]: unused variable ‘dev_runtime_info’
Error: COMPILER_WARNING (CWE-563): [#def1706]
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_job_transfer.c: scope_hint: In function ‘pvr_isp_primitive_block’
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_job_transfer.c:3734:13: warning[-Wunused-but-set-variable]: variable ‘stream_size_in_bytes’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1707]
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_job_transfer.c: scope_hint: In function ‘pvr_get_custom_mapping’
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_job_transfer.c:5153:13: warning[-Wunused-variable]: unused variable ‘rect’
Error: COMPILER_WARNING (CWE-563): [#def1708]
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_pipeline.c: scope_hint: In function ‘pvr_alloc_fs_varyings’
mesa-25.1.0-rc2/src/imagination/vulkan/pvr_pipeline.c:1888:16: warning[-Wunused-variable]: unused variable ‘count’
Error: COMPILER_WARNING (CWE-563): [#def1709]
mesa-25.1.0-rc2/src/intel/blorp/blorp_blit.c: scope_hint: In function ‘blorp_copy_get_formats’
mesa-25.1.0-rc2/src/intel/blorp/blorp_blit.c:2879:36: warning[-Wunused-variable]: unused variable ‘src_fmtl’
Error: COMPILER_WARNING (CWE-563): [#def1710]
mesa-25.1.0-rc2/src/intel/blorp/blorp_clear.c: scope_hint: In function ‘convert_rt_from_3d_to_2d’
mesa-25.1.0-rc2/src/intel/blorp/blorp_clear.c:420:9: warning[-Wunused-variable]: unused variable ‘ok’
Error: COMPILER_WARNING (CWE-563): [#def1711]
mesa-25.1.0-rc2/src/intel/compiler/brw_compile_mesh.cpp: scope_hint: In function ‘void brw_compute_mue_layout(const brw_compiler*, std::__cxx11::list<attr_desc>*, uint64_t, nir_shader*, bool*, bool*)’
mesa-25.1.0-rc2/src/intel/compiler/brw_compile_mesh.cpp:735:12: warning[-Wunused-but-set-variable]: variable ‘inserted_back’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1712]
mesa-25.1.0-rc2/src/intel/compiler/brw_eu_compact.c: scope_hint: In function ‘brw_compact_instructions’
mesa-25.1.0-rc2/src/intel/compiler/brw_eu_compact.c:2370:19: warning[-Wunused-variable]: unused variable ‘saved’
Error: COMPILER_WARNING (CWE-563): [#def1713]
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp: scope_hint: In function ‘brw_reg emit_work_group_id_setup(nir_to_brw_state&)’
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp:174:16: warning[-Wunused-variable]: unused variable ‘s’
Error: COMPILER_WARNING (CWE-563): [#def1714]
mesa-25.1.0-rc2/src/intel/compiler/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-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp:2148:35: warning[-Wunused-variable]: unused variable ‘wm_prog_data’
Error: COMPILER_WARNING (CWE-563): [#def1715]
mesa-25.1.0-rc2/src/intel/compiler/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-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp:2278:35: warning[-Wunused-variable]: unused variable ‘wm_prog_data’
Error: COMPILER_WARNING (CWE-563): [#def1716]
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp: scope_hint: In function ‘void brw_from_nir_emit_vs_intrinsic(nir_to_brw_state&, nir_intrinsic_instr*)’
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp:2869:16: warning[-Wunused-variable]: unused variable ‘s’
Error: COMPILER_WARNING (CWE-563): [#def1717]
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp: scope_hint: In function ‘void emit_barrier(nir_to_brw_state&)’
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp:3031:16: warning[-Wunused-variable]: unused variable ‘s’
Error: COMPILER_WARNING (CWE-563): [#def1718]
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp: scope_hint: In function ‘brw_reg emit_shading_rate_setup(nir_to_brw_state&)’
mesa-25.1.0-rc2/src/intel/compiler/brw_from_nir.cpp:4074:29: warning[-Wunused-variable]: unused variable ‘devinfo’
Error: COMPILER_WARNING (CWE-563): [#def1719]
mesa-25.1.0-rc2/src/intel/compiler/brw_lower.cpp: scope_hint: In function ‘bool brw_lower_send_gather_inst(brw_shader&, brw_inst*)’
mesa-25.1.0-rc2/src/intel/compiler/brw_lower.cpp:798:19: warning[-Wunused-variable]: unused variable ‘num_payload_sources’
Error: COMPILER_WARNING (CWE-563): [#def1720]
mesa-25.1.0-rc2/src/intel/compiler/brw_lower_logical_sends.cpp: scope_hint: In function ‘void lower_lsc_memory_fence_and_interlock(const brw_builder&, brw_inst*)’
mesa-25.1.0-rc2/src/intel/compiler/brw_lower_logical_sends.cpp:2441:15: warning[-Wunused-variable]: unused variable ‘commit_enable’
Error: COMPILER_WARNING (CWE-563): [#def1721]
mesa-25.1.0-rc2/src/intel/compiler/brw_lower_regioning.cpp: scope_hint: In function ‘void {anonymous}::lower_src_conversion(brw_shader*, brw_inst*)’
mesa-25.1.0-rc2/src/intel/compiler/brw_lower_regioning.cpp:734:32: warning[-Wunused-variable]: unused variable ‘devinfo’
Error: COMPILER_WARNING (CWE-563): [#def1722]
mesa-25.1.0-rc2/src/intel/compiler/brw_lower_regioning.cpp:741:17: warning[-Wunused-variable]: unused variable ‘mov’
Error: COMPILER_WARNING (CWE-563): [#def1723]
mesa-25.1.0-rc2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c: scope_hint: In function ‘lower_cmat_unary_op’
mesa-25.1.0-rc2/src/intel/compiler/brw_nir_lower_cooperative_matrix.c:418:19: warning[-Wunused-variable]: unused variable ‘src_packing_factor’
Error: COMPILER_WARNING (CWE-563): [#def1724]
mesa-25.1.0-rc2/src/intel/compiler/brw_nir_lower_ray_queries.c: scope_hint: In function ‘register_opaque_var’
mesa-25.1.0-rc2/src/intel/compiler/brw_nir_lower_ray_queries.c:67:23: warning[-Wunused-variable]: unused variable ‘entry’
Error: COMPILER_WARNING (CWE-563): [#def1725]
mesa-25.1.0-rc2/src/intel/compiler/brw_opt_cse.cpp: scope_hint: In function ‘bool brw_opt_cse_defs(brw_shader&)’
mesa-25.1.0-rc2/src/intel/compiler/brw_opt_cse.cpp:467:21: warning[-Wunused-variable]: unused variable ‘ops_must_match’
Error: COMPILER_WARNING (CWE-563): [#def1726]
mesa-25.1.0-rc2/src/intel/compiler/brw_workaround.cpp: scope_hint: In function ‘bool brw_workaround_source_arf_before_eot(brw_shader&)’
mesa-25.1.0-rc2/src/intel/compiler/brw_workaround.cpp:343:11: warning[-Wunused-variable]: unused variable ‘eot_count’
Error: COMPILER_WARNING: [#def1727]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:647:23: warning[-Wunused-const-variable=]: ‘gfx11_datatype_table’ defined but not used
Error: COMPILER_WARNING: [#def1728]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:682:23: warning[-Wunused-const-variable=]: ‘gfx12_control_index_table’ defined but not used
Error: COMPILER_WARNING: [#def1729]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:717:23: warning[-Wunused-const-variable=]: ‘gfx12_datatype_table’ defined but not used
Error: COMPILER_WARNING: [#def1730]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:752:23: warning[-Wunused-const-variable=]: ‘gfx12_subreg_table’ defined but not used
Error: COMPILER_WARNING: [#def1731]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:787:23: warning[-Wunused-const-variable=]: ‘gfx12_src0_index_table’ defined but not used
Error: COMPILER_WARNING: [#def1732]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:806:23: warning[-Wunused-const-variable=]: ‘gfx12_src1_index_table’ defined but not used
Error: COMPILER_WARNING: [#def1733]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:825:23: warning[-Wunused-const-variable=]: ‘xehp_src0_index_table’ defined but not used
Error: COMPILER_WARNING: [#def1734]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:844:23: warning[-Wunused-const-variable=]: ‘xehp_src1_index_table’ defined but not used
Error: COMPILER_WARNING: [#def1735]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:863:23: warning[-Wunused-const-variable=]: ‘xe2_control_index_table’ defined but not used
Error: COMPILER_WARNING: [#def1736]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:898:23: warning[-Wunused-const-variable=]: ‘xe2_datatype_table’ defined but not used
Error: COMPILER_WARNING: [#def1737]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:933:23: warning[-Wunused-const-variable=]: ‘xe2_subreg_table’ defined but not used
Error: COMPILER_WARNING: [#def1738]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:952:23: warning[-Wunused-const-variable=]: ‘xe2_src0_index_table’ defined but not used
Error: COMPILER_WARNING: [#def1739]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_eu_compact.c:963:23: warning[-Wunused-const-variable=]: ‘xe2_src1_index_table’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def1740]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_work_group_id_setup(nir_to_elk_state&)’
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp:163:20: warning[-Wunused-variable]: unused variable ‘s’
Error: COMPILER_WARNING (CWE-563): [#def1741]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_vs_intrinsic(nir_to_elk_state&, nir_intrinsic_instr*)’
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp:2545:20: warning[-Wunused-variable]: unused variable ‘s’
Error: COMPILER_WARNING (CWE-563): [#def1742]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_samplepos_setup(nir_to_elk_state&)’
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp:3424:29: warning[-Wunused-variable]: unused variable ‘devinfo’
Error: COMPILER_WARNING (CWE-563): [#def1743]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg emit_samplemaskin_setup(nir_to_elk_state&)’
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp:3604:29: warning[-Wunused-variable]: unused variable ‘devinfo’
Error: COMPILER_WARNING (CWE-563): [#def1744]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_cs_intrinsic(nir_to_elk_state&, nir_intrinsic_instr*)’
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp:4019:29: warning[-Wunused-variable]: unused variable ‘devinfo’
Error: COMPILER_WARNING (CWE-563): [#def1745]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘elk_fs_reg get_timestamp(const elk::fs_builder&)’
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp:4584:29: warning[-Wunused-variable]: unused variable ‘devinfo’
Error: COMPILER_WARNING (CWE-563): [#def1746]
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp: scope_hint: In function ‘void fs_nir_emit_surface_atomic(nir_to_elk_state&, const elk::fs_builder&, nir_intrinsic_instr*, elk_fs_reg, bool)’
mesa-25.1.0-rc2/src/intel/compiler/elk/elk_fs_nir.cpp:6233:29: warning[-Wunused-variable]: unused variable ‘devinfo’
Error: COMPILER_WARNING (CWE-563): [#def1747]
mesa-25.1.0-rc2/src/intel/isl/isl_tiled_memcpy_normal.c:33: included_from: Included from here.
mesa-25.1.0-rc2/src/intel/isl/isl_tiled_memcpy.c: scope_hint: In function ‘linear_to_tile4’
mesa-25.1.0-rc2/src/intel/isl/isl_tiled_memcpy.c:669:19: warning[-Wunused-variable]: unused variable ‘tile4_blkh’
Error: COMPILER_WARNING (CWE-563): [#def1748]
mesa-25.1.0-rc2/src/intel/isl/isl_tiled_memcpy.c: scope_hint: In function ‘tile4_to_linear’
mesa-25.1.0-rc2/src/intel/isl/isl_tiled_memcpy.c:1089:19: warning[-Wunused-variable]: unused variable ‘tile4_blkh’
Error: COMPILER_WARNING (CWE-563): [#def1749]
mesa-25.1.0-rc2/src/intel/perf/intel_perf.c: scope_hint: In function ‘get_passes_mask’
mesa-25.1.0-rc2/src/intel/perf/intel_perf.c:882:12: warning[-Wunused-but-set-variable]: variable ‘found’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1750]
mesa-25.1.0-rc2/src/intel/perf/xe/intel_perf.c: scope_hint: In function ‘xe_perf_stream_set_metrics_id’
mesa-25.1.0-rc2/src/intel/perf/xe/intel_perf.c:269:11: warning[-Wunused-but-set-variable]: variable ‘ret2’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1751]
mesa-25.1.0-rc2/src/intel/vulkan/anv_descriptor_set.c: scope_hint: In function ‘anv_push_descriptor_set_init’
mesa-25.1.0-rc2/src/intel/vulkan/anv_descriptor_set.c:2074:35: warning[-Wunused-variable]: unused variable ‘pdevice’
Error: COMPILER_WARNING (CWE-563): [#def1752]
mesa-25.1.0-rc2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘add_aux_surface_if_supported’
mesa-25.1.0-rc2/src/intel/vulkan/anv_image.c:715:23: warning[-Wunused-variable]: unused variable ‘aspect’
Error: COMPILER_WARNING (CWE-563): [#def1753]
mesa-25.1.0-rc2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘add_all_surfaces_explicit_layout’
mesa-25.1.0-rc2/src/intel/vulkan/anv_image.c:1327:16: warning[-Wunused-variable]: unused variable ‘n_mod_planes’
Error: COMPILER_WARNING (CWE-563): [#def1754]
mesa-25.1.0-rc2/src/intel/vulkan/anv_image.c: scope_hint: In function ‘anv_get_image_subresource_layout’
mesa-25.1.0-rc2/src/intel/vulkan/anv_image.c:2961:15: warning[-Wunused-variable]: unused variable ‘ok’
Error: COMPILER_WARNING (CWE-563): [#def1755]
mesa-25.1.0-rc2/src/intel/vulkan/anv_queue.c: scope_hint: In function ‘anv_queue_init’
mesa-25.1.0-rc2/src/intel/vulkan/anv_queue.c:72:32: warning[-Wunused-variable]: unused variable ‘pdevice’
Error: COMPILER_WARNING (CWE-563): [#def1756]
mesa-25.1.0-rc2/src/intel/vulkan/genX_blorp_exec.c: scope_hint: In function ‘blorp_exec_on_blitter’
mesa-25.1.0-rc2/src/intel/vulkan/genX_blorp_exec.c:467:27: warning[-Wunused-variable]: unused variable ‘cmd_buffer’
Error: COMPILER_WARNING (CWE-563): [#def1757]
mesa-25.1.0-rc2/src/intel/vulkan/genX_cmd_buffer.c: scope_hint: In function ‘add_pending_pipe_bits_for_color_aux_op’
mesa-25.1.0-rc2/src/intel/vulkan/genX_cmd_buffer.c:2885:11: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1758]
mesa-25.1.0-rc2/src/intel/vulkan/genX_simple_shader.c: scope_hint: In function ‘gfx125_emit_simpler_shader_init_compute’
mesa-25.1.0-rc2/src/intel/vulkan/genX_simple_shader.c:396:35: warning[-Wunused-variable]: unused variable ‘prog_data’
Error: COMPILER_WARNING (CWE-563): [#def1759]
mesa-25.1.0-rc2/src/intel/vulkan/i915/anv_batch_chain.c: scope_hint: In function ‘i915_queue_exec_locked’
mesa-25.1.0-rc2/src/intel/vulkan/i915/anv_batch_chain.c:981:30: warning[-Wunused-variable]: unused variable ‘companion_rcs_cmd_buffer’
Error: COMPILER_WARNING (CWE-563): [#def1760]
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/anv_image.c: scope_hint: In function ‘check_drm_format_mod’
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/anv_image.c:923:40: warning[-Wunused-variable]: unused variable ‘isl_mod_info’
Error: COMPILER_WARNING (CWE-563): [#def1761]
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/anv_image.c: scope_hint: In function ‘anv_layout_to_aux_state’
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/anv_image.c:1959:9: warning[-Wunused-but-set-variable]: variable ‘aux_supported’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1762]
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/anv_pipeline.c: scope_hint: In function ‘anv_pipeline_compile_cs’
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/anv_pipeline.c:1438:43: warning[-Wunused-variable]: unused variable ‘sinfo’
Error: COMPILER_WARNING (CWE-563): [#def1763]
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/genX_cmd_buffer.c:926:40: warning[-Wunused-variable]: unused variable ‘isl_mod_info’
Error: COMPILER_WARNING (CWE-563): [#def1764]
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/genX_cmd_buffer.c: scope_hint: In function ‘transition_color_buffer’
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/genX_cmd_buffer.c:1124:23: warning[-Wunused-but-set-variable]: variable ‘final_aux_usage’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1765]
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/genX_pipeline.c: scope_hint: In function ‘emit_vertex_input’
mesa-25.1.0-rc2/src/intel/vulkan_hasvk/genX_pipeline.c:159:16: warning[-Wunused-variable]: unused variable ‘binding’
Error: COMPILER_WARNING (CWE-563): [#def1766]
mesa-25.1.0-rc2/src/mesa/state_tracker/st_nir_unlower_io_to_vars.c: scope_hint: In function ‘create_vars’
mesa-25.1.0-rc2/src/mesa/state_tracker/st_nir_unlower_io_to_vars.c:279:22: warning[-Wunused-but-set-variable]: variable ‘component’ set but not used
Error: COMPILER_WARNING: [#def1767]
mesa-25.1.0-rc2/src/nouveau/mme/mme_tu104_sim.c:113:32: warning[-Warray-bounds=]: array subscript 4294967295 is above array bounds of ‘const uint16_t[2]’ {aka ‘const short unsigned int[2]’}
mesa-25.1.0-rc2/src/nouveau/mme/mme_tu104.h: scope_hint: In function ‘mme_tu104_sim_core’
mesa-25.1.0-rc2/src/nouveau/mme/mme_tu104.h:162:13: note: while referencing ‘imm’
Error: COMPILER_WARNING: [#def1768]
mesa-25.1.0-rc2/src/nouveau/mme/mme_tu104_sim.c:117:32: warning[-Warray-bounds=]: array subscript 2 is above array bounds of ‘const uint16_t[2]’ {aka ‘const short unsigned int[2]’}
mesa-25.1.0-rc2/src/nouveau/mme/mme_tu104_sim.c:9: included_from: Included from here.
mesa-25.1.0-rc2/src/nouveau/mme/mme_tu104.h: scope_hint: In function ‘mme_tu104_sim_core’
mesa-25.1.0-rc2/src/nouveau/mme/mme_tu104.h:162:13: note: while referencing ‘imm’
Error: COMPILER_WARNING (CWE-563): [#def1769]
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_copy.c: scope_hint: In function ‘to_90b5_remap_comp_size’
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_copy.c:143:25: warning[-Wunused-variable]: unused variable ‘to_90b5’
Error: COMPILER_WARNING (CWE-563): [#def1770]
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_copy.c: scope_hint: In function ‘to_90b5_remap_num_comps’
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_copy.c:159:25: warning[-Wunused-variable]: unused variable ‘to_90b5’
Error: COMPILER_WARNING (CWE-563): [#def1771]
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_draw.c: scope_hint: In function ‘nvk_mme_set_shading_rate_control_test_check’
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_draw.c:2353:9: warning[-Wunused-variable]: unused variable ‘enable’
Error: COMPILER_WARNING (CWE-563): [#def1772]
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_draw.c:3646:19: warning[-Wunused-variable]: unused variable ‘vb_idx’
Error: COMPILER_WARNING (CWE-563): [#def1773]
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_draw.c: scope_hint: In function ‘nvk_mme_bind_vb_test_check’
mesa-25.1.0-rc2/src/nouveau/vulkan/nvk_cmd_draw.c:3673:22: warning[-Wunused-variable]: unused variable ‘limit’
Error: COMPILER_WARNING (CWE-563): [#def1774]
mesa-25.1.0-rc2/src/nouveau/winsys/nouveau_context.c: scope_hint: In function ‘nouveau_ws_channel_dealloc’
mesa-25.1.0-rc2/src/nouveau/winsys/nouveau_context.c:119:8: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1775]
mesa-25.1.0-rc2/src/panfrost/compiler/bifrost_compile.c: scope_hint: In function ‘bi_emit_image_store’
mesa-25.1.0-rc2/src/panfrost/compiler/bifrost_compile.c:1753:17: warning[-Wunused-variable]: unused variable ‘T’
Error: COMPILER_WARNING (CWE-563): [#def1776]
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c: scope_hint: In function ‘get_tiler_desc’
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c:839:16: warning[-Wunused-variable]: unused variable ‘max_levels’
Error: COMPILER_WARNING (CWE-563): [#def1777]
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c: scope_hint: In function ‘prepare_draw’
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c:1882:9: warning[-Wunused-variable]: unused variable ‘idvs’
Error: COMPILER_WARNING (CWE-563): [#def1778]
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c: scope_hint: In function ‘panvk_v10_CmdBeginRendering’
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_cmd_draw.c:2450:37: warning[-Wunused-variable]: unused variable ‘state’
Error: COMPILER_WARNING (CWE-563): [#def1779]
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit_process_signals’
mesa-25.1.0-rc2/src/panfrost/vulkan/csf/panvk_vX_queue.c:1080:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1780]
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_submit_batch’
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c:43:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1781]
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_queue_transfer_sync’
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c:141:8: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def1782]
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_signal_event_syncobjs’
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c:200:14: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1783]
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c: scope_hint: In function ‘panvk_v6_QueueWaitIdle’
mesa-25.1.0-rc2/src/panfrost/vulkan/jm/panvk_vX_queue.c:351:8: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def1784]
mesa-25.1.0-rc2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘get_img_index’
mesa-25.1.0-rc2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:816:54: warning[-Wunused-variable]: unused variable ‘bind_layout’
Error: COMPILER_WARNING (CWE-563): [#def1785]
mesa-25.1.0-rc2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1121:13: warning[-Wunused-variable]: unused variable ‘desc_stride’
Error: COMPILER_WARNING (CWE-563): [#def1786]
mesa-25.1.0-rc2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c: scope_hint: In function ‘record_binding’
mesa-25.1.0-rc2/src/panfrost/vulkan/panvk_vX_nir_lower_descriptors.c:1122:13: warning[-Wunused-variable]: unused variable ‘max_desc_stride’
Error: CPPCHECK_WARNING (CWE-457): [#def1787]
mesa-25.1.0-rc2/src/util/blake3/blake3.c:186: warning[uninitvar]: Uninitialized variable: chunks_array
Error: CPPCHECK_WARNING (CWE-457): [#def1788]
mesa-25.1.0-rc2/src/util/blake3/blake3.c:229: warning[uninitvar]: Uninitialized variable: parents_array
Error: CPPCHECK_WARNING (CWE-758): [#def1789]
mesa-25.1.0-rc2/src/util/softfloat.c:138: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1790]
mesa-25.1.0-rc2/src/util/softfloat.c:148: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1791]
mesa-25.1.0-rc2/src/util/softfloat.c:168: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1792]
mesa-25.1.0-rc2/src/util/softfloat.c:181: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1793]
mesa-25.1.0-rc2/src/util/softfloat.c:546: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1794]
mesa-25.1.0-rc2/src/util/softfloat.c:694: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1795]
mesa-25.1.0-rc2/src/util/softfloat.c:722: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1796]
mesa-25.1.0-rc2/src/util/softfloat.c:837: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1797]
mesa-25.1.0-rc2/src/util/softfloat.c:843: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1798]
mesa-25.1.0-rc2/src/util/softfloat.c:856: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1799]
mesa-25.1.0-rc2/src/util/softfloat.c:862: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1800]
mesa-25.1.0-rc2/src/util/softfloat.c:870: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1801]
mesa-25.1.0-rc2/src/util/softfloat.c:879: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1802]
mesa-25.1.0-rc2/src/util/softfloat.c:951: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1803]
mesa-25.1.0-rc2/src/util/softfloat.c:959: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1804]
mesa-25.1.0-rc2/src/util/softfloat.c:966: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1805]
mesa-25.1.0-rc2/src/util/softfloat.c:983: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1806]
mesa-25.1.0-rc2/src/util/softfloat.c:991: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1807]
mesa-25.1.0-rc2/src/util/softfloat.c:998: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1808]
mesa-25.1.0-rc2/src/util/softfloat.c:1123: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1809]
mesa-25.1.0-rc2/src/util/softfloat.c:1216: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1810]
mesa-25.1.0-rc2/src/util/softfloat.c:1224: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1811]
mesa-25.1.0-rc2/src/util/softfloat.c:1231: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1812]
mesa-25.1.0-rc2/src/util/softfloat.c:1248: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1813]
mesa-25.1.0-rc2/src/util/softfloat.c:1256: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1814]
mesa-25.1.0-rc2/src/util/softfloat.c:1263: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1815]
mesa-25.1.0-rc2/src/util/softfloat.c:1337: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1816]
mesa-25.1.0-rc2/src/util/softfloat.c:1384: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1817]
mesa-25.1.0-rc2/src/util/softfloat.c:1391: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1818]
mesa-25.1.0-rc2/src/util/softfloat.c:1399: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1819]
mesa-25.1.0-rc2/src/util/softfloat.c:1408: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-476): [#def1820]
mesa-25.1.0-rc2/src/util/u_queue.c:325: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: input
Error: CPPCHECK_WARNING (CWE-476): [#def1821]
mesa-25.1.0-rc2/src/util/u_queue.c:326: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: input
Error: CPPCHECK_WARNING (CWE-476): [#def1822]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:76: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vtdev
Error: CPPCHECK_WARNING (CWE-476): [#def1823]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:796: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vtdev
Error: CPPCHECK_WARNING (CWE-476): [#def1824]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:804: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vtdev
Error: CPPCHECK_WARNING (CWE-476): [#def1825]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:807: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vtdev
Error: CPPCHECK_WARNING (CWE-476): [#def1826]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:812: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vtdev
Error: CPPCHECK_WARNING (CWE-758): [#def1827]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1052: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1828]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1070: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1829]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1084: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1830]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1187: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1831]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1206: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1832]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1220: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-476): [#def1833]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1312: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def1834]
mesa-25.1.0-rc2/src/virtio/vdrm/vdrm_vpipe.c:1332: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: COMPILER_WARNING (CWE-563): [#def1835]
mesa-25.1.0-rc2/src/virtio/vulkan/vn_queue.c: scope_hint: In function ‘vn_GetFenceFdKHR’
mesa-25.1.0-rc2/src/virtio/vulkan/vn_queue.c:1834:15: warning[-Wunused-variable]: unused variable ‘sync_file’
Error: COMPILER_WARNING (CWE-563): [#def1836]
mesa-25.1.0-rc2/src/virtio/vulkan/vn_queue.c: scope_hint: In function ‘vn_GetSemaphoreFdKHR’
mesa-25.1.0-rc2/src/virtio/vulkan/vn_queue.c:2302:15: warning[-Wunused-variable]: unused variable ‘sync_file’
Error: COMPILER_WARNING (CWE-563): [#def1837]
mesa-25.1.0-rc2/src/virtio/vulkan/vn_wsi.c: scope_hint: In function ‘vn_wsi_create_image’
mesa-25.1.0-rc2/src/virtio/vulkan/vn_wsi.c:124:56: warning[-Wunused-variable]: unused variable ‘modifier_info’
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-158.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.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | mesa-25.1.0~rc2-2.fc43 |
store-results-to | /tmp/tmp6ml64bzx/mesa-25.1.0~rc2-2.fc43.tar.xz |
time-created | 2025-04-25 15:02:54 |
time-finished | 2025-04-25 15:44:51 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp6ml64bzx/mesa-25.1.0~rc2-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp6ml64bzx/mesa-25.1.0~rc2-2.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |