/* Examine the instruction parsing context to determine if the address offset is relative to the instruction pointer. */
STATIC BOOLEAN IsRipRelative(IN CC_INSTRUCTION_DATA *InstructionData)
/* Examine the instruction parsing context to determine if the address offset is relative to the instruction pointer. */
STATIC BOOLEAN IsRipRelative(IN CC_INSTRUCTION_DATA *InstructionData)
{
  CC_INSTRUCTION_OPCODE_EXT  *Ext;
  Ext = &InstructionData->Ext;
  return ((InstructionData->Mode == LongMode64Bit) &&
          (Ext->ModRm.Mod == 0) &&
          (Ext->ModRm.Rm == 5)  &&
          (InstructionData->SibPresent == FALSE));
}