Searched refs:origFunc (Results 1 – 3 of 3) sorted by relevance
| /oneTBB/src/tbbmalloc_proxy/ |
| H A D | function_replacement.cpp | 435 …atic bool InsertTrampoline(void *inpAddr, void *targetAddr, const char ** opcodes, void** origFunc) in InsertTrampoline() argument 444 if ( origFunc ){ // Need to store original function code in InsertTrampoline() 450 *origFunc = (void*)(Ptr2Addrint(inpAddr) + offsetInJmp + SIZE_OF_RELJUMP); in InsertTrampoline() 451 origFunc = nullptr; // now it must be ignored by InsertTrampoline32/64 in InsertTrampoline() 460 probeSize = InsertTrampoline32(inpAddr, targetAddr, pattern, origFunc); in InsertTrampoline() 462 probeSize = InsertTrampoline64(inpAddr, targetAddr, pattern, origFunc); in InsertTrampoline() 471 FlushInstructionCache(GetCurrentProcess(), origFunc, probeSize); in InsertTrampoline() 478 …nst char *dllName, const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFunc) in ReplaceFunctionA() argument 510 if (!InsertTrampoline((void*)inpFunc, (void*)newFunc, opcodes, (void**)origFunc)){ in ReplaceFunctionA() 518 … wchar_t *dllName, const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFunc) in ReplaceFunctionW() argument [all …]
|
| H A D | function_replacement.h | 41 …*dllName, const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFunc=nullptr); 42 …*dllName, const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFunc=nullptr);
|
| H A D | proxy.cpp | 695 … const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFunc, FRR_ON_ERROR on… in ReplaceFunctionWithStore() argument 697 FRR_TYPE res = ReplaceFunction( dllName, funcName, newFunc, opcodes, origFunc ); in ReplaceFunctionWithStore()
|