Keep patch state out of the loaded firmware image¶
Stores into the loaded program image have restarted cameras; stock firmware does not make them.
Category: hazard · Camera-confirmed
Build: ep7 firmware 1.1, build 1100, om5-ii firmware 1.1, build 1100 · Cameras: Olympus PEN E-P7, OM SYSTEM OM-5 Mark II
Keep runtime state in heap or .bss, not in the loaded program image. On the E-P7 a sweep of every absolute store found none into the image.
What happens: Camera restart on first use; one OM-5 Mark II build then looped on every start until restored.
Symptoms: Restarts or crashes when a feature runs; Fails to start, restarts or loops at power-on
Observations¶
- Static analysis (Caduceus for E-P7): A sweep of 32,217 absolute stores found none into the loaded image. Source: E-P7 firmware guide.
- Physical camera (Caduceus for E-P7): The one E-P7 build that stored into the image crashed; moving the state fixed it. Source: E-P7 firmware guide.
- Static analysis (Caduceus for OM-5): An OM-5 Mark II build that froze and looped kept state in the image; stock E148 makes no such absolute store. Source: Image-store fault investigation.
- Emulator (Caduceus for OM-5): After moving the state, emulator sessions showed no store into the image from patch code. Source: Image-store fault investigation.
Sources and record¶
Canonical record · Substantively reviewed: 2026-11-18.