MCPcopy Create free account
hub / github.com/GJDuck/e9patch / malloc

Function malloc

examples/stdlib.c:2391–2394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2389}
2390
2391static void *malloc(size_t size)
2392{
2393 return malloc_impl(NULL, size, /*lock=*/true);
2394}
2395static void *calloc(size_t nmemb, size_t size)
2396{
2397 return calloc_impl(NULL, nmemb, size, /*lock=*/true);

Callers 15

internal_functionFunction · 0.85
__libelf_compress_zlibFunction · 0.85
__libelf_compress_zstdFunction · 0.85
__libelf_compressFunction · 0.85
__libelf_decompress_zlibFunction · 0.85
__libelf_decompress_zstdFunction · 0.85
internal_functionFunction · 0.85
load_shdr_wrlockFunction · 0.85
read_long_namesFunction · 0.85
try_dwp_fileFunction · 0.85
convert_dataFunction · 0.85

Calls 1

malloc_implFunction · 0.85

Tested by 3

mainFunction · 0.68
test_freadFunction · 0.68
test_treeFunction · 0.68