IDA Pro > IDA Pro教程 > 技术问题 > IDA Pro 将操作数转换为数字(Convert operand to number)

IDA Pro 将操作数转换为数字(Convert operand to number)

发布时间:2022-09-29 10: 41: 32

Convert operand to number

  Action name:OpNumber

 This command converts immediate operand(s)type of the current instruction/data to a number.That way,you can delete suspicious mark of the item.

 The number is represented in the default radix for the current processor(usually hex,but octal for PDP-11,for example).

 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|Number submenu.

 

Convert operand to hex number

  Action name:OpHex

 This command converts immediate operand(s)type of the current instruction/data to hex number.So you can delete suspicious mark of the item.

 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|Number submenu.

 

Convert operand to decimal number

  Action name:OpDecimal

 This command converts the immediate operand(s)type of the current instruction/data to decimal.Therefore,it becomes a'number'.

 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|Number submenu.

 

Convert operand to octal number

  Action name:OpOctal

 This command makes the current instruction or data operand type octal.IDA always uses 123o notation for octal numbers even if the current assembler does not support octal numbers.

 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|Number submenu.

 

Convert operand to binary number

  Action name:OpBinary

 This command makes the current instruction or data operand type binary.IDA always uses 123b notation for binary numbers even if the current assembler does not support binary numbers.

 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|Number submenu.

 

Convert operand to floating point number

  Action name:OpFloat

 This command makes the current operand type floating point.

 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|Number submenu.

 

Toggle leading zeroes

  Action name:ToggleLeadingZeroes

 This command displays or hides the leading zeroes of the current operand.Example:if the instruction looked like this:

 and ecx,40h

 then after applying the command it will look like this:

 and ecx,00000040h

 If you prefer to see leading zeroes in all cases,then open the calculator and enter the following expression:

 set_inf_attr(INF_GENFLAGS,get_inf_attr(INF_GENFLAGS)|INFFL_LZERO);

 This will toggle the default for the current database and all numbers without leading zeroes will become numbers with leading zeroes,and vice versa.

 See also Edit|Operand types|Number submenu.

 

中文翻译:

将操作数转换为数字

操作名称:OpNumber

此命令将当前指令/数据的立即操作数转换为数字。这样,您可以删除项目的可疑标记。该数字以当前处理器的默认基数表示(通常为十六进制,但例如对于PDP-11而言为八进制)。使用此命令时,IDA会删除手动输入的操作数。如果光标位于第一个操作数(光标位于“,”之前)之上,则仅影响第一个操作数;否则,将影响所有其他操作数。另请参见“编辑|操作数类型|数字”子菜单。

将操作数转换为十六进制数字

操作名称:OpHex

此命令将当前指令/数据的立即操作数转换为十六进制数字,以便您可以删除项目的可疑标记。使用此命令时,IDA会删除手动输入的操作数。如果光标位于第一个操作数(光标位于“,”之前)之上,则仅影响第一个操作数;否则,将影响所有其他操作数。另请参见“编辑|操作数类型|数字”子菜单。

将操作数转换为十进制数字

操作名称:OpDecimal

此命令将当前指令/数据的立即操作数转换为十进制数字。因此,它成为“数字”。使用此命令时,IDA会删除手动输入的操作数。如果光标位于第一个操作数(光标位于“,”之前)之上,则仅影响第一个操作数;否则,将影响所有其他操作数。另请参见“编辑|操作数类型|数字”子菜单。

将操作数转换为八进制数字

操作名称:OpOctal

此命令将当前指令或数据的操作数类型更改为八进制。即使当前汇编器不支持八进制数,IDA也总是使用123o表示法来表示八进制数。使用此命令时,IDA会删除手动输入的操作数。如果光标在第一个操作数上(光标在“,”之前),则第一个操作数将受到影响;否则,所有其他操作数都将受到影响。另请参见编辑|操作数类型|数字子菜单。

将操作数转换为二进制数字

操作名称:OpBinary

此命令将当前指令或数据的操作数类型更改为二进制。即使当前汇编器不支持二进制数,IDA也总是使用123b表示法来表示二进制数。使用此命令时,IDA会删除手动输入的操作数。如果光标在第一个操作数上(光标在“,”之前),则第一个操作数将受到影响;否则,所有其他操作数都将受到影响。另请参见编辑|操作数类型|数字子菜单。

将操作数转换为浮点数

动作名称:OpFloat

此命令将当前操作数类型更改为浮点数。使用此命令时,IDA将删除手动输入的操作数。如果光标在第一个操作数上(光标位于“,”之前),则只影响第一个操作数;否则,影响所有操作数。另请参见“编辑|操作数类型|数字”子菜单。

切换前导零

动作名称:ToggleLeadingZeroes

此命令显示或隐藏当前操作数的前导零。例如,如果指令看起来像这样:and ecx,40h那么应用命令后它会变成这样:and ecx,00000040h如果您希望在所有情况下看到前导零,则打开计算器并输入以下表达式:set_inf_attr(INF_GENFLAGS,get_inf_attr(INF_GENFLAGS)|INFFL_LZERO);这将切换当前数据库的默认值,所有没有前导零的数字将成为带前导零的数字,反之亦然。另请参见“编辑|操作数类型|数字”子菜单。

