mirror of
https://github.com/tiennm99/time-mocker.git
synced 2026-10-11 12:28:57 +00:00
Rust workspace with three crates: - time-mocker-core: shared MockTimeInfo + named MMF helper + FILETIME helpers - time-mocker-hook: cdylib injected into targets; inline detours via retour on GetSystemTime / GetLocalTime / GetSystemTimeAsFileTime / GetSystemTimePreciseAsFileTime / NtQuerySystemTime - time-mocker-ui: egui controller with process list, time picker, and glob/regex auto-inject rules; injects via dll-syringe; UAC manifest embedded in release builds IPC: 8-byte MMF named TimeMocker_<pid> holding an i64 delta in FILETIME ticks. Hook adds delta to the real FILETIME on every call. Note this differs from the C# version's .NET-tick delta -- contracts are not interoperable. Requires nightly toolchain (retour uses unboxed_closures / tuple_trait); pinned via rust-toolchain.toml.
26 lines
214 B
Plaintext
26 lines
214 B
Plaintext
# Rust
|
|
/target/
|
|
**/*.rs.bk
|
|
*.pdb
|
|
Cargo.lock.bak
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Local config
|
|
.env
|
|
.env.local
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# Plans (we keep the C# project's plans separate)
|
|
/plans/
|