Lines Matching refs:uint8_t
93 static uint32_t GetInstructionSize(const uint8_t* pc) { in GetInstructionSize()
100 const uint8_t* startpc = pc; in GetInstructionSize()
102 uint8_t opcode = *pc++; in GetInstructionSize()
103 uint8_t modrm; in GetInstructionSize()
213 uint8_t mod = (modrm >> 6) & 3U /* 0b11 */; in GetInstructionSize()
266 reinterpret_cast<uint8_t*>(*out_sp) - GetStackOverflowReservedBytes(kX86_64)); in GetMethodAndReturnPcAndSp()
268 reinterpret_cast<uint8_t*>(*out_sp) - GetStackOverflowReservedBytes(kX86)); in GetMethodAndReturnPcAndSp()
277 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); in GetMethodAndReturnPcAndSp()
297 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); in Action()
298 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action()
346 uint8_t checkinst1[] = {0x65, 0x48, 0x8b, 0x04, 0x25, static_cast<uint8_t>(trigger & 0xff), in Action()
347 static_cast<uint8_t>((trigger >> 8) & 0xff), 0, 0}; in Action()
349 uint8_t checkinst1[] = {0x64, 0x8b, 0x05, static_cast<uint8_t>(trigger & 0xff), in Action()
350 static_cast<uint8_t>((trigger >> 8) & 0xff), 0, 0}; in Action()
352 uint8_t checkinst2[] = {0x85, 0x00}; in Action()
355 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); in Action()
356 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action()
366 uint8_t* limit = pc - 100; // Compiler will hoist to a max of 20 instructions. in Action()
367 uint8_t* ptr = pc - sizeof(checkinst1); in Action()