MCPcopy Create free account
hub / github.com/NationalSecurityAgency/TraceAnalysis / ThreadStart

Function ThreadStart

tracer-pin/pintool.cpp:342–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342VOID
343ThreadStart(THREADID threadid, CONTEXT* _ctxt, INT32 _flags, VOID* _v)
344{
345 LOG(decstr(threadid) + "Thread Initialized\n");
346 void *write_info = (void *)malloc(sizeof(write_info_t));
347 PIN_SetThreadData(WRITE_INFO_KEY, write_info, threadid);
348}
349
350VOID
351BeforeFork(THREADID _threadid, const CONTEXT* _ctxt, VOID* _arg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected