mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #1115] boot_trace: skip unparseable D3D12 sequence fields (D3D12-TRACE-SEQUENCE-LIMIT) #1150
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#1150
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/1115
Author: @Taffyyy-ops
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/d3d12-trace-sequence-limit📝 Commits (1)
6bceb77boot_trace: skip unparseable D3D12 sequence fields (D3D12-TRACE-SEQUENCE-LIMIT)📊 Changes
2 files changed (+69 additions, -1 deletions)
View changed files
➕
tests/test_boot_trace_sequence_limit.py(+61 -0)📝
tools/boot_trace.py(+8 -1)📄 Description
Item ID:
D3D12-TRACE-SEQUENCE-LIMITHardens
tools/boot_trace.py:parse_d3d12()against corrupted D3D12 trace sequence numbers whose digit count exceedssys.get_int_max_str_digits().Changes
tools/boot_trace.py(parse_d3d12): Wrapsint(match.group(1))intry ... except ValueError, treating oversized/unparseable sequence fields asignored_linesinstead of aborting trace parsing, while preserving subsequent valid trace calls.tests/test_boot_trace_sequence_limit.py: Adds synthetic unit tests verifying that malformed oversized sequence lines are ignored without losing valid calls before/after or breaking sequence gap accounting.Verification
python -I scripts/check_no_game_data.py).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.