Searched defs:preamble_stub (Results 1 - 6 of 6) sorted by relevance
/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
|
/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...] |
/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...] |
Completed in 197 milliseconds