Home
last modified time | relevance | path

Searched refs:opcodes (Results 1 – 3 of 3) sorted by relevance

/oneTBB/src/tbbmalloc_proxy/
H A Dfunction_replacement.cpp257 static size_t opcodes_pointer = (size_t)opcodes; in CheckOpcodes()
264 if( !opcodesStringsCount || opcodes_pointer != (size_t)opcodes ){ in CheckOpcodes()
265 while( *(opcodes + opcodesStringsCount)!= nullptr ){ in CheckOpcodes()
266 if( (i=strlen(*(opcodes + opcodesStringsCount))) > maxOpcodesLength ) in CheckOpcodes()
270 opcodes_pointer = (size_t)opcodes; in CheckOpcodes()
282 result = compareStrings( opcodes[idx],opcodeString ); in CheckOpcodes()
454 UINT opcodeIdx = CheckOpcodes( opcodes, inpAddr, /*abortOnError=*/true ); in InsertTrampoline()
456 pattern = opcodes[opcodeIdx-1]; // -1 compensates for +1 in CheckOpcodes in InsertTrampoline()
510 if (!InsertTrampoline((void*)inpFunc, (void*)newFunc, opcodes, (void**)origFunc)){ in ReplaceFunctionA()
550 if (!InsertTrampoline((void*)inpFunc, (void*)newFunc, opcodes, (void**)origFunc)){ in ReplaceFunctionW()
[all …]
H A Dfunction_replacement.h41 …onst char *dllName, const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFun…
42 …t wchar_t *dllName, const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFun…
44 bool IsPrologueKnown(const char* dllName, const char *funcName, const char **opcodes, HMODULE modul…
H A Dproxy.cpp695 …de_char_t *dllName, const char *funcName, FUNCPTR newFunc, const char ** opcodes, FUNCPTR* origFun… in ReplaceFunctionWithStore() argument
697 FRR_TYPE res = ReplaceFunction( dllName, funcName, newFunc, opcodes, origFunc ); in ReplaceFunctionWithStore()