Rust reimplementation of the xenia Xbox 360 emulator targeting reverse- engineering and preservation, initially scoped to Project Sylpheed. Includes: - XEX2 loader (LZX decompression, AES decryption, PE parsing) - XISO / XGD2 disc image VFS - PPC interpreter with 200+ opcodes and VMX128 decoding - Static analyzer: functions, cross-references, labels, asm + SQLite output - HLE kernel covering the xboxkrnl/xam subset used by Sylpheed init - Debugger with in-memory and SQLite-backed execution tracing - `xenia-rs` CLI with extract/dis/exec commands that produce cumulative, superset SQLite databases and opt-in instruction/import/branch traces Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
10 lines
255 B
Rust
10 lines
255 B
Rust
/// A single entry in the instruction trace log.
|
|
#[derive(Debug, Clone)]
|
|
pub struct TraceEntry {
|
|
pub pc: u32,
|
|
pub cycle: u64,
|
|
/// Snapshot of key GPRs: [r0, r1(sp), r3(arg0/retval), r4(arg1)]
|
|
pub gpr_snapshot: [u64; 4],
|
|
pub lr: u64,
|
|
}
|