HomeSort by relevance Sort by last modified time
    Searched refs:old_func (Results 1 - 3 of 3) sorted by null

  /external/compiler-rt/lib/interception/
interception_win.cc 59 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func) {
64 // We write 5 bytes (jmp-to-new_func) at the beginning of the 'old_func'
65 // to override it. We want to be able to execute the original 'old_func' from
67 // original instructions somewhere with a "jmp old_func+head".
84 char* old_bytes = (char*)old_func;
129 if (!VirtualProtect((void*)old_func, head, PAGE_EXECUTE_READWRITE,
139 // Intercept the 'old_func'.
143 if (!VirtualProtect((void*)old_func, head, old_prot, &unused_prot))
interception_win.h 29 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func);
  /external/clang/utils/VtableTest/
gen.cc 153 int old_func = -1; local
155 int fn = old_func + random() % FUNCSPACING + 1;
182 old_func = fn;

Completed in 187 milliseconds