benilla-re systems structs docs

WriteCallTraceLog

function · os · unreached

Address
0x437740 · 337 bytes, up to 0x437890
Signature
void __fastcall (const char *path)
Meaning
Writes a call trace of every registered thread to a file, calldump.log by default
Confidence
verified, proof one
Finding
core/threads#call-trace-log

Finding: Call trace log in core: process entry and threads

0x437740(path) writes a call trace of every registered thread to path, or calldump.log for a null path: under the thread list's lock it opens the file wb with a 0x7fff-byte buffer, writes ;Call Trace Log Sep 19 2006, 20:30:03, and for each name object suspends its thread unless it is the calling one, dumps it, and resumes it; a thread that will not suspend gets ;Couldn't dump thread: %s. Nothing reaches it.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.