Commit Graph
8 Commits
Author SHA1 Message Date
ulw-execute 589f7525b4 feat(arkkdmtest): reconstruct+verify wave 7 18 functions 2026-11-29 06:12:48 -05:00
ulw-execute f445abd537 feat(arkkdmtest): reconstruct+verify wave 6 18 functions 2026-11-29 05:49:12 -05:00
ulw-execute 9e3b64df4a feat(arkkdmtest): reconstruct+verify wave 5 17 functions 2026-11-29 05:25:47 -05:00
ulw-execute b2cf140a54 feat(arkkdmtest): reconstruct+verify wave 4 14 functions
Wave 4 on arkkdmtest.dll: a bounded leaf-first shard of 14 pure internal leaves
(zero callees, zero globals) reconstructed as MinGW C++ and verified against the
shipping binary via the T1 faithful differential, with per-function injected-bug
non-vacuity and the globals-first gate.

Functions (orig -> verified), fp_model=none, portability=port:
  0x10003c10 WordNotEqualB   __thiscall ret 4  *self != *other (AL)
  0x10003c30 SetHeadPointerC __thiscall ret 8  *self = value (2nd arg ignored)
  0x10003e90 StorePair       __thiscall ret 8  self[0]=*a, self[1]=*b
  0x10003cf0 ReturnArg3cf0   __cdecl           return first arg
  0x10003d00 ReturnArg3d00   __cdecl           return first arg
  0x10003d10 ReturnArg3d10   __cdecl           return first arg
  0x10003d20 ReturnArg3d20   __cdecl           return first arg
  0x10003e70 ReturnArg3e70   __cdecl           return first arg
  0x10003e80 ReturnArg3e80   __cdecl           return first arg
  0x10003eb0 ReturnArg3eb0   __cdecl           return first arg
  0x10003ed0 ReturnArg3ed0   __cdecl           return first arg
  0x10003ef0 ReturnArg3ef0   __cdecl           return first arg
  0x10003f00 ReturnArg3f00   __cdecl           return first arg
  0x10003f10 ReturnArg3f10   __cdecl           return first arg

Conventions and operand sizes read from the Ghidra disasm. The four red-black
tree node-traversal leaves in this range (0x3c50/0x3c70/0x3ca0/0x3e10) stay orig:
proving them needs a multi-node same-image pointer fixture, deferred.

Proof: ALL DIFFERENTIALS PASS (233 cases across 65 functions), NON-VACUITY PASS
(per-function injected bug for all 65), GLOBALS-FIRST PASS.
validate_rvadb.py: RVADB_VALID functions=2163. Coverage 65/2163.
2026-11-29 04:51:21 -05:00
ulw-execute 7bed51950d feat(arkkdmtest): recover+verify named-value lookup batch (51 functions)
Recovered the wave-3 worker's uncommitted WIP (dead on a 429): FindNamedValue
(0x3700, orig->verified) plus globals-first hardening of the wave-3 leaves
(ClearDwords/FieldAt* unsigned address arithmetic, owned-state capture gate,
extra boundary cases). T1 differential prove_arkkdmtest.py: 201 cases across 51
functions original==reconstructed, per-function injected-bug non-vacuity, and
globals-first PASS for the 19 wave-3 functions.
2026-11-29 04:41:51 -05:00
ulw-execute 9e0bb4b01e feat(arkkdmtest): reconstruct+verify wave 3 18 functions 2026-11-29 03:24:20 -05:00
ulw-execute 2bdee72528 feat(arkkdmtest): reconstruct+verify wave 2 20 functions 2026-11-29 03:04:44 -05:00
ulw-execute e52aff129a feat(arkkdmtest): reconstruct+verify 12 pure leaf ops (0x11a0-0x17a0)
Wave 1 on arkkdmtest.dll: reconstruct the first shard of T1-differentiable
internal call-graph leaves (zero callees, zero globals) as MinGW C++ and verify
each against the shipping binary.

Functions (orig -> verified), fp_model=none:
  0x100011a0 StringLength        __cdecl
  0x100011e0 CopyByte            __cdecl
  0x10001220 ElementPointerAt    __thiscall
  0x100012e0 RangeContains       __thiscall
  0x10001360 SetHeadPointer      __thiscall
  0x10001370 AdvanceHeadPointer  __thiscall
  0x10001500 FillDwords          __cdecl
  0x10001590 GrowthCapacity      __thiscall
  0x100015c0 SetHeadPointerB     __thiscall
  0x100015d0 AdvanceHeadPointerB __thiscall
  0x100016f0 DwordEquals         __thiscall
  0x100017a0 ZeroFillDwords      __cdecl

Verification: tools/unicorn_diff/recon_ark_harness.cpp (12 modes) +
re/arkkdmtest/prove_arkkdmtest.py run the Unicorn-vs-wine faithful differential:
ALL DIFFERENTIALS PASS (39 cases) plus per-function injected-bug non-vacuity.
validate_rvadb.py: RVADB_VALID functions=2163. Coverage 12/2163.

The sharder's literal first shard is external PE import thunks (jmp [IAT] into
absent DLLs), which T1 cannot execute and T2 would prove vacuously; those and
the function-pointer/__fastcall leaves stay orig for a later wave.
2026-11-29 02:23:17 -05:00