MCPcopy Create free account
hub / github.com/acl-dev/acl / trace_buf_free

Function trace_buf_free

lib_acl/samples/hook_close/hook_close.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17static unsigned int *__main_buf = NULL;
18
19static void trace_buf_free(void *buf)
20{
21 if ((unsigned long) acl_pthread_self() != acl_main_thread_self())
22 free(buf);
23}
24
25static void main_buf_free(void)
26{

Callers

nothing calls this directly

Calls 3

acl_pthread_selfFunction · 0.85
acl_main_thread_selfFunction · 0.85
freeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…