StormEnterSection
function · storm · host
- Address
0x64d020· 69 bytes, up to0x64d064- Signature
void __fastcall (void *section)- Meaning
- Initialises Storm's two critical sections on the first call and enters the one in ecx
- Confidence
- verified, proof one
- Finding
- storm/errorlog#fatal-error-display
Finding: Fatal error display in storm: error logs and crash dumps
SErrDisplayAppFatal(fmt, ...) (0x64d0e0) and SErrDisplayAppFatal2(code, fmt, ...) (0x64cf80)
both call 0x64cfa0(code, fmt, args), the first with the code 0x85100086. It takes the error
lock, collects the file and line recorded for this thread, formats the message into 2048 bytes
with _vsnprintf, hands the code, file, message and line to 0x64d100, which reports the error as
error <code & 0xffff>, 134 for the first, and then calls StormExitProcess(1): the process ends.
The recorded file and line are null and 0, since only the unreached setter 0x64e5c0 writes them.
A base archive that does not open reaches it from MountArchives (storm/mount), and so does any archive that fails with error 0x26, 0x8510006c or 0x85100083, through 0x64cf80.
The derivation is in the doc.
Callers 11
- SErrDisplayAppFatalV storm
- 0x64d100 storm
- 0x64de30 storm
- TopLevelExceptionFilter storm
- 0x64e5c0 storm
- AddErrorCallback storm
- 0x64e6f0 storm
- SetErrorLogTitle storm
- SetErrorLogHeaderCallback storm
- GetLastErrorLogPath storm
- 0x64e930 storm
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.