Searched refs:preamble_bytes (Results 1 – 1 of 1) sorted by relevance
89 unsigned int preamble_bytes = 0; in RawPatchWithStub() local90 while (preamble_bytes < 5) { in RawPatchWithStub()92 disassembler.Disassemble(target + preamble_bytes, &preamble_bytes); in RawPatchWithStub()108 *bytes_needed = preamble_bytes + 5; in RawPatchWithStub()114 if (preamble_bytes + 5 > stub_size) { in RawPatchWithStub()121 reinterpret_cast<void*>(target), preamble_bytes); in RawPatchWithStub()130 = ((reinterpret_cast<unsigned char*>(target) + preamble_bytes) - in RawPatchWithStub()131 (preamble_stub + preamble_bytes + 5)); in RawPatchWithStub()134 preamble_stub[preamble_bytes] = ASM_JMP32REL; in RawPatchWithStub()136 RawMemcpy(reinterpret_cast<void*>(preamble_stub + preamble_bytes + 1), in RawPatchWithStub()[all …]