Lines Matching defs:func_addr
367 uptr func_addr, size_t granularity) {
382 // [min_addr, max_addr] interval. The search starts from func_addr and
384 // and hi_addr, for addresses lower/higher than func_addr. At each step, it
385 // considers the probe closest to func_addr. If that address is not free, the
388 uptr lo_addr = RoundDownTo(func_addr, granularity);
389 uptr hi_addr = RoundUpTo(func_addr, granularity);
391 // Consider the in-range address closest to func_addr.
398 addr = (hi_addr - func_addr < func_addr - lo_addr) ? hi_addr : lo_addr;
432 "min_addr: %p, max_addr: %p, func_addr: %p, granularity: %zu\n",
433 (void *)min_addr, (void *)max_addr, (void *)func_addr, granularity);
1367 uptr func_addr = InternalGetProcAddress(DLLs[i], func_name);
1368 if (func_addr &&
1369 OverrideFunction(func_addr, new_func, orig_old_func)) {