sots-re/verify/results/shim/recap-b1-shim.log
alex 05095e93da lane R: golden-trace recapture with guards on the live game
Five hooks recaptured, build recap-7584bad-20260908T0615Z, no source change.

- ProcessResearch: the over-budget event is now a compare divergence
  (side.events.after.v.next_id orig=4 ours=3) instead of a 609 KB save diff.
  15 calls over 5 turns, 3 diverged, RNG matched 15/15.
- ComputeBudget: 4284 compared, 0 diverged, guard quiet - but only 20 distinct
  states and 13 of 22 slots always zero.
- MoveFleet: 8 of 45 calls diverge by 1 ULP of position. B4's clean verdict was
  a one-sample verdict.
- First guarded captures for OnTechResearched (RollResearchEvent draw fired and
  matched), the colony turn and MoveFleet.
- Guards mapped SetResearched live and found an undeclared ObservedTech append.

VM140 released at the main menu, hooks=trace.
2026-09-08 03:06:43 -04:00

39 lines
3.4 KiB
Text

02:40:02.429 [tid 5208] ==== sots-engine shim (binkw32 proxy) build recap-7584bad-20260908T0615Z ====
02:40:02.429 [tid 5208] exe: C:\SOTS\Sword of the Stars.exe
02:40:02.429 [tid 5208] exe base=0x00e80000 (link-time image base 0x00400000, ASLR delta +11010048) pid=7572 shim=696b0000
02:40:02.429 [tid 5208] addresses: Source: sots-re ghidra/addresses.json @ ff67ec0, generated 2026-09-08 by tools/gen_addresses.py
02:40:02.429 [tid 5208] config: hooks=trace
02:40:02.429 [tid 5208] config: hook.Shim::SelfTest::Fill=off
02:40:02.429 [tid 5208] config: hook.Mars::GlobalConsts::LoadFile=off
02:40:02.429 [tid 5208] config: hook.Game::WeaponDictionary::Init=off
02:40:02.429 [tid 5208] config: hook.Game::SectionDictionary::SectionDictionary=off
02:40:02.429 [tid 5208] config: hook.Game::TechTree::ProcessResearch=off
02:40:02.429 [tid 5208] config: hook.Game::ServerPlayer::OnTechResearched=off
02:40:02.429 [tid 5208] config: hook.Game::ServerSystem::ProcessTurn=off
02:40:02.429 [tid 5208] config: hook.Game::StrategyServer::MoveFleet=off
02:40:02.429 [tid 5208] config: hook.Game::StrategyServer::ProcessFleetMovement=off
02:40:02.429 [tid 5208] config: hook.Game::ServerPlayer::ComputeBudget=compare
02:40:02.429 [tid 5208] config: trace.path=C:\SOTS\shim.trace.jsonl
02:40:02.429 [tid 5208] config: trace.inline_max=256
02:40:02.429 [tid 5208] config: trace.flush=always
02:40:02.554 [tid 5208] trace: C:\SOTS\shim.trace.jsonl (default mode trace, inline_max 256, flush always)
02:40:02.554 [tid 5208] hook: Mars_Application_Initialize rva=0x004a0e50 -> va=01320e50
02:40:02.554 [tid 5208] hook: MH_Initialize -> MH_OK
02:40:02.554 [tid 5208] hook: MH_CreateHook -> MH_OK (trampoline=01af0fe0)
02:40:02.569 [tid 5208] hook: MH_EnableHook -> MH_OK
02:40:02.569 [tid 5208] cfg: GlobalConsts hook ready (scale constant 0.017453292519943295)
02:40:02.569 [tid 5208] hook: Mars::GlobalConsts::LoadFile rva=0x004b73c0 mode=off (not installed)
02:40:02.569 [tid 5208] dict: dictionaries hook ready (crt new=6adc232b delete=6adc0174)
02:40:02.569 [tid 5208] hook: Game::WeaponDictionary::Init rva=0x0019a4c0 mode=off (not installed)
02:40:02.569 [tid 5208] hook: Game::SectionDictionary::SectionDictionary rva=0x00176f40 mode=off (not installed)
02:40:02.569 [tid 5208] research: ProcessResearch hook ready (Cost=00ffda00, node=0x34, rng=0x9cc, fpu_cw=0x027f)
02:40:02.569 [tid 5208] hook: Game::TechTree::ProcessResearch rva=0x001876c0 mode=off (not installed)
02:40:02.569 [tid 5208] techfx: OnTechResearched hook ready (regions=15, gate=0/0, fpu_cw=0x027f)
02:40:02.569 [tid 5208] hook: Game::ServerPlayer::OnTechResearched rva=0x00491790 mode=off (not installed)
02:40:02.569 [tid 5208] hook: Game::ServerPlayer::ComputeBudget rva=0x00463030 -> va=012e3030 MH_CreateHook -> MH_OK (trampoline=01af0fc0)
02:40:02.585 [tid 5208] hook: Game::ServerPlayer::ComputeBudget MH_EnableHook -> MH_OK mode=compare
02:40:02.585 [tid 5208] hook: Game::ServerSystem::ProcessTurn rva=0x003598e0 mode=off (not installed)
02:40:02.585 [tid 5208] hook: Game::StrategyServer::MoveFleet rva=0x003d9ee0 mode=off (not installed)
02:40:02.585 [tid 5208] hook: Game::StrategyServer::ProcessFleetMovement rva=0x003da9a0 mode=off (not installed)
02:40:02.585 [tid 5208] selftest: Shim::SelfTest::Fill mode=off checksum=075ef0c3 records=0
02:40:02.976 [tid 5208] Application::Initialize called (this=020c8128)