fe2a6db786
rust / build / test / clippy / fmt (push) Has been cancelled
Layout:
- src/ .NET 10 x64 reference: MxNativeCodec, MxNativeClient,
MxAsbClient, probes, tests, harnesses. Executable spec.
- design/ Architectural plan for the Rust port (M0–M6), error
model, protocol invariants, risks (R1–R16), adversarial
review log (review.md).
- rust/ Rust workspace. M0 skeleton + M1 codec parity.
mxaccess-codec: 215 unit tests + 2 cross-implementation
parity tests (byte-identical against .NET reference).
Other crates are M0 stubs awaiting M2+.
- captures/ Frida + netsh + pcap evidence per CLAUDE.md
("captures are evidence, not throwaway logs").
- analysis/ Decompiled C# (frida/proxy/decompiled-*),
Ghidra exports for native DLLs (`exports/` only —
working state at `projects/` and AVEVA's input
binaries at `input/` are gitignored).
- docs/ Reverse-engineering reference docs.
- tools/ Setup-LiveProbeEnv.ps1 (Infisical credential fetcher),
Compute-Crc.ps1 (.NET parity helper).
- .github/workflows/ Rust CI: fmt + build + test + clippy on Windows.
- LICENSE MIT (Joseph Doherty, 2026).
Verified:
- cargo test --workspace → 217 passed (215 unit + 2 .NET parity), 0 failed
- cargo clippy --workspace -- -D warnings → clean
- cargo fmt --all -- --check → clean
- cargo publish --dry-run -p mxaccess-codec → packages cleanly
Excluded from history (see .gitignore):
- **/bin, **/obj, **/target — build artifacts
- analysis/ghidra/projects/ — Ghidra working state (regenerable)
- analysis/ghidra/input/ — AVEVA proprietary DLLs (vendor IP)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
18 lines
3.0 KiB
Plaintext
18 lines
3.0 KiB
Plaintext
2026-04-25T06:58:53.6301450+00:00 harness.start {"Scenario":"write-secured","ClientName":"MxFridaTrace-038-frida-write-secured-protectedvalue","Tags":["TestMachine_001.ProtectedValue"],"WriteType":"bool","WriteValue":"true","WriteValues":[],"UserId":1,"CurrentUserId":1,"VerifierUserId":0,"WriteTimestamp":"","WriteDelayMilliseconds":1000,"WriteIntervalMilliseconds":500,"DurationSeconds":5,"ProcessBitness":"x86","Runtime":"4.0.30319.42000"}
|
|
2026-04-25T06:59:00.9358669+00:00 mx.register.begin {"ClientName":"MxFridaTrace-038-frida-write-secured-protectedvalue"}
|
|
2026-04-25T06:59:01.3058533+00:00 mx.register.end {"SessionHandle":1}
|
|
2026-04-25T06:59:01.3058533+00:00 mx.additem.begin {"Tag":"TestMachine_001.ProtectedValue"}
|
|
2026-04-25T06:59:01.3089076+00:00 mx.additem.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-25T06:59:01.3089076+00:00 mx.advise-supervisory.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-25T06:59:01.3108537+00:00 mx.advise-supervisory.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-25T06:59:01.5692785+00:00 mx.event.data-change {"SessionHandle":1,"ItemHandle":1,"Value":{"Type":"System.Boolean","Value":"False"},"Quality":192,"Timestamp":{"Type":"System.String","Value":"3/26/2026 1:38:22.909 PM"},"Status":[{"Success":-1,"Category":"MxCategoryOk","Source":"MxSourceRequestingLmx","Detail":0}]}
|
|
2026-04-25T06:59:02.3524352+00:00 mx.write.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1,"WriteIndex":0,"Value":{"Type":"System.Boolean","Value":"True"},"UserId":1,"CurrentUserId":1,"VerifierUserId":0,"WriteTimestamp":""}
|
|
2026-04-25T06:59:02.3773919+00:00 mx.item.error {"Payload":{"Tag":"TestMachine_001.ProtectedValue"},"Exception":"System.Runtime.InteropServices.COMException","Message":"The operation attempted is not supported. (Exception from HRESULT: 0x80004021)","HResult":"0x80004021","StackTrace":" at ArchestrA.MxAccess.LMXProxyServerClass.WriteSecured(Int32 hLMXServerHandle, Int32 hItem, Int32 CurrentUserID, Int32 VerifierUserID, Object pItemValue)\r\n at MxTraceHarness.Program.InvokeWrite(LMXProxyServerClass proxy, Int32 sessionHandle, Int32 itemHandle, Object writeValue, Options options) in C:\\Users\\dohertj2\\Desktop\\mxaccess\\src\\MxTraceHarness\\Program.cs:line 237\r\n at MxTraceHarness.Program.Main(String[] args) in C:\\Users\\dohertj2\\Desktop\\mxaccess\\src\\MxTraceHarness\\Program.cs:line 100"}
|
|
2026-04-25T06:59:07.3939312+00:00 mx.unadvise.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-25T06:59:07.3949487+00:00 mx.unadvise.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-25T06:59:07.3949487+00:00 mx.removeitem.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-25T06:59:07.3949487+00:00 mx.removeitem.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-25T06:59:07.3949487+00:00 mx.unregister.begin {"SessionHandle":1}
|
|
2026-04-25T06:59:11.5396662+00:00 mx.unregister.end {"SessionHandle":1}
|
|
2026-04-25T06:59:11.5476477+00:00 harness.stop {}
|