展开阅读全文

标签:数据库反汇编

读者也访问过这里:
邀请您进入交流群 点击扫码
400-8765-888 kefu@makeding.com

专业销售为您服务

欢迎添加好友,了解更多IDA优惠信息,领逆向工程学习资料礼包1份!
热门文章
exe反编译工具哪个好?反编译能力强的工具盘点
随着软件技术的发展,exe(可执行文件)已经成为了电脑、手机等多个平台上的主要软件运行格式,而对于exe文件的反编译也成为了逆向工程中不可缺少的一个步骤。本文将介绍一些常用的exe反编译工具,并评价其优缺点,帮助读者选择合适的工具。
2023-04-12
IDA反汇编流程视图的常用基本操作设置
IDA中反汇编窗口中有两种不同的形式,分别是列表模式和图形模式,IDA默认打开是图形模式,就是反汇编流程视图,可以用来分析程序函数的具体运行情况。
2021-06-15
IDA一些常用到的功能及其快捷键
通常情况下,我们使用反编译工具是为了在没有源代码的情况下促进对程序的了解,以便于我们分析软件的漏洞、分析编译器生成的代码,以验证编译器的性能和准确性,同时也可以用来分析软件是否带有恶意程序,提高安全性。
2021-05-17
IDA的初始使用说明和界面简介
IDA能帮助我们分析恶意软件、分析系统漏洞、验证编译器的性能,其支持在Mac系统、Windows系统、Linux系统中使用,是一款非常优秀的反编译软件。
2021-03-16
IDA反编译界面之流程预览、函数窗口介绍
在上节《IDA反编译界面之工具栏、导航栏、输出栏介绍》中,我们已经认识了IDA主界面六大窗口中的前三个窗口,接下来我们还需要认识余下的三大窗口,分别是主视图窗口、流程预览窗口和函数窗口。
2021-03-16
使用IDA数据库搜索功能搜索内容
IDA提供了专用的搜索工具,多种不同的搜索方式,帮助我们在IDA数据库中快速搜索内容,并导航到页面上的指定位置。该软件设计了许多类型的数据显示来总结特定类型的信息(如字符串、名称),以方便我们查找这些信息。
2021-03-18
最新文章
什么叫反汇编 反汇编的软件有哪些
在计算机科学和软件工程领域,反汇编一直是一个关键的概念。与其紧密相连的反编译技术和各种反汇编软件也在不断地演进和发展。今天我们将深入探讨什么叫反汇编,反汇编的软件有哪些,以及反汇编的软件哪款比较好。我们将全方位解析这一复杂而又迷人的主题,帮助你更好地理解和掌握反汇编的核心内容。
2023-09-27
IDA是什么软件 IDA的基本用法是什么样的
在当今数字化的时代,软件技术的发展日新月异,反汇编和反编译成为了软件领域中不可或缺的一部分。在众多的反汇编和反编译工具中,IDA(Interactive DisAssembler)以其卓越的功能和灵活性而脱颖而出。本文将深入探讨IDA是什么软件,IDA的基本用法是什么样的,以及它对企业的价值和影响。
2023-09-27
ida怎么搜索函数 ida如何定位main函数
在软件逆向工程的领域中,IDA(Interactive DisAssembler)被广泛认可为一款强大的工具,它为分析人员提供了深入探索程序内部结构和功能的能力。其中,函数搜索和定位主函数(main函数)作为逆向分析的基础技巧,具有重要的地位。本文将为您介绍IDA中如何高效地进行函数搜索以及定位主函数的方法,帮助您在逆向分析过程中更加得心应手。
2023-09-27
ida怎么查找字符串 ida字符串窗口快捷键
在数字化时代,逆向工程作为解密软件和分析程序的关键技术,正日益受到广泛关注。在逆向分析的过程中,IDA(Interactive DisAssembler)是一款备受推崇的工具,它为逆向工程师们提供了强大的功能和灵活的操作。本文将带您深入探讨如何在IDA中查找字符串,优化字符串窗口的使用,并探讨IDA如何将变量转换成字符串,帮助您更加熟练地驾驭这一工具,为逆向分析的世界增添一抹精彩。
2023-09-27
ida怎么修改汇编语言 ida修改后怎么保存
在当今数字化时代,汇编语言作为底层的编程语言,具有无可比拟的重要性。而在逆向工程领域,IDA作为一款卓越的工具,为我们提供了修改汇编语言的能力,极大地拓展了我们的技术边界。本文将深入研究ida怎么修改汇编语言,ida修改后怎么保存的内容。
2023-09-25
渗透测试的基本流程 IDA如何进行渗透测试
在当前数字时代,保护信息安全成了企业和个人都要面临的重要挑战。渗透测试是一项评估信息系统安全的关键技术,它涵盖了对目标系统的全方位攻击模拟,以评估其安全性能。其中,IDA作为一款广泛应用的逆向工程工具,在渗透测试过程中发挥着核心作用。本文将介绍渗透测试的基本流程,IDA如何进行渗透测试和渗透测试的目的的内容,为你深入解读渗透测试的精髓和实施过程。
2023-09-21

通过微信咨询我们

欢迎添加好友,了解更多IDA优惠信息,领取逆向工程学习资料礼包1份!