Searched refs:old_func (Results 1 - 3 of 3) sorted by relevance

/external/compiler-rt/lib/interception/
H A Dinterception_win.h29 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func);
H A Dinterception_win.cc146 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func) { argument
151 // We write "jmp <new_func>" (5 bytes) at the beginning of the 'old_func'
153 // We might want to be able to execute the original 'old_func' from the
155 // of the original code somewhere with a "jmp <old_func+head>".
157 char *old_bytes = (char *)old_func;
/external/clang/utils/VtableTest/
H A Dgen.cc153 int old_func = -1; local
155 int fn = old_func + random() % FUNCSPACING + 1;
182 old_func = fn;

Completed in 353 milliseconds