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

2.8 KiB

1capturetagtypevaluescom_variant_typeputrequest_sizeputrequest_first_value_offsettransferdata_sizetransferdata_first_value_offsetprocessdatareceived_sizeprocessdatareceived_first_value_offsetprocessdatareceived_encodingarray_kind_byteelement_countelement_width_or_codearray_descriptor_hexnotes
2029-frida-write-test-int-arrayTestChildObject.TestIntArray[]int[]201;202;203;204;205;206;207;208;209;210SAFEARRAY VT_I4/0x200386281327413494int32 little-endian0x4210442 00 00 00 00 0a 00 04 00 00 00Packed numeric array values begin immediately after the 11-byte array descriptor.
3030-frida-write-test-bool-arrayTestChildObject.TestBoolArray[]bool[]true;false;true;false;true;false;true;false;true;falseSAFEARRAY VT_BOOL/0x200b66281127411494VARIANT_BOOL-style 16-bit values0x4110241 00 00 00 00 0a 00 02 00 00 00Requested alternating values returned as True,True,False,False,True,True,False,False,True,True; capture 098 confirms this is an x86 COM automation projection issue rather than a one-off capture.
4098-frida-write-bool-array-pattern-10TestChildObject.TestBoolArray[]bool[]true;false;false;true;true;false;true;false;false;trueSAFEARRAY VT_BOOL/0x200b66281127411494VARIANT_BOOL-style 16-bit values0x4110241 00 00 00 00 0a 00 02 00 00 00Requested non-repeating values emitted as True,True,False,False,False,False,True,True,True,True through x86 MXAccess COM automation; managed native encoder keeps direct per-element bool encoding by default.
5031-frida-write-test-float-arrayTestChildObject.TestFloatArray[]float[]1.25;2.5;3.75;4.25;5.5;6.75;7.25;8.5;9.75;10.25SAFEARRAY VT_R4/0x200486281327413494float32 little-endian0x4310443 00 00 00 00 0a 00 04 00 00 00Packed numeric array values begin immediately after the 11-byte array descriptor.
6032-frida-write-test-double-arrayTestChildObject.TestDoubleArray[]double[]1.125;2.25;3.5;4.625;5.75;6.875;7.0;8.125;9.25;10.375SAFEARRAY VT_R8/0x2005126281727417494float64 little-endian0x4410844 00 00 00 00 0a 00 08 00 00 00Packed numeric array values begin immediately after the 11-byte array descriptor.
7033-frida-write-test-string-arrayTestChildObject.TestStringArray[]string[]A01;B02;C03;D04;E05;F06;G07;H08;I09;J10SAFEARRAY VT_BSTR/0x20082564130287304107UTF-16LE per-element variable record0x4510445 00 00 00 00 0a 00 04 00 00 00Each element is record_length + scalar string-style variable payload.
8035-frida-write-test-datetime-array-fullTestChildObject.TestDateTimeArray[]datetime[]2026-04-25T03:00:00 through 2026-04-25T03:09:00SAFEARRAY VT_DATE/0x2007596416428721494outbound UTF-16LE per-element display string; callback FILETIME sequence0x4510445 00 00 00 00 0a 00 04 00 00 00Original capture 034 was truncated by the old 256-byte Frida dump cap; capture 035 uses the 4096-byte cap and has the full body.