mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 01:00:53 +01:00
[PR #1519] vk_fuzz_run: --pc-tail-ubo under LEONIDA_PC_TAIL_UBO, VK_FUZZ_SKIP_CRASH for driver crashes #1548
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1548
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1519
Author: @whoalin1
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:vk-fuzz-run-pctail📝 Commits (2)
a1302c4vk_fuzz_run: --pc-tail-ubo under LEONIDA_PC_TAIL_UBO, VK_FUZZ_SKIP_CRASH for driver crashes383650dvk_fuzz_run: document and cover crash skips across signal exits📊 Changes
2 files changed (+89 additions, -2 deletions)
View changed files
📝
tests/test_vk_fuzz_run.py(+71 -1)📝
tools/vk_fuzz_run.py(+18 -1)📄 Description
Claimed in the coordination issue: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7151670929
What
Two small
tools/vk_fuzz_run.pyadditions found during overnight fuzzing on 128-byte-push-constant and crash-prone drivers:LEONIDA_PC_TAIL_UBO→--pc-tail-ubo: when the env var is truthy (1/true/yes/on, same convention asimage_fuzz/lds_fuzz/valu_fuzz), the flag is appended to therdna2spirv.pycall so translated shaders fit 128-byte push-constant devices. The variable reachesvk_compute_testvia the inherited env, so both sides agree on the layout.VK_FUZZ_SKIP_CRASH=1: recordsvk_compute_testcrashes (any exit other than 0/1/2/77 — e.g. the0xC0000005driver crashes seen on the AMD Windows Vulkan driver for ~2% of fuzz programs) as skips instead of aborting the whole batch. Harness errors (exit 1/2) stay fatal.Tested
tests/test_vk_fuzz_run.py: 17 tests OK — new tests pin flag→translator-cmd, env→harness propagation, flag absent when unset, crash→skip, and exits 1+2 staying fatal underVK_FUZZ_SKIP_CRASH=1.compileallclean;check_no_game_data.pyclean.AI-assisted (Devin).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.