| 50 | |
| 51 | // Make sure this is not optimized away (function-scoped -fno-optimize-sibling-calls) |
| 52 | extern "C" NO_OPTIMIZE |
| 53 | void* calloc_hook_dummy(size_t num, size_t size) { |
| 54 | return _orig_calloc(num, size); |
| 55 | } |
| 56 | |
| 57 | extern "C" void* realloc_hook(void* addr, size_t size) { |
| 58 | void* ret = _orig_realloc(addr, size); |
nothing calls this directly
no outgoing calls
no test coverage detected