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

34 lines
4.1 KiB
Plaintext

2026-04-25T05:12:25.5755765+00:00 harness.start {"Scenario":"subscribe","ClientName":"MxProtoTraceHarness-013-loopback-subscribe-scalars","Tags":["TestChildObject.TestBool","TestChildObject.TestInt","TestChildObject.TestString"],"WriteType":"string","WriteValue":"","UserId":0,"WriteDelayMilliseconds":750,"DurationSeconds":8,"ProcessBitness":"x86","Runtime":"4.0.30319.42000"}
2026-04-25T05:12:32.7250086+00:00 mx.register.begin {"ClientName":"MxProtoTraceHarness-013-loopback-subscribe-scalars"}
2026-04-25T05:12:33.0881533+00:00 mx.register.end {"SessionHandle":1}
2026-04-25T05:12:33.0881533+00:00 mx.additem.begin {"Tag":"TestChildObject.TestBool"}
2026-04-25T05:12:33.0901507+00:00 mx.additem.end {"Tag":"TestChildObject.TestBool","ItemHandle":1}
2026-04-25T05:12:33.0911320+00:00 mx.advise-supervisory.begin {"Tag":"TestChildObject.TestBool","ItemHandle":1}
2026-04-25T05:12:33.0921487+00:00 mx.advise-supervisory.end {"Tag":"TestChildObject.TestBool","ItemHandle":1}
2026-04-25T05:12:33.0921487+00:00 mx.additem.begin {"Tag":"TestChildObject.TestInt"}
2026-04-25T05:12:33.0921487+00:00 mx.additem.end {"Tag":"TestChildObject.TestInt","ItemHandle":2}
2026-04-25T05:12:33.0921487+00:00 mx.advise-supervisory.begin {"Tag":"TestChildObject.TestInt","ItemHandle":2}
2026-04-25T05:12:33.0921487+00:00 mx.advise-supervisory.end {"Tag":"TestChildObject.TestInt","ItemHandle":2}
2026-04-25T05:12:33.0921487+00:00 mx.additem.begin {"Tag":"TestChildObject.TestString"}
2026-04-25T05:12:33.0921487+00:00 mx.additem.end {"Tag":"TestChildObject.TestString","ItemHandle":3}
2026-04-25T05:12:33.0921487+00:00 mx.advise-supervisory.begin {"Tag":"TestChildObject.TestString","ItemHandle":3}
2026-04-25T05:12:33.0921487+00:00 mx.advise-supervisory.end {"Tag":"TestChildObject.TestString","ItemHandle":3}
2026-04-25T05:12:33.3341294+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.907 PM"},"Status":[{"Success":-1,"Category":"MxCategoryOk","Source":"MxSourceRequestingLmx","Detail":0}]}
2026-04-25T05:12:33.3371281+00:00 mx.event.data-change {"SessionHandle":1,"ItemHandle":2,"Value":{"Type":"System.Int32","Value":"99"},"Quality":192,"Timestamp":{"Type":"System.String","Value":"3/26/2026 1:38:22.907 PM"},"Status":[{"Success":-1,"Category":"MxCategoryOk","Source":"MxSourceRequestingLmx","Detail":0}]}
2026-04-25T05:12:33.3381587+00:00 mx.event.data-change {"SessionHandle":1,"ItemHandle":3,"Value":{"Type":"System.String","Value":"HelloFromOpcUa"},"Quality":192,"Timestamp":{"Type":"System.String","Value":"3/26/2026 1:38:22.907 PM"},"Status":[{"Success":-1,"Category":"MxCategoryOk","Source":"MxSourceRequestingLmx","Detail":0}]}
2026-04-25T05:12:41.1087214+00:00 mx.unadvise.begin {"Tag":"TestChildObject.TestString","ItemHandle":3}
2026-04-25T05:12:41.1087214+00:00 mx.unadvise.end {"Tag":"TestChildObject.TestString","ItemHandle":3}
2026-04-25T05:12:41.1097129+00:00 mx.removeitem.begin {"Tag":"TestChildObject.TestString","ItemHandle":3}
2026-04-25T05:12:41.1097129+00:00 mx.removeitem.end {"Tag":"TestChildObject.TestString","ItemHandle":3}
2026-04-25T05:12:41.1097129+00:00 mx.unadvise.begin {"Tag":"TestChildObject.TestInt","ItemHandle":2}
2026-04-25T05:12:41.1097129+00:00 mx.unadvise.end {"Tag":"TestChildObject.TestInt","ItemHandle":2}
2026-04-25T05:12:41.1097129+00:00 mx.removeitem.begin {"Tag":"TestChildObject.TestInt","ItemHandle":2}
2026-04-25T05:12:41.1097129+00:00 mx.removeitem.end {"Tag":"TestChildObject.TestInt","ItemHandle":2}
2026-04-25T05:12:41.1097129+00:00 mx.unadvise.begin {"Tag":"TestChildObject.TestBool","ItemHandle":1}
2026-04-25T05:12:41.1097129+00:00 mx.unadvise.end {"Tag":"TestChildObject.TestBool","ItemHandle":1}
2026-04-25T05:12:41.1107174+00:00 mx.removeitem.begin {"Tag":"TestChildObject.TestBool","ItemHandle":1}
2026-04-25T05:12:41.1107174+00:00 mx.removeitem.end {"Tag":"TestChildObject.TestBool","ItemHandle":1}
2026-04-25T05:12:41.1107174+00:00 mx.unregister.begin {"SessionHandle":1}
2026-04-25T05:12:45.1709044+00:00 mx.unregister.end {"SessionHandle":1}
2026-04-25T05:12:45.1769039+00:00 harness.stop {}