/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | preamble_patcher_with_stub.cc | 58 unsigned char* preamble_stub, 63 (NULL == preamble_stub)) { 94 memset(preamble_stub, 0xcc, stub_size); 122 __int64 trampoline_offset = reinterpret_cast<__int64>(preamble_stub) 150 preamble_stub + stub_bytes, 158 preamble_stub + stub_bytes, &jump_bytes, 176 preamble_stub + stub_bytes, &mov_bytes, 183 memcpy(reinterpret_cast<void*>(preamble_stub + stub_bytes), 219 (preamble_stub + stub_bytes + kRequiredStubJumpBytes)); 224 preamble_stub[stub_byte 55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument [all...] |
H A D | preamble_patcher.cc | 158 unsigned char* preamble_stub, unsigned long stub_size, 175 preamble_stub, 244 // In 64-bit mode, preamble_stub must be within 2GB of target function 246 unsigned char* preamble_stub = AllocPreambleBlockNear(target_function); local 247 if (!preamble_stub) { 253 DeleteUnsignedCharArray guard_preamble_stub(preamble_stub); 256 target_function, replacement_function, preamble_stub, 334 unsigned char* preamble_stub = reinterpret_cast<unsigned char*>( local 346 disassembler.Disassemble(preamble_stub + preamble_bytes, cur_bytes); 350 if (IsNearConditionalJump(preamble_stub 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument [all...] |
H A D | preamble_patcher.h | 377 // @param preamble_stub A pointer to a buffer where the preamble stub 382 // preamble_stub 392 unsigned char* preamble_stub, 408 // @param preamble_stub A pointer to a buffer where the preamble stub 413 // preamble_stub 422 unsigned char* preamble_stub,
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
H A D | preamble_patcher_with_stub.cc | 58 unsigned char* preamble_stub, 63 (NULL == preamble_stub)) { 94 memset(preamble_stub, 0xcc, stub_size); 122 __int64 trampoline_offset = reinterpret_cast<__int64>(preamble_stub) 150 preamble_stub + stub_bytes, 158 preamble_stub + stub_bytes, &jump_bytes, 176 preamble_stub + stub_bytes, &mov_bytes, 183 memcpy(reinterpret_cast<void*>(preamble_stub + stub_bytes), 219 (preamble_stub + stub_bytes + kRequiredStubJumpBytes)); 224 preamble_stub[stub_byte 55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument [all...] |
H A D | preamble_patcher.cc | 158 unsigned char* preamble_stub, unsigned long stub_size, 175 preamble_stub, 244 // In 64-bit mode, preamble_stub must be within 2GB of target function 246 unsigned char* preamble_stub = AllocPreambleBlockNear(target_function); local 247 if (!preamble_stub) { 253 DeleteUnsignedCharArray guard_preamble_stub(preamble_stub); 256 target_function, replacement_function, preamble_stub, 334 unsigned char* preamble_stub = reinterpret_cast<unsigned char*>( local 346 disassembler.Disassemble(preamble_stub + preamble_bytes, cur_bytes); 350 if (IsNearConditionalJump(preamble_stub 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument [all...] |
H A D | preamble_patcher.h | 377 // @param preamble_stub A pointer to a buffer where the preamble stub 382 // preamble_stub 392 unsigned char* preamble_stub, 408 // @param preamble_stub A pointer to a buffer where the preamble stub 413 // preamble_stub 422 unsigned char* preamble_stub,
|
/external/chromium_org/tools/memory_watcher/ |
H A D | preamble_patcher_with_stub.cc | 22 unsigned char* preamble_stub, 27 (NULL == preamble_stub)) { 69 replacement_function, preamble_stub, 109 memcpy(reinterpret_cast<void*>(preamble_stub), 121 (preamble_stub + preamble_bytes + 5)); 126 preamble_stub[preamble_bytes] = ASM_JMP32REL; 128 memcpy(reinterpret_cast<void*>(preamble_stub + preamble_bytes + 1), 131 // Inv: preamble_stub points to assembly code that will execute the 166 // jump instruction that jumps over to the preamble_stub. The preamble 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 | 20 unsigned char* preamble_stub, unsigned long stub_size, 39 preamble_stub, 91 unsigned char* preamble_stub = local 94 if (!preamble_stub) { 104 BOOL succeeded = VirtualProtect(preamble_stub, MAX_PREAMBLE_STUB_SIZE, 108 delete[] preamble_stub; 114 preamble_stub, 119 delete[] preamble_stub; 123 *original_function_stub = reinterpret_cast<void*>(preamble_stub); 18 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
H A D | preamble_patcher.h | 263 // @param preamble_stub A pointer to a buffer where the preamble stub 268 // preamble_stub 277 unsigned char* preamble_stub, 286 unsigned char* preamble_stub,
|
/external/chromium_org/sandbox/win/src/sidestep/ |
H A D | preamble_patcher.h | 62 // preamble_stub of stub_size bytes. 66 void* preamble_stub, size_t stub_size) { 68 reinterpret_cast<unsigned char*>(preamble_stub), 90 // preamble_stub: A pointer to a buffer where the preamble stub 95 // preamble_stub 104 unsigned char* preamble_stub, 65 Patch(T target_function, T replacement_function, void* preamble_stub, size_t stub_size) argument
|
H A D | preamble_patcher_with_stub.cpp | 52 unsigned char* preamble_stub, 57 (NULL == preamble_stub)) { 118 RawMemcpy(reinterpret_cast<void*>(preamble_stub), 129 (preamble_stub + preamble_bytes + 5)); 132 preamble_stub[preamble_bytes] = ASM_JMP32REL; 134 RawMemcpy(reinterpret_cast<void*>(preamble_stub + preamble_bytes + 1), 137 // Inv: preamble_stub points to assembly code that will execute the 169 // jump instruction that jumps over to the preamble_stub. The preamble 49 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, size_t stub_size, size_t* bytes_needed) argument
|