行业解决方案查看所有行业解决方案
IDA 用于解决软件行业的关键问题。
发布时间:2023-04-25 17: 10: 58
Action name: OpEnum
This command converts immediate operand(s) type of the current instruction/data to an enum member. Before using this command, you have to define an enumeration type.
If the selected enum is a bitfield, IDA will try to build a bitfield expression to represent the constant. Please note that for bitfields having multiple constants with the same value some expressions won't be possible.
If a range is selected using the anchor, IDA will perform 'en masse' conversion. It will convert immediate operands of all instructions in the selected range to symbolic constants. However, IDA will ask you first the lower and upper limits of immediate operand value. If the operand value is >= lower limit and <= upper limit then the operand will be converted to offset, otherwise it will be left unmodified.
When you use this command, IDA deletes the manually entered operand.
If the cursor is on the first operand (the cursor is before ',') then the first operand will be affected; otherwise all other operands will be affected.
See also:
Edit|Operand types submenu.
Enter #th operand manually commands.
Set operand type
中文翻译:
操作名称:OpEnum
此命令将当前指令/数据的立即数操作数类型转换为枚举成员。
在使用此命令之前,您必须定义枚举类型。
如果所选枚举是位字段,IDA将尝试构建一个位字段
表达式来表示常量。请注意,对于具有多个具有相同值的常量的位字段,某些表达式是不可能的。
如果使用锚点选择了一个范围,IDA将执行“大量”转换。它将把所
选范围内所有指令的立即数转换为符号常量。然而,IDA将首先询问即时操作数值的下限和上限。如果操作数值为>=下限和<=上限,则操作数将转换为偏移量,否则将保持不变。
使用此命令时,IDA会删除手动输入的操作数。
如果光标位于第一个操作数上(光标在“,”之前),则第一个操作数会受到影响;否则,所有其他操作数都将受到影响。
另请参见:编辑|操作数类型子菜单。
手动输入第#个操作数命令。设置操作数类型
展开阅读全文
︾