Check hook targets in the built image, not in each patch's own bytes¶
When two patches write the same site, a per-patch check reads the wrong bytes and can miss the jump that ships.
Category: hazard · Single source
Build: E-PM2 firmware 1.6, build 1600 · Cameras: Olympus PEN E-PM2
EPM2Mod's hook check decoded each patch on its own, so a later patch's jump from early-loaded code into segment 2 was reported as the earlier patch's jump. The check now decodes the built bytes of every change in early-loaded space, with overlapping changes as one run, and lists stock pointers that a change rewrites.
What happens: A jump into late-loaded code passed the check and shipped from rc.3 to v2026.11.20 on the E-PM2.
Symptoms: Starts slowly; Fails to start, restarts or loops at power-on
Observations¶
- Static analysis (EPM2Mod): The rebuilt check finds that jump as the one failure of the pinned spot-af-2 build. Its audit lists 187 transfers out of patched early-loaded code, 88 of them into segments 2 or 3. Source: EPM2Mod slow cold start investigation.
Sources and record¶
Canonical record · Substantively reviewed: 2026-11-25.