Lines Matching refs:TryToOverrideFunction
205 static void TryToOverrideFunction(const char *fname, uptr new_func) { in TryToOverrideFunction() function
214 TryToOverrideFunction("free", (uptr)free); in ReplaceSystemMalloc()
215 TryToOverrideFunction("_free_base", (uptr)free); in ReplaceSystemMalloc()
216 TryToOverrideFunction("malloc", (uptr)malloc); in ReplaceSystemMalloc()
217 TryToOverrideFunction("_malloc_base", (uptr)malloc); in ReplaceSystemMalloc()
218 TryToOverrideFunction("_malloc_crt", (uptr)malloc); in ReplaceSystemMalloc()
219 TryToOverrideFunction("calloc", (uptr)calloc); in ReplaceSystemMalloc()
220 TryToOverrideFunction("_calloc_base", (uptr)calloc); in ReplaceSystemMalloc()
221 TryToOverrideFunction("_calloc_crt", (uptr)calloc); in ReplaceSystemMalloc()
222 TryToOverrideFunction("realloc", (uptr)realloc); in ReplaceSystemMalloc()
223 TryToOverrideFunction("_realloc_base", (uptr)realloc); in ReplaceSystemMalloc()
224 TryToOverrideFunction("_realloc_crt", (uptr)realloc); in ReplaceSystemMalloc()
225 TryToOverrideFunction("_recalloc", (uptr)_recalloc); in ReplaceSystemMalloc()
226 TryToOverrideFunction("_recalloc_crt", (uptr)_recalloc); in ReplaceSystemMalloc()
227 TryToOverrideFunction("_msize", (uptr)_msize); in ReplaceSystemMalloc()
228 TryToOverrideFunction("_expand", (uptr)_expand); in ReplaceSystemMalloc()
229 TryToOverrideFunction("_expand_base", (uptr)_expand); in ReplaceSystemMalloc()