Files
Joseph Doherty fe2a6db786
rust / build / test / clippy / fmt (push) Has been cancelled
Initial project state: .NET reference, design, Rust port (M0+M1), evidence
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>
2026-05-05 06:21:00 -04:00

18 lines
2.9 KiB
Plaintext

2026-04-25T06:56:34.0551683+00:00 harness.start {"Scenario":"write-secured","ClientName":"MxFridaTrace-036-frida-write-secured-test-int","Tags":["TestChildObject.TestInt"],"WriteType":"int","WriteValue":"112","WriteValues":[],"UserId":1,"CurrentUserId":1,"VerifierUserId":0,"WriteTimestamp":"","WriteDelayMilliseconds":1000,"WriteIntervalMilliseconds":500,"DurationSeconds":5,"ProcessBitness":"x86","Runtime":"4.0.30319.42000"}
2026-04-25T06:56:41.0884902+00:00 mx.register.begin {"ClientName":"MxFridaTrace-036-frida-write-secured-test-int"}
2026-04-25T06:56:41.4734387+00:00 mx.register.end {"SessionHandle":1}
2026-04-25T06:56:41.4744189+00:00 mx.additem.begin {"Tag":"TestChildObject.TestInt"}
2026-04-25T06:56:41.4754130+00:00 mx.additem.end {"Tag":"TestChildObject.TestInt","ItemHandle":1}
2026-04-25T06:56:41.4780143+00:00 mx.advise-supervisory.begin {"Tag":"TestChildObject.TestInt","ItemHandle":1}
2026-04-25T06:56:41.4801610+00:00 mx.advise-supervisory.end {"Tag":"TestChildObject.TestInt","ItemHandle":1}
2026-04-25T06:56:41.7406838+00:00 mx.event.data-change {"SessionHandle":1,"ItemHandle":1,"Value":{"Type":"System.Int32","Value":"111"},"Quality":192,"Timestamp":{"Type":"System.String","Value":"4/25/2026 2:19:01.369 AM"},"Status":[{"Success":-1,"Category":"MxCategoryOk","Source":"MxSourceRequestingLmx","Detail":0}]}
2026-04-25T06:56:42.5261037+00:00 mx.write.begin {"Tag":"TestChildObject.TestInt","ItemHandle":1,"WriteIndex":0,"Value":{"Type":"System.Int32","Value":"112"},"UserId":1,"CurrentUserId":1,"VerifierUserId":0,"WriteTimestamp":""}
2026-04-25T06:56:42.5500928+00:00 mx.item.error {"Payload":{"Tag":"TestChildObject.TestInt"},"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:56:47.5711721+00:00 mx.unadvise.begin {"Tag":"TestChildObject.TestInt","ItemHandle":1}
2026-04-25T06:56:47.5721691+00:00 mx.unadvise.end {"Tag":"TestChildObject.TestInt","ItemHandle":1}
2026-04-25T06:56:47.5721691+00:00 mx.removeitem.begin {"Tag":"TestChildObject.TestInt","ItemHandle":1}
2026-04-25T06:56:47.5721691+00:00 mx.removeitem.end {"Tag":"TestChildObject.TestInt","ItemHandle":1}
2026-04-25T06:56:47.5721691+00:00 mx.unregister.begin {"SessionHandle":1}
2026-04-25T06:56:51.5163142+00:00 mx.unregister.end {"SessionHandle":1}
2026-04-25T06:56:51.5223559+00:00 harness.stop {}