Files
mxaccess/analysis/frida/write-body-matrix.tsv
T
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

1.9 KiB

1capturetagtypevaluescom_variant_typecom_value_carrierputrequest_sizeputrequest_value_offsetputrequest_encodingtransferdata_sizetransferdata_value_offsetprocessdatareceived_sizeprocessdatareceived_value_offsetprocessdatareceived_encodingnotes
2023-frida-write-test-int-sequence-109-111TestChildObject.TestIntint109,110,111VT_I4/0x3args[5] int324018int32 little-endian86648884int32 little-endianTransferData offset is 46-byte wrapper plus inner offset 18.
3024-frida-write-test-bool-sequenceTestChildObject.TestBoolbooltrue,false,trueVT_BOOL/0xbargs[5] VARIANT_BOOL, true=0xffff false=0x000037184-byte slot: true ff ff ff 00, false 00 ff ff 0083648584data-change body final byte: true ff, false 00A separate 51-byte status-like ProcessDataReceived body appears after each write; the bool data-change value is in the 85-byte body.
4025-frida-write-test-float-sequenceTestChildObject.TestFloatfloat1.25,2.5,3.75VT_R4/0x4args[5] float32 bits4018float32 little-endian86648884float32 little-endianSame 40-byte write body shape as int with scalar slot retyped.
5026-frida-write-test-double-sequenceTestChildObject.TestDoubledouble1.125,2.25,4.5VT_R8/0x5args[5]/args[6] float64 bits4418float64 little-endian90649284float64 little-endianBody grows by 4 bytes relative to int/float.
6027-frida-write-test-string-sequenceTestChildObject.TestStringstringAlphaMX,BetaMX,GammaMXVT_BSTR/0x8BSTR pointer58 or 6026UTF-16LE string bytes104 or 10672106 or 10892UTF-16LE string bytesSize depends on string length; value starts 8 bytes later than numeric slot.
7028-frida-write-test-datetime-sequenceTestChildObject.TestDateTimedatetime2026-04-25T02:30:00,2026-04-25T02:31:00,2026-04-25T02:32:00VT_DATE/0x7args[5]/args[6] OLE Automation DATE double8626UTF-16LE display string, e.g. 4/25/2026 2:30:00 AM132729888FILETIME little-endianOutbound datetime is formatted as a string, while callback/update uses FILETIME.