/external/chromium_org/tools/memory_watcher/ |
H A D | preamble_patcher_with_stub.cc | 21 void *replacement_function, 26 (NULL == replacement_function) || 69 replacement_function, preamble_stub, 146 reinterpret_cast<unsigned char*>(replacement_function) - 19 RawPatchWithStub( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
H A D | preamble_patcher.cc | 19 void* target_function, void *replacement_function, 38 replacement_function, 81 void* replacement_function, 83 if (!target_function || !replacement_function || !original_function_stub || 84 (*original_function_stub) || target_function == replacement_function) { 113 replacement_function, 136 void* replacement_function, 158 // replacement_function. If it's not, then either it's an error, or 164 while (1) { // we stop when target is a JMP to replacement_function 174 if (jump_to == replacement_function) 18 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument 80 RawPatch(void* target_function, void* replacement_function, void** original_function_stub) argument 135 Unpatch(void* target_function, void* replacement_function, void* original_function_stub) argument [all...] |
H A D | preamble_patcher.h | 119 T replacement_function, 125 (void*)(replacement_function), 143 // @param replacement_function Your replacement function which 155 T replacement_function, 176 return RawPatch((void*)existing_function, (void*)replacement_function, 189 // @param replacement_function A pointer to the function that should 214 void* replacement_function, 226 // @param replacement_function Pointer to the function target_function 242 void* replacement_function, 258 // @param replacement_function 118 Patch(T target_function, T replacement_function, T* original_function_stub) argument 153 Patch(LPCTSTR module_name, LPCSTR function_name, T replacement_function, T* original_function_stub) argument [all...] |
/external/chromium_org/sandbox/win/src/sidestep/ |
H A D | preamble_patcher.h | 61 // Patches target_function to point to replacement_function using a provided 65 static SideStepError Patch(T target_function, T replacement_function, argument 67 return RawPatchWithStub(target_function, replacement_function, 85 // replacement_function: A pointer to the function that should 103 void *replacement_function,
|
H A D | preamble_patcher_with_stub.cpp | 51 void* replacement_function, 56 (NULL == replacement_function) || 150 reinterpret_cast<unsigned char*>(replacement_function) - 49 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, size_t stub_size, size_t* bytes_needed) argument
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | auto_testing_hook.h | 89 T replacement_function, 91 return AutoTestingHookImpl<T>(target_function, replacement_function, do_it); 95 T replacement_function, 98 replacement_function, do_it); 117 AutoTestingHookImpl(T target_function, T replacement_function, bool do_it) argument 120 replacement_function_(replacement_function), 124 replacement_function, 88 MakeTestingHook(T target_function, T replacement_function, bool do_it) argument 94 MakeTestingHookHolder(T target_function, T replacement_function, bool do_it) argument
|
H A D | preamble_patcher.h | 168 T replacement_function, 174 (void*)(replacement_function), 192 // @param replacement_function Your replacement function which 204 T replacement_function, 227 return RawPatch((void*)existing_function, (void*)replacement_function, 240 // @param replacement_function A pointer to the function that should 265 void* replacement_function, 277 // @param replacement_function Pointer to the function target_function 293 void* replacement_function, 372 // @param replacement_function 167 Patch(T target_function, T replacement_function, T* original_function_stub) argument 202 Patch(LPCTSTR module_name, LPCSTR function_name, T replacement_function, T* original_function_stub) argument [all...] |
H A D | preamble_patcher_with_stub.cc | 57 void* replacement_function, 62 (NULL == replacement_function) || 113 // mov rax, <replacement_function> 117 replacement_function) - reinterpret_cast<__int64>(target) - 5; 236 reinterpret_cast<void*>(&replacement_function), 241 // Now update replacement_function to point to the trampoline 242 replacement_function = preamble_stub + trampoline_pos; 260 reinterpret_cast<unsigned char*>(replacement_function) - 55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
H A D | preamble_patcher.cc | 79 // mov rax, <replacement_function> 157 void* target_function, void *replacement_function, 174 replacement_function, 222 void* replacement_function, 224 if (!target_function || !replacement_function || !original_function_stub || 225 (*original_function_stub) || target_function == replacement_function) { 256 target_function, replacement_function, preamble_stub, 291 void* replacement_function, 293 SIDESTEP_ASSERT(target_function && replacement_function && 295 if (!target_function || !replacement_function || 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument 221 RawPatch(void* target_function, void* replacement_function, void** original_function_stub) argument 290 Unpatch(void* target_function, void* replacement_function, void* original_function_stub) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
H A D | auto_testing_hook.h | 89 T replacement_function, 91 return AutoTestingHookImpl<T>(target_function, replacement_function, do_it); 95 T replacement_function, 98 replacement_function, do_it); 117 AutoTestingHookImpl(T target_function, T replacement_function, bool do_it) argument 120 replacement_function_(replacement_function), 124 replacement_function, 88 MakeTestingHook(T target_function, T replacement_function, bool do_it) argument 94 MakeTestingHookHolder(T target_function, T replacement_function, bool do_it) argument
|
H A D | preamble_patcher.h | 168 T replacement_function, 174 (void*)(replacement_function), 192 // @param replacement_function Your replacement function which 204 T replacement_function, 227 return RawPatch((void*)existing_function, (void*)replacement_function, 240 // @param replacement_function A pointer to the function that should 265 void* replacement_function, 277 // @param replacement_function Pointer to the function target_function 293 void* replacement_function, 372 // @param replacement_function 167 Patch(T target_function, T replacement_function, T* original_function_stub) argument 202 Patch(LPCTSTR module_name, LPCSTR function_name, T replacement_function, T* original_function_stub) argument [all...] |
H A D | preamble_patcher_with_stub.cc | 57 void* replacement_function, 62 (NULL == replacement_function) || 113 // mov rax, <replacement_function> 117 replacement_function) - reinterpret_cast<__int64>(target) - 5; 236 reinterpret_cast<void*>(&replacement_function), 241 // Now update replacement_function to point to the trampoline 242 replacement_function = preamble_stub + trampoline_pos; 260 reinterpret_cast<unsigned char*>(replacement_function) - 55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
H A D | preamble_patcher.cc | 79 // mov rax, <replacement_function> 157 void* target_function, void *replacement_function, 174 replacement_function, 222 void* replacement_function, 224 if (!target_function || !replacement_function || !original_function_stub || 225 (*original_function_stub) || target_function == replacement_function) { 256 target_function, replacement_function, preamble_stub, 291 void* replacement_function, 293 SIDESTEP_ASSERT(target_function && replacement_function && 295 if (!target_function || !replacement_function || 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument 221 RawPatch(void* target_function, void* replacement_function, void** original_function_stub) argument 290 Unpatch(void* target_function, void* replacement_function, void* original_function_stub) argument [all...] |