Index: src/trusted/validator_ragel/gen/validator_x86_64.c |
=================================================================== |
--- src/trusted/validator_ragel/gen/validator_x86_64.c (revision 9911) |
+++ src/trusted/validator_ragel/gen/validator_x86_64.c (working copy) |
@@ -10,7 +10,7 @@ |
#include <stdlib.h> |
#include <string.h> |
-#include "native_client/src/trusted/validator_ragel/unreviewed/validator_internal.h" |
+#include "native_client/src/trusted/validator_ragel/validator_internal.h" |
@@ -27,7 +27,7 @@ |
Bool ValidateChunkAMD64(const uint8_t *data, size_t size, |
enum validation_options options, |
const NaClCPUFeaturesX86 *cpu_features, |
- validation_callback_func user_callback, |
+ ValidationCallbackFunc user_callback, |
void *callback_data) { |
bitmap_word valid_targets_small; |
bitmap_word jump_dests_small; |
@@ -74,9 +74,9 @@ |
* 2 bits for register kinds, |
* 5 bits for register numbers (16 regs plus RIZ). */ |
uint32_t operand_states = 0; |
- enum register_name base = NO_REG; |
- enum register_name index = NO_REG; |
- enum register_name restricted_register = NO_REG; |
+ enum OperandName base = NO_REG; |
+ enum OperandName index = NO_REG; |
+ enum OperandName restricted_register = NO_REG; |
uint8_t rex_prefix = FALSE; |
uint8_t vex_prefix2 = 0xe0; |
uint8_t vex_prefix3 = 0x00; |
@@ -3107,7 +3107,7 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
rex_prefix, operand_states); |
@@ -3135,7 +3135,7 @@ |
goto st904; |
tr100: |
{ SET_CPU_FEATURE(CPUFeature_MON); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ SET_OPERAND_NAME(0, REG_RDX); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
@@ -3164,7 +3164,7 @@ |
goto st904; |
tr101: |
{ SET_CPU_FEATURE(CPUFeature_MON); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ SET_OPERAND_NAME(0, REG_RCX); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
@@ -3924,7 +3924,7 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
rex_prefix, operand_states); |
@@ -3959,8 +3959,8 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_32_BIT); } |
{ SET_OPERAND_NAME(1, REG_RAX); } |
{ |
process_2_operands_zero_extends(&restricted_register, |
@@ -3994,8 +3994,8 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_32_BIT); } |
{ SET_OPERAND_NAME(1, REG_RAX); } |
{ |
process_2_operands_zero_extends(&restricted_register, |
@@ -4220,7 +4220,7 @@ |
} |
goto st904; |
tr360: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -4252,7 +4252,7 @@ |
} |
goto st904; |
tr377: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -4284,7 +4284,7 @@ |
} |
goto st904; |
tr378: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -4381,7 +4381,7 @@ |
goto st904; |
tr387: |
{ SET_CPU_FEATURE(CPUFeature_x87); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
@@ -4442,7 +4442,7 @@ |
} |
goto st904; |
tr392: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -4480,8 +4480,8 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_64_BIT); } |
{ SET_OPERAND_NAME(1, REG_RAX); } |
{ |
process_2_operands(&restricted_register, &instruction_info_collected, |
@@ -4514,7 +4514,7 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
rex_prefix, operand_states); |
@@ -4797,7 +4797,7 @@ |
} |
goto st904; |
tr493: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -4834,7 +4834,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RSP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -4866,7 +4866,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RBP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -4895,8 +4895,8 @@ |
tr511: |
{ |
instruction_start -= 7; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -4929,7 +4929,7 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
rex_prefix, operand_states); |
@@ -4961,8 +4961,8 @@ |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_16_BIT); } |
{ SET_OPERAND_NAME(1, REG_RAX); } |
{ |
process_2_operands(&restricted_register, &instruction_info_collected, |
@@ -5077,7 +5077,7 @@ |
} |
goto st904; |
tr652: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -5115,8 +5115,8 @@ |
RegFromModRM(instruction_start[5]) || |
RMFromModRM(instruction_start[1]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5154,8 +5154,8 @@ |
RegFromModRM(instruction_start[5]) || |
RMFromModRM(instruction_start[1]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5185,10 +5185,10 @@ |
tr720: |
{ |
instruction_start -= 13; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 2); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 9); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 13); |
+ MakeJumpTargetInvalid((instruction_start - data) + 2, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 9, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 13, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5218,8 +5218,8 @@ |
tr729: |
{ |
instruction_start -= 6; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 2); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
+ MakeJumpTargetInvalid((instruction_start - data) + 2, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5276,7 +5276,7 @@ |
goto st904; |
tr878: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5319,7 +5319,7 @@ |
goto st904; |
tr881: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5376,7 +5376,7 @@ |
goto st904; |
tr884: |
{ SET_CPU_FEATURE(CPUFeature_LWP); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -5409,7 +5409,7 @@ |
goto st904; |
tr887: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5452,7 +5452,7 @@ |
goto st904; |
tr890: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5483,7 +5483,7 @@ |
goto st904; |
tr892: |
{ SET_CPU_FEATURE(CPUFeature_LWP); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -5609,7 +5609,7 @@ |
goto st904; |
tr1226: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5652,7 +5652,7 @@ |
goto st904; |
tr1229: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5683,7 +5683,7 @@ |
goto st904; |
tr1231: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5726,7 +5726,7 @@ |
goto st904; |
tr1234: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -5786,8 +5786,8 @@ |
tr1349: |
{ |
instruction_start -= 6; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 2); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
+ MakeJumpTargetInvalid((instruction_start - data) + 2, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5817,10 +5817,10 @@ |
tr1355: |
{ |
instruction_start -= 12; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 2); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 8); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 12); |
+ MakeJumpTargetInvalid((instruction_start - data) + 2, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 8, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 12, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5854,8 +5854,8 @@ |
RMFromModRM(instruction_start[5]) || |
RMFromModRM(instruction_start[1]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5893,8 +5893,8 @@ |
RMFromModRM(instruction_start[5]) || |
RMFromModRM(instruction_start[1]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 6); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 6, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5924,10 +5924,10 @@ |
tr1377: |
{ |
instruction_start -= 14; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 10); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 14); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 10, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 14, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5957,8 +5957,8 @@ |
tr1385: |
{ |
instruction_start -= 7; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -5988,10 +5988,10 @@ |
tr1391: |
{ |
instruction_start -= 13; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 3); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 9); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 13); |
+ MakeJumpTargetInvalid((instruction_start - data) + 3, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 9, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 13, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -6025,8 +6025,8 @@ |
RMFromModRM(instruction_start[6]) || |
RMFromModRM(instruction_start[2]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 4); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
+ MakeJumpTargetInvalid((instruction_start - data) + 4, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -6064,8 +6064,8 @@ |
RMFromModRM(instruction_start[6]) || |
RMFromModRM(instruction_start[2]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 4); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
+ MakeJumpTargetInvalid((instruction_start - data) + 4, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -6099,8 +6099,8 @@ |
RegFromModRM(instruction_start[6]) || |
RMFromModRM(instruction_start[2]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 4); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
+ MakeJumpTargetInvalid((instruction_start - data) + 4, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -6138,8 +6138,8 @@ |
RegFromModRM(instruction_start[6]) || |
RMFromModRM(instruction_start[2]) != RMFromModRM(*current_position)) |
instruction_info_collected |= UNRECOGNIZED_INSTRUCTION; |
- BitmapClearBit(valid_targets, (instruction_start - data) + 4); |
- BitmapClearBit(valid_targets, (instruction_start - data) + 7); |
+ MakeJumpTargetInvalid((instruction_start - data) + 4, valid_targets); |
+ MakeJumpTargetInvalid((instruction_start - data) + 7, valid_targets); |
restricted_register = NO_REG; |
} |
{ |
@@ -6168,7 +6168,7 @@ |
goto st904; |
tr1450: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
process_0_operands(&restricted_register, &instruction_info_collected); |
@@ -6196,14 +6196,14 @@ |
goto st904; |
tr1451: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_OPERAND_NAME(0, RegFromOpcode(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
process_1_operand(&restricted_register, &instruction_info_collected, |
rex_prefix, operand_states); |
@@ -6231,15 +6231,15 @@ |
goto st904; |
tr1467: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_OPERAND_NAME(0, RegFromOpcode(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
BaseExtentionFromVEX(GET_VEX_PREFIX2())); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_32_BIT); } |
{ SET_OPERAND_NAME(1, REG_RAX); } |
{ |
process_2_operands_zero_extends(&restricted_register, |
@@ -6278,73 +6278,73 @@ |
} |
tr81: |
{ SET_CPU_FEATURE(CPUFeature_CMOV); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st1; |
tr83: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st1; |
tr235: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st1; |
tr250: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st1; |
tr393: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st1; |
tr496: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st1; |
tr415: |
{ SET_CPU_FEATURE(CPUFeature_MMX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st1; |
tr525: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st1; |
tr540: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st1; |
tr665: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st1; |
tr1165: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st1; |
tr1425: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st1; |
tr1432: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st1; |
tr1461: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st1; |
st1: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -6719,33 +6719,33 @@ |
goto tr16; |
tr79: |
{ SET_CPU_FEATURE(CPUFeature_MMX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st10; |
tr236: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st10; |
tr338: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st10; |
tr568: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st10; |
tr1163: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st10; |
tr1426: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st10; |
st10: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -6758,187 +6758,187 @@ |
} |
tr72: |
{ SET_CPU_FEATURE(CPUFeature_CMOV); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr89: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr237: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st11; |
tr252: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st11; |
tr394: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr497: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr413: |
{ SET_CPU_FEATURE(CPUFeature_CMOV); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr526: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st11; |
tr541: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st11; |
tr561: |
{ SET_CPU_FEATURE(CPUFeature_CMOV); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st11; |
tr686: |
{ |
SET_REPNZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE42); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr689: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_POPCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st11; |
tr690: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_TZCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st11; |
tr691: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_LZCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st11; |
tr1174: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1178: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1162: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1164: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1283: |
{ |
SET_REPNZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1294: |
{ |
SET_REPNZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1296: |
{ |
SET_REPNZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE42); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1305: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1308: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_POPCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1309: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_TZCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1310: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_LZCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1314: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1315: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_POPCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1316: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_TZCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1317: |
{ |
SET_REPZ_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_LZCNT); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st11; |
tr1427: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st11; |
tr1433: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st11; |
tr1463: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st11; |
st11: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -6958,28 +6958,28 @@ |
goto st12; |
tr863: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st12; |
tr866: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st12; |
tr1214: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st12; |
tr1216: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7043,7 +7043,7 @@ |
goto st13; |
tr880: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7057,7 +7057,7 @@ |
goto st13; |
tr889: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7071,7 +7071,7 @@ |
goto st13; |
tr907: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7083,7 +7083,7 @@ |
goto st13; |
tr910: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7095,7 +7095,7 @@ |
goto st13; |
tr1228: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7109,7 +7109,7 @@ |
goto st13; |
tr1233: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7123,7 +7123,7 @@ |
goto st13; |
tr1243: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7135,7 +7135,7 @@ |
goto st13; |
tr1245: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7193,7 +7193,7 @@ |
goto st17; |
tr879: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7207,7 +7207,7 @@ |
goto st17; |
tr888: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7221,7 +7221,7 @@ |
goto st17; |
tr1227: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7235,7 +7235,7 @@ |
goto st17; |
tr1232: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7261,28 +7261,28 @@ |
goto st18; |
tr844: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st18; |
tr849: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st18; |
tr1203: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st18; |
tr1207: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7301,28 +7301,28 @@ |
goto st19; |
tr845: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st19; |
tr850: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st19; |
tr1204: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st19; |
tr1208: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -7333,19 +7333,19 @@ |
case 19: |
goto tr34; |
tr85: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st20; |
tr339: |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st20; |
tr1428: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st20; |
st20: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -7546,7 +7546,7 @@ |
} |
goto st29; |
tr205: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7554,7 +7554,7 @@ |
} |
goto st29; |
tr238: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st29; |
tr259: |
@@ -7566,7 +7566,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st29; |
tr448: |
{ |
@@ -7588,7 +7588,7 @@ |
} |
goto st29; |
tr315: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7599,7 +7599,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7607,7 +7607,7 @@ |
} |
goto st29; |
tr423: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7619,7 +7619,7 @@ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE41); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7627,7 +7627,7 @@ |
} |
goto st29; |
tr604: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7639,7 +7639,7 @@ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE41); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7648,7 +7648,7 @@ |
goto st29; |
tr1134: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7657,14 +7657,14 @@ |
goto st29; |
tr1429: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st29; |
tr1469: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_OPERAND_NAME(0, RegFromOpcode(*current_position) | |
@@ -7674,7 +7674,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st29; |
st29: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -7725,7 +7725,7 @@ |
} |
goto st30; |
tr323: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7733,7 +7733,7 @@ |
} |
goto st30; |
tr239: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st30; |
tr260: |
@@ -7745,7 +7745,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st30; |
tr280: |
{ |
@@ -7770,7 +7770,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -7779,14 +7779,14 @@ |
goto st30; |
tr1430: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st30; |
tr1470: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_OPERAND_NAME(0, RegFromOpcode(*current_position) | |
@@ -7796,7 +7796,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st30; |
st30: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -7830,7 +7830,7 @@ |
goto _out; |
tr1431: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st34; |
st34: |
@@ -8313,7 +8313,7 @@ |
goto st55; |
tr1436: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st55; |
st55: |
@@ -8435,28 +8435,28 @@ |
goto tr160; |
goto tr57; |
tr1273: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st61; |
tr161: |
{ SET_CPU_FEATURE(CPUFeature_MOVBE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st61; |
tr1271: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
goto st61; |
tr1275: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st61; |
tr422: |
{ SET_CPU_FEATURE(CPUFeature_MOVBE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st61; |
tr679: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st61; |
tr585: |
{ SET_CPU_FEATURE(CPUFeature_MOVBE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st61; |
st61: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -8729,7 +8729,7 @@ |
goto st64; |
tr1437: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st64; |
st64: |
@@ -9075,37 +9075,37 @@ |
goto tr181; |
tr73: |
{ SET_CPU_FEATURE(CPUFeature_SSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st73; |
tr97: |
{ SET_CPU_FEATURE(CPUFeature_EMMXSSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st73; |
tr414: |
{ SET_CPU_FEATURE(CPUFeature_SSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st73; |
tr421: |
{ SET_CPU_FEATURE(CPUFeature_EMMXSSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st73; |
tr562: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st73; |
tr664: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st73; |
tr1090: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st73; |
st73: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -9139,7 +9139,7 @@ |
goto tr57; |
tr1488: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st76; |
st76: |
@@ -9163,35 +9163,35 @@ |
case 79: |
goto tr186; |
tr82: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st80; |
tr416: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st80; |
tr569: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st80; |
tr589: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE41); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st80; |
tr668: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE41); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st80; |
tr1193: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st80; |
tr1196: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st80; |
st80: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -9212,27 +9212,27 @@ |
goto _again; |
} |
tr86: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_8_BIT); } |
goto st82; |
tr87: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_32_BIT); } |
goto st82; |
tr401: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_64_BIT); } |
goto st82; |
tr539: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_16_BIT); } |
goto st82; |
tr1459: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_8_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_8_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_8_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_8_BIT); } |
goto st82; |
st82: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -9253,15 +9253,15 @@ |
goto _again; |
} |
tr90: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_32_BIT); } |
goto st84; |
tr1460: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
- { SET_OPERAND_TYPE(1, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
+ { SET_OPERAND_TYPE(1, OPERAND_TYPE_32_BIT); } |
goto st84; |
st84: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -9283,29 +9283,29 @@ |
} |
tr94: |
{ SET_CPU_FEATURE(CPUFeature_EMMXSSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st86; |
tr418: |
{ SET_CPU_FEATURE(CPUFeature_EMMXSSE); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st86; |
tr572: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st86; |
tr666: |
{ |
SET_DATA16_PREFIX(FALSE); |
} |
{ SET_CPU_FEATURE(CPUFeature_SSE2); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st86; |
tr1092: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st86; |
st86: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -9377,7 +9377,7 @@ |
} |
goto st88; |
tr324: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -9385,7 +9385,7 @@ |
} |
goto st88; |
tr241: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st88; |
tr431: |
@@ -9408,11 +9408,11 @@ |
} |
goto st88; |
tr395: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st88; |
tr464: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -9423,7 +9423,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -9432,9 +9432,9 @@ |
goto st88; |
tr1434: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st88; |
st88: |
@@ -9459,7 +9459,7 @@ |
goto tr226; |
tr1435: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_BRANCH_NOT_TAKEN(TRUE); |
@@ -9467,7 +9467,7 @@ |
goto st92; |
tr1439: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_BRANCH_TAKEN(TRUE); |
@@ -9512,7 +9512,7 @@ |
goto tr57; |
tr1455: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st95; |
st95: |
@@ -9607,7 +9607,7 @@ |
goto st96; |
tr1438: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st96; |
st96: |
@@ -9632,7 +9632,7 @@ |
goto tr234; |
tr1440: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -9643,7 +9643,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st100; |
st100: |
@@ -9665,13 +9665,13 @@ |
goto _again; |
} |
tr245: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st102; |
tr1453: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st102; |
st102: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -9822,13 +9822,13 @@ |
case 110: |
goto tr296; |
tr246: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st111; |
tr1454: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st111; |
st111: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -9883,7 +9883,7 @@ |
} |
goto st112; |
tr334: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -10055,7 +10055,7 @@ |
goto tr314; |
tr1456: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st121; |
st121: |
@@ -10069,7 +10069,7 @@ |
} |
tr1457: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st122; |
st122: |
@@ -10280,7 +10280,7 @@ |
goto _again; |
} |
tr335: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -10336,7 +10336,7 @@ |
} |
tr1441: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -10347,7 +10347,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st133; |
st133: |
@@ -10369,7 +10369,7 @@ |
goto _again; |
} |
tr340: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -10425,7 +10425,7 @@ |
} |
tr1442: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -10436,7 +10436,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st136; |
st136: |
@@ -10452,7 +10452,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st137; |
st137: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -10538,7 +10538,7 @@ |
} |
tr1443: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -10549,7 +10549,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st138; |
st138: |
@@ -10562,13 +10562,13 @@ |
goto _again; |
} |
tr254: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st139; |
tr1465: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st139; |
st139: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -10742,7 +10742,7 @@ |
goto tr57; |
tr1471: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st149; |
st149: |
@@ -10756,7 +10756,7 @@ |
} |
tr1472: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st150; |
st150: |
@@ -10770,7 +10770,7 @@ |
} |
tr1475: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st151; |
st151: |
@@ -10797,7 +10797,7 @@ |
goto tr57; |
tr1476: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st152; |
st152: |
@@ -10824,7 +10824,7 @@ |
goto tr57; |
tr1477: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st153; |
st153: |
@@ -10838,7 +10838,7 @@ |
} |
tr1478: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st154; |
st154: |
@@ -10852,7 +10852,7 @@ |
} |
tr1479: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st155; |
st155: |
@@ -10866,7 +10866,7 @@ |
} |
tr1480: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st156; |
st156: |
@@ -10880,7 +10880,7 @@ |
} |
tr1481: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st157; |
st157: |
@@ -10894,7 +10894,7 @@ |
} |
tr1482: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st158; |
st158: |
@@ -10908,7 +10908,7 @@ |
} |
tr1483: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st159; |
st159: |
@@ -10922,7 +10922,7 @@ |
} |
tr1484: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st160; |
st160: |
@@ -10936,7 +10936,7 @@ |
} |
tr1485: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st161; |
st161: |
@@ -10950,7 +10950,7 @@ |
} |
tr1486: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st162; |
st162: |
@@ -10969,7 +10969,7 @@ |
goto st163; |
tr1487: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
@@ -10997,7 +10997,7 @@ |
goto tr391; |
tr1492: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st167; |
st167: |
@@ -11011,7 +11011,7 @@ |
} |
tr1493: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st168; |
st168: |
@@ -11025,7 +11025,7 @@ |
} |
tr1494: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st169; |
st169: |
@@ -11056,7 +11056,7 @@ |
goto tr57; |
tr1495: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st170; |
st170: |
@@ -11070,7 +11070,7 @@ |
} |
tr1444: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -11081,7 +11081,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st171; |
st171: |
@@ -11146,15 +11146,15 @@ |
goto tr427; |
goto tr57; |
tr397: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st176; |
tr836: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st176; |
tr837: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st176; |
st176: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11305,10 +11305,10 @@ |
case 184: |
goto tr447; |
tr398: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st185; |
tr536: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st185; |
st185: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11477,7 +11477,7 @@ |
goto _again; |
} |
tr465: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -11495,7 +11495,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st197; |
st197: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11510,7 +11510,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st198; |
st198: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11522,10 +11522,10 @@ |
goto _again; |
} |
tr404: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st199; |
tr542: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st199; |
st199: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11684,7 +11684,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st208; |
st208: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11786,7 +11786,7 @@ |
} |
tr1500: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -11802,7 +11802,7 @@ |
goto _again; |
} |
tr494: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st222; |
st222: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11823,7 +11823,7 @@ |
goto _again; |
} |
tr498: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st224; |
st224: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -11916,7 +11916,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st227; |
st227: |
@@ -11932,7 +11932,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st228; |
st228: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -12018,7 +12018,7 @@ |
} |
tr1508: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -12034,7 +12034,7 @@ |
goto _again; |
} |
tr507: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st230; |
st230: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -12108,7 +12108,7 @@ |
} |
tr1509: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st232; |
st232: |
@@ -12144,7 +12144,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st234; |
st234: |
@@ -12169,7 +12169,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st236; |
st236: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -12255,7 +12255,7 @@ |
} |
tr1525: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -12271,7 +12271,7 @@ |
goto _again; |
} |
tr515: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st238; |
st238: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -12348,7 +12348,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st240; |
st240: |
@@ -12365,7 +12365,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st241; |
st241: |
@@ -12382,7 +12382,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st242; |
st242: |
@@ -12399,7 +12399,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st243; |
st243: |
@@ -12425,7 +12425,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st245; |
st245: |
@@ -12438,7 +12438,7 @@ |
goto _again; |
} |
tr519: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st246; |
st246: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -12454,7 +12454,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st247; |
st247: |
@@ -12467,7 +12467,7 @@ |
goto _again; |
} |
tr520: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st248; |
st248: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -12532,7 +12532,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st252; |
st252: |
@@ -12549,7 +12549,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st253; |
st253: |
@@ -12562,7 +12562,7 @@ |
goto _again; |
} |
tr524: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st254; |
st254: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -12578,7 +12578,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st255; |
st255: |
@@ -12595,7 +12595,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st256; |
st256: |
@@ -12670,7 +12670,7 @@ |
} |
goto st257; |
tr527: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
{ SET_OPERAND_NAME(0, REG_RAX); } |
goto st257; |
tr545: |
@@ -12682,10 +12682,10 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st257; |
tr642: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -12696,7 +12696,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -13018,7 +13018,7 @@ |
goto _again; |
} |
tr535: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_16_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_16_BIT); } |
goto st282; |
st282: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -13764,7 +13764,7 @@ |
goto tr57; |
tr1458: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st332; |
st332: |
@@ -13777,7 +13777,7 @@ |
goto _again; |
} |
tr692: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, RMFromModRM(*current_position) | |
BaseExtentionFromREX(GET_REX_PREFIX()) | |
@@ -13836,7 +13836,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st334; |
st334: |
@@ -13849,7 +13849,7 @@ |
goto _again; |
} |
tr694: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st335; |
st335: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -13897,7 +13897,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RSP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -13929,7 +13929,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RBP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -13969,7 +13969,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st336; |
st336: |
@@ -13983,7 +13983,7 @@ |
} |
tr1539: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st337; |
st337: |
@@ -14000,7 +14000,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st338; |
st338: |
@@ -14017,7 +14017,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st339; |
st339: |
@@ -14034,7 +14034,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st340; |
st340: |
@@ -14057,7 +14057,7 @@ |
} |
tr1445: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -14068,7 +14068,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st342; |
st342: |
@@ -14085,7 +14085,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st343; |
st343: |
@@ -14099,7 +14099,7 @@ |
} |
tr1447: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -14110,7 +14110,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st344; |
st344: |
@@ -14127,7 +14127,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st345; |
st345: |
@@ -14141,7 +14141,7 @@ |
} |
tr1449: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -14152,7 +14152,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st346; |
st346: |
@@ -14166,7 +14166,7 @@ |
} |
tr1452: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_DATA16_PREFIX(TRUE); |
@@ -14264,12 +14264,12 @@ |
goto tr57; |
tr1462: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st355; |
st355: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -14355,7 +14355,7 @@ |
} |
tr1540: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -14371,7 +14371,7 @@ |
goto _again; |
} |
tr711: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st357; |
st357: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -14448,7 +14448,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st359; |
st359: |
@@ -14464,7 +14464,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st360; |
st360: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -14550,7 +14550,7 @@ |
} |
tr1548: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -14566,7 +14566,7 @@ |
goto _again; |
} |
tr717: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st362; |
st362: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -14643,7 +14643,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st364; |
st364: |
@@ -14660,7 +14660,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st365; |
st365: |
@@ -14723,12 +14723,12 @@ |
goto tr57; |
tr1464: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st368; |
st368: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -14814,7 +14814,7 @@ |
} |
tr1553: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -14830,7 +14830,7 @@ |
goto _again; |
} |
tr725: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st370; |
st370: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -14904,7 +14904,7 @@ |
} |
tr1554: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st372; |
st372: |
@@ -14940,7 +14940,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st374; |
st374: |
@@ -14966,7 +14966,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st376; |
st376: |
@@ -14983,7 +14983,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st377; |
st377: |
@@ -15000,7 +15000,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st378; |
st378: |
@@ -15017,7 +15017,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st379; |
st379: |
@@ -15043,7 +15043,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st381; |
st381: |
@@ -15060,7 +15060,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st382; |
st382: |
@@ -15077,7 +15077,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st383; |
st383: |
@@ -15094,7 +15094,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st384; |
st384: |
@@ -15111,7 +15111,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st385; |
st385: |
@@ -15128,7 +15128,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st386; |
st386: |
@@ -15241,7 +15241,7 @@ |
goto tr57; |
tr1466: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st394; |
st394: |
@@ -15705,11 +15705,11 @@ |
goto tr57; |
tr786: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st420; |
tr788: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st420; |
st420: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -16009,11 +16009,11 @@ |
goto tr57; |
tr803: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st438; |
tr804: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st438; |
st438: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -16288,11 +16288,11 @@ |
goto tr57; |
tr821: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st454; |
tr822: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st454; |
st454: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -16577,28 +16577,28 @@ |
goto st472; |
tr843: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st472; |
tr848: |
{ SET_CPU_FEATURE(CPUFeature_TBM); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st472; |
tr1202: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
goto st472; |
tr1206: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
{ |
SET_OPERAND_NAME(0, GetOperandFromVexAMD64(GET_VEX_PREFIX3())); |
} |
@@ -17318,7 +17318,7 @@ |
goto tr57; |
tr1468: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ SET_CPU_FEATURE(CPUFeature_x87); } |
{ |
@@ -17356,7 +17356,7 @@ |
} |
tr1446: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -17367,7 +17367,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st527; |
st527: |
@@ -17381,7 +17381,7 @@ |
} |
tr1448: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -17392,7 +17392,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st528; |
st528: |
@@ -17406,7 +17406,7 @@ |
} |
tr1473: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st529; |
st529: |
@@ -17677,19 +17677,19 @@ |
goto tr57; |
tr976: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st543; |
tr980: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st543; |
tr965: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st543; |
tr967: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st543; |
st543: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -18579,19 +18579,19 @@ |
goto tr57; |
tr1041: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st593; |
tr1045: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st593; |
tr1031: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st593; |
tr1032: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st593; |
st593: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -19348,19 +19348,19 @@ |
} |
tr1109: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st637; |
tr1113: |
{ SET_CPU_FEATURE(CPUFeature_BMI1); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st637; |
tr1097: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st637; |
tr1099: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st637; |
st637: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -19428,7 +19428,7 @@ |
} |
tr1098: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st641; |
st641: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -19531,7 +19531,7 @@ |
goto tr57; |
tr1100: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st648; |
st648: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -19766,11 +19766,11 @@ |
} |
tr1131: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st664; |
tr1135: |
{ SET_CPU_FEATURE(CPUFeature_AVX); } |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st664; |
st664: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -21300,7 +21300,7 @@ |
} |
tr1474: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st751; |
st751: |
@@ -21424,7 +21424,7 @@ |
goto tr57; |
tr1489: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_LOCK_PREFIX(TRUE); |
@@ -21453,7 +21453,7 @@ |
} |
goto tr57; |
tr1272: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st758; |
st758: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -21516,7 +21516,7 @@ |
goto tr57; |
tr1490: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st763; |
st763: |
@@ -21609,7 +21609,7 @@ |
goto tr57; |
tr1491: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st772; |
st772: |
@@ -21671,7 +21671,7 @@ |
} |
tr1566: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st777; |
st777: |
@@ -21811,7 +21811,7 @@ |
} |
tr1567: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st786; |
st786: |
@@ -21828,7 +21828,7 @@ |
SET_REPNZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st787; |
st787: |
@@ -21871,7 +21871,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st789; |
st789: |
@@ -21913,7 +21913,7 @@ |
goto tr57; |
tr1521: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st791; |
st791: |
@@ -22053,7 +22053,7 @@ |
} |
tr1522: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st800; |
st800: |
@@ -22070,7 +22070,7 @@ |
SET_REPNZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st801; |
st801: |
@@ -22117,7 +22117,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st803; |
st803: |
@@ -22166,7 +22166,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st805; |
st805: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -22182,7 +22182,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st806; |
st806: |
@@ -22199,7 +22199,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st807; |
st807: |
@@ -22216,7 +22216,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st808; |
st808: |
@@ -22251,12 +22251,12 @@ |
goto tr57; |
tr1545: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st810; |
st810: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -22342,7 +22342,7 @@ |
} |
tr1580: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -22358,7 +22358,7 @@ |
goto _again; |
} |
tr1352: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st812; |
st812: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -22435,7 +22435,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st814; |
st814: |
@@ -22452,7 +22452,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st815; |
st815: |
@@ -22518,7 +22518,7 @@ |
SET_REPNZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st818; |
st818: |
@@ -22565,7 +22565,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st820; |
st820: |
@@ -22612,12 +22612,12 @@ |
goto tr57; |
tr1546: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st822; |
st822: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -22633,7 +22633,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st823; |
st823: |
@@ -22674,7 +22674,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st825; |
st825: |
@@ -22691,7 +22691,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st826; |
st826: |
@@ -22704,7 +22704,7 @@ |
goto _again; |
} |
tr1365: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st827; |
st827: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -22752,7 +22752,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RSP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -22784,7 +22784,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RBP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -22824,7 +22824,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st828; |
st828: |
@@ -22838,7 +22838,7 @@ |
} |
tr1591: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st829; |
st829: |
@@ -22855,7 +22855,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st830; |
st830: |
@@ -22872,7 +22872,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st831; |
st831: |
@@ -22889,7 +22889,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st832; |
st832: |
@@ -22915,7 +22915,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st834; |
st834: |
@@ -22932,7 +22932,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st835; |
st835: |
@@ -22949,7 +22949,7 @@ |
SET_REPNZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st836; |
st836: |
@@ -22992,7 +22992,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st838; |
st838: |
@@ -23037,7 +23037,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st840; |
st840: |
@@ -23054,7 +23054,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st841; |
st841: |
@@ -23120,7 +23120,7 @@ |
SET_REPNZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st844; |
st844: |
@@ -23167,7 +23167,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st846; |
st846: |
@@ -23216,7 +23216,7 @@ |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st848; |
st848: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -23232,7 +23232,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st849; |
st849: |
@@ -23249,7 +23249,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st850; |
st850: |
@@ -23266,7 +23266,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st851; |
st851: |
@@ -23301,12 +23301,12 @@ |
goto tr57; |
tr1505: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st853; |
st853: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -23392,7 +23392,7 @@ |
} |
tr1592: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
SET_REX_PREFIX(*current_position); |
@@ -23408,7 +23408,7 @@ |
goto _again; |
} |
tr1388: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st855; |
st855: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -23485,7 +23485,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st857; |
st857: |
@@ -23502,7 +23502,7 @@ |
SET_DATA16_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st858; |
st858: |
@@ -23568,7 +23568,7 @@ |
SET_REPNZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st861; |
st861: |
@@ -23615,7 +23615,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st863; |
st863: |
@@ -23662,12 +23662,12 @@ |
goto tr57; |
tr1506: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
{ |
instruction_info_collected |= MODIFIABLE_INSTRUCTION; |
} |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_32_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_32_BIT); } |
goto st865; |
st865: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -23683,7 +23683,7 @@ |
SET_REPZ_PREFIX(TRUE); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st866; |
st866: |
@@ -23724,7 +23724,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st868; |
st868: |
@@ -23737,7 +23737,7 @@ |
goto _again; |
} |
tr1401: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st869; |
st869: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -23793,7 +23793,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st870; |
st870: |
@@ -23819,7 +23819,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st872; |
st872: |
@@ -23845,7 +23845,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st874; |
st874: |
@@ -23862,7 +23862,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st875; |
st875: |
@@ -23875,7 +23875,7 @@ |
goto _again; |
} |
tr1402: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st876; |
st876: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -23931,7 +23931,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st877; |
st877: |
@@ -23957,7 +23957,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st879; |
st879: |
@@ -23983,7 +23983,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st881; |
st881: |
@@ -24000,7 +24000,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st882; |
st882: |
@@ -24017,7 +24017,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st883; |
st883: |
@@ -24030,7 +24030,7 @@ |
goto _again; |
} |
tr1413: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st884; |
st884: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -24078,7 +24078,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RSP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -24110,7 +24110,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RBP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -24150,7 +24150,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st885; |
st885: |
@@ -24164,7 +24164,7 @@ |
} |
tr1611: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st886; |
st886: |
@@ -24181,7 +24181,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st887; |
st887: |
@@ -24198,7 +24198,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st888; |
st888: |
@@ -24215,7 +24215,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st889; |
st889: |
@@ -24241,7 +24241,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st891; |
st891: |
@@ -24258,7 +24258,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st892; |
st892: |
@@ -24275,7 +24275,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st893; |
st893: |
@@ -24292,7 +24292,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st894; |
st894: |
@@ -24305,7 +24305,7 @@ |
goto _again; |
} |
tr1419: |
- { SET_OPERAND_TYPE(0, OPERAND_SIZE_64_BIT); } |
+ { SET_OPERAND_TYPE(0, OPERAND_TYPE_64_BIT); } |
goto st895; |
st895: |
if ( ++( current_position) == ( end_of_bundle) ) |
@@ -24353,7 +24353,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RSP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -24385,7 +24385,7 @@ |
else |
instruction_info_collected |= UNRESTRICTED_RBP_PROCESSED; |
restricted_register = NO_REG; |
- BitmapClearBit(valid_targets, (instruction_start - data)); |
+ MakeJumpTargetInvalid((instruction_start - data), valid_targets); |
} |
{ |
instruction_info_collected |= SPECIAL_INSTRUCTION; |
@@ -24425,7 +24425,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st896; |
st896: |
@@ -24439,7 +24439,7 @@ |
} |
tr1618: |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st897; |
st897: |
@@ -24456,7 +24456,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st898; |
st898: |
@@ -24473,7 +24473,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st899; |
st899: |
@@ -24490,7 +24490,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st900; |
st900: |
@@ -24516,7 +24516,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st902; |
st902: |
@@ -24533,7 +24533,7 @@ |
SET_REX_PREFIX(*current_position); |
} |
{ |
- BitmapSetBit(valid_targets, current_position - data); |
+ MakeJumpTargetValid(current_position - data, valid_targets); |
} |
goto st903; |
st903: |