From c88359b37931496eef21c4d1ad08b885fcfdce93 Mon Sep 17 00:00:00 2001 From: Ranveer Soni Date: Tue, 24 Nov 2026 11:37:34 +0530 Subject: [PATCH] stuff --- .gitignore | 1 + CHANGELOG.md | 26 ++++++++++++++++++++++++++ crates/loader/src/cpu.rs | 1 + 3 files changed, 28 insertions(+) diff --git a/.gitignore b/.gitignore index e14ff9c3..60f453ce 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ __pycache__/ *.pyc /diagnostics/gta6-candidate-*/ +/diagnostics/gta6-check/ diff --git a/CHANGELOG.md b/CHANGELOG.md index e282ffd8..6fac0705 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,32 @@ exact revision and known limitations. Guest execution uses original, purpose-built test programs. Commercial Xbox game execution remains unsupported. +### Added + +- Added `dbt::tests::sib_store_executes_through_the_native_dbt`, an independent DBT execution + test that runs the SIB store form `mov [rsp + 0x20], rbx` through the native ARM64 DBT and + verifies the value lands in guest memory. +- Added 8/16-bit MOV memory-operand support (opcodes 0x88/0x8A, register-to-memory and + memory-to-register) to the native ARM64 DBT. +- Added GS/FS legacy segment prefix support to the native DBT and the bounded x86-64 + interpreter, including `CpuState.gs_base`/`CpuState.fs_base` offsets added to the effective + address computation. +- Added Win64 TEB allocation and `gs_base` initialization to synthetic guest startup. + +### Changed + +- The static PE probe now marks x86-64 SIB memory addressing as DBT-supported, matching the + native DBT. + +### Fixed + +- Updated `test_probe_static_analysis_does_not_execute_code`: the SIB store `mov [rsp + 0x20], + rbx` at RVA 0x1004 is now genuinely supported by the native DBT (verified by the independent + execution test above), so the probe reports no blocker for this program. +- Added `test_probe_static_analysis_detects_genuinely_unsupported_instruction` with a new + synthetic fixture containing an INT3 at RVA 0x1004, preserving blocker-detection coverage + for genuinely unsupported DBT instructions. + ## [X18] - Automated Import Compatibility Generation & Metadata Ingestion Guest execution uses original, purpose-built test programs. Commercial Xbox game execution diff --git a/crates/loader/src/cpu.rs b/crates/loader/src/cpu.rs index 752c0f14..dc9110a0 100644 --- a/crates/loader/src/cpu.rs +++ b/crates/loader/src/cpu.rs @@ -530,6 +530,7 @@ impl<'a> Interpreter<'a> { Ok((Register::from_index(reg_idx), Register::from_index(rm_idx))) } + #[allow(clippy::too_many_arguments)] fn execute_mov_rm( &mut self, modrm: u8,