Lines Matching refs:uint8_t
80 static uint32_t GetInstructionSize(const uint8_t* pc) { in GetInstructionSize()
94 pc = reinterpret_cast<uint8_t*>(buf); in GetInstructionSize()
111 const uint8_t* startpc = pc; in GetInstructionSize()
113 uint8_t opcode = *pc; in GetInstructionSize()
115 uint8_t modrm; in GetInstructionSize()
254 uint8_t mod = (modrm >> 6) & 3U /* 0b11 */; in GetInstructionSize()
295 reinterpret_cast<uint8_t*>(*out_sp) - GetStackOverflowReservedBytes(InstructionSet::kX86_64)); in GetMethodAndReturnPcAndSp()
297 reinterpret_cast<uint8_t*>(*out_sp) - GetStackOverflowReservedBytes(InstructionSet::kX86)); in GetMethodAndReturnPcAndSp()
306 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); in GetMethodAndReturnPcAndSp()
329 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); in Action()
330 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action()
376 uint8_t checkinst1[] = {0x65, 0x48, 0x8b, 0x04, 0x25, static_cast<uint8_t>(trigger & 0xff), in Action()
377 static_cast<uint8_t>((trigger >> 8) & 0xff), 0, 0}; in Action()
379 uint8_t checkinst1[] = {0x64, 0x8b, 0x05, static_cast<uint8_t>(trigger & 0xff), in Action()
380 static_cast<uint8_t>((trigger >> 8) & 0xff), 0, 0}; in Action()
382 uint8_t checkinst2[] = {0x85, 0x00}; in Action()
385 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); in Action()
386 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action()
396 uint8_t* limit = pc - 100; // Compiler will hoist to a max of 20 instructions. in Action()
397 uint8_t* ptr = pc - sizeof(checkinst1); in Action()