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 f5ba3a31..3515d086 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,29 @@ remains unsupported. - Added complete gfx1030 instruction metadata generated from AMD's public RDNA 2 XML: 1,460 base forms across 21 encoding families with fields, operands, flags and allowed extension words. A committed, normalised snapshot lets `crates/isa/generate_rdna2_meta.py --check` verify the generated table offline; CI runs it. - Added `xenora_isa::meta::identify`, which finds any gfx1030 instruction's form and exact length, including literal, SDWA, DPP and NSA words, and rejects truncated, unassigned and disallowed-extension encodings. It agrees with every LLVM-assembled fixture. Identification does not make an instruction executable: 25 forms have semantic decoding. - Added `xenora shaders coverage [--json]` and `xenora shaders inspect ` for per-family coverage and stream listings that separate decoding failures from unsupported semantics. +- 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 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,