MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / f

Function f

test/pthread/test_pthread_lsan_leak.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10std::atomic<bool> thread_done;
11
12void f(void) {
13 void *local_ptr = malloc(42);
14 memset(local_ptr, 0, 42);
15}
16
17void g(void) {
18 void *stuff = malloc(3432);

Callers 1

mainFunction · 0.70

Calls 2

memsetFunction · 0.85
mallocFunction · 0.70

Tested by

no test coverage detected