Lines Matching refs:TryToOverrideFunction
482 static void TryToOverrideFunction(const char *fname, uptr new_func) {
491 TryToOverrideFunction("free", (uptr)free);
492 TryToOverrideFunction("_free_base", (uptr)free);
493 TryToOverrideFunction("malloc", (uptr)malloc);
494 TryToOverrideFunction("_malloc_base", (uptr)malloc);
495 TryToOverrideFunction("_malloc_crt", (uptr)malloc);
496 TryToOverrideFunction("calloc", (uptr)calloc);
497 TryToOverrideFunction("_calloc_base", (uptr)calloc);
498 TryToOverrideFunction("_calloc_crt", (uptr)calloc);
499 TryToOverrideFunction("realloc", (uptr)realloc);
500 TryToOverrideFunction("_realloc_base", (uptr)realloc);
501 TryToOverrideFunction("_realloc_crt", (uptr)realloc);
502 TryToOverrideFunction("_recalloc", (uptr)_recalloc);
503 TryToOverrideFunction("_recalloc_base", (uptr)_recalloc);
504 TryToOverrideFunction("_recalloc_crt", (uptr)_recalloc);
505 TryToOverrideFunction("_msize", (uptr)_msize);
506 TryToOverrideFunction("_msize_base", (uptr)_msize);
507 TryToOverrideFunction("_expand", (uptr)_expand);
508 TryToOverrideFunction("_expand_base", (uptr)_expand);