IDA Pro > IDA Pro教程 > 技术问题 > IDA Pro生成输出文件(Produce output file)

IDA Pro生成输出文件(Produce output file)

发布时间:2022-10-15 14: 33: 33

Generate MAP file

 Action    name: ProduceMap
 

Please enter a file name for the map. IDA will write the following information about this file:

 - current segmentation
 - list of names sorted by values

You may disable the generation of the segmentation information. You may also enable or disable dummy names in the output file.

You can use this map file for your information, and also for debugging (for example, Periscope from Periscope Company or Borland's Turbo Debugger can read this file). 

 

Generate ASM file

 Action    name: ProduceAsm
 

Please enter a file name for the assembler text file. IDA will write the disassembled text to this file.

If you have selected a range on the screen using Drop Anchor command, IDA will write only the selected range (from the current address to the anchor).

If some I/O problem (e.g. disk full) occurs during writing to the file, IDA will stop and a partial file will be created.

Please note that demo version cannot produce assembler files. 

 

Generate INC file

 Action    name: ProduceInc
 

Please enter a file name for the assembler include file. IDA will write the information about the defined types (structures and enums) to this file.

If some I/O problem (e.g. disk full) occurs during writing to the file, IDA will stop and a partial file will be created.

Please note that demo version cannot produce assembler include files. 

 

Generate LST file

 Action    name: ProduceLst
 

Enter a file name for the assembler listing file. IDA will write the disassembled text to this file.

If you've selected a range on the screen using Drop Anchor command, IDA will write only the selected range (from the current address to the anchor).

If some I/O problem (e.g. disk full) occurs during writing to the file, IDA will stop and a partial file will be created.

Please note that demo version cannot produce assembler listing files. 

 

Generate EXE file

 Action    name: ProduceExe
 

Enter a file name for the new executable file. Usually this command is used after patching (see commands Patch byte and Patch word) to obtain a patched version of the file.

IDA produces executable files only for:

 - MS DOS .exe
 - MS DOS .com
 - MS DOS .drv
 - MS DOS .sys
 - general binary
 - Intel Hex Object Format
 - MOS Technology Hex Object Format

For other file formats please create a difference file.

NOTE: only Patch byte/word commands affect the executable file contents, other commands (including User-Specified String for the #th Operand) will not affect the content of the disassembled file.

EXE files: Output files will have the same EXE-header and relocation table as the input file. IDA will fill unused ranges of the EXE file (e.g. between relocation table and loadable pages) with zeroes. 

 

Generate DIF file

 Action    name: ProduceDiff
 

This command will prompt you for a filename and then will create a plain text difference file of the following format:

comment

filename
offset: oldval  newval

 

Generate HTML file

 Action    name: ProduceHtml
 

Please enter a file name for the HTML file. IDA will write the disassembled text to this file.

If you've selected a range on the screen using Drop Anchor command, IDA will write only the selected range (from the current address to the anchor).

If some I/O problem (e.g. disk full) occurs during writing to the file, IDA will stop and a partial file will be created.

Please note that demo version cannot produce HTML files. This command is available only in the graphical version of IDA. 

 

Generate flow chart GDL file

 Action    name: ProduceFuncGdl
 

This command creates a GDL (graph description file) with the flow chart of the current function.

If there is an active selection, its flow chart will be generated.

IDA will ask for the output file name. Regardless of the specified extension, the .GDL extension will be used. 

 

Generate call graph GDL file

 Action    name: ProduceCallGdl
 

This command creates a GDL (graph description file) with the graph of the function calls.

IDA will ask for the output file name. Regardless of the specified extension, the .GDL extension will be used. 

 

Dump database to IDC file

 Action    name: DumpDatabase
 

This command saves current IDA database into a text file.

You can use it as a safety command:

 - to protect your work from disasters
 - to migrate information into new database formats of IDA.

This command is used when you want to switch to a new version of IDA. Usually each new version of IDA has its own database format. To create a new format database, you need:

 1. to issue the 'Dump...' command for the old
    database (using old version of IDA). You will
    get an IDC file containing all information
    from your old database.
 2. to reload your database using new IDA with switch -x.
 3. to compile and execute the IDC file with command
   'Execute IDC file' (usually F2)

Please note that this command does not save everything to text file. Any nformation about the local variables will be lost! 

 

Dump typeinfo to IDC file

 Action    name: DumpTypes
 

This command saves information about the user-defined types from the IDA database into a text file.

Information about enums, structure types and other user-defined types is saved in a text form as an IDC program.

You can use this command to migrate the type definitions from one database to another. 

 

Create C header file

 Action    name: ProduceHeader
 

This command saves all definitions in the local types window into a C header file

Please note that that types created in the structures window will not be saved unless they are synchronized with the local types 

中文翻译:

生成MAP文件操作名称:ProduceMap

请输入一个MAP文件的文件名。IDA将写入以下关于此文件的信息:

●当前的分段信息

●按值排序的名称列表您可以禁用生成分段信息。您还可以在输出文件中启用或禁用虚拟名称。您可以使用此MAP文件进行信息查看,也可以用于调试(例如,Periscope公司的Periscope或Borland的Turbo Debugger可以读取此文件)。

生成ASM文件操作名称:ProduceAsm

请输入一个汇编器文本文件的文件名。IDA将把反汇编文本写入此文件。如果您在屏幕上使用Drop Anchor命令选择了一个范围,则IDA仅写入所选范围(从当前地址到锚点)。如果在写入文件时出现某些I/O问题(例如磁盘已满),IDA将停止,并创建部分文件。请注意,演示版本无法生成汇编文件。

生成输出文件

生成MAP文件操作名称:ProduceMap

请输入MAP文件的文件名。IDA将写入关于此文件的以下信息:

●当前的分段信息

●按值排序的名称列表您可以禁用生成分段信息,也可以在输出文件中启用或禁用虚拟名称。您可以将此map文件用于您的信息,也可用于调试(例如,Periscope公司的Periscope或Borland的Turbo Debugger可以读取此文件)。

生成ASM文件操作名称:ProduceAsm

请输入汇编文本文件的文件名。IDA将把反汇编的文本写入此文件。如果您在屏幕上使用Drop Anchor命令选择了范围,则IDA将仅写入所选范围(从当前地址到锚点)。如果在写入文件时发生一些I/O问题(例如磁盘已满),IDA将停止并创建一个部分文件。请注意,演示版无法生成汇编器文件。

生成INC文件操作名称:ProduceInc

请输入汇编器include文件的文件名。IDA将把定义类型(结构和枚举)的信息写入此文件。如果在写入文件时发生一些I/O问题(例如磁盘已满),IDA将停止并创建一个部分文件。请注意,演示版无法生成汇编器include文件。

生成LST文件操作名称:ProduceLst

请输入汇编清单文件的文件名。IDA将把反汇编的文本写入此文件。如果您在屏幕上使用Drop Anchor命令选择了范围,则IDA将仅写入所选范围(从当前地址到锚点)。如果在写入文件时发生一些I/O问题(例如磁盘已满),IDA将停止并创建一个部分文件。请注意,演示版无法生成汇编清单文件。

生成EXE文件操作名称:ProduceExe

请输入新可执行文件的文件名。通常,在修补后(请参阅Patch byte和Patch word命令),使用此命令可以获得已修补文件的版本。IDA仅为以下可执行文件生成可执行文件:

●MS DOS.exe

●MS DOS.com

●MS DOS.drv

●MS DOS.sys

●通用二进制

●Intel Hex对象格式

●MOS Technology Hex对象格式对于其他文件格式,请创建差异文件。注意:仅Patch byte/word命令会影响可执行文件内容,其他命令(包括第n个操作数的用户指定字符串)不会影响反汇编文件的内容。EXE文件:输出文件将具有与输入文件相同的EXE标头和重定位表。IDA将用零填充EXE文件的未使用范围(例如,在重定位表和可加载页面之间)。

产生差异文件

操作名称:ProduceDiff

该命令将提示您输入文件名,然后创建以下格式的纯文本差异文件:注释文件名偏移量:旧值新值

产生HTML文件

操作名称:ProduceHtml

请输入HTML文件的文件名。IDA将把反汇编文本写入此文件。如果使用Drop Anchor命令在屏幕上选择了一个范围,则IDA仅写入所选范围(从当前地址到锚点)。如果写入文件时发生某些I/O问题(例如磁盘已满),IDA将停止并创建部分文件。请注意,演示版本不能生成HTML文件。此命令仅在IDA的图形版本中可用。

生成函数流程图GDL文件

操作名称:ProduceFuncGdl

此命令创建一个带有当前函数流程图的GDL(图形描述文件)。如果有活动选择,则将生成其流程图。IDA将询问输出文件名。无论指定的扩展名如何,都将使用.GDL扩展名。

生成调用图GDL文件

操作名称:ProduceCallGdl

此命令创建一个带有函数调用图的GDL(图形描述文件)。IDA将询问输出文件名。无论指定的扩展名如何,都将使用.GDL扩展名。

该命令将当前的IDA数据库保存到文本文件中。您可以将其用作安全命令:

●保护您的工作免受灾难的影响

●将信息迁移到IDA的新数据库格式中。当您想要切换到IDA的新版本时,可以使用此命令。通常,IDA的每个新版本都有其自己的数据库格式。要创建新格式的数据库,您需要:

1.使用旧版IDA发出“Dump...”命令(使用旧版IDA)。您将获得一个包含旧数据库中所有信息的IDC文件。

2.使用带有-switch-x的新IDA重新加载您的数据库。

3.使用“Execute IDC file”命令(通常为F2)编译和执行IDC文件。请注意,此命令不会将所有内容保存到文本文件中。任何有关本地变量的信息都将丢失!

Dump typeinfo to IDC file Action name:DumpTypes

该命令将IDA数据库中的有关用户定义类型的信息保存到文本文件中。有关枚举、结构类型和其他用户定义类型的信息以文本形式保存为IDC程序。您可以使用此命令将类型定义从一个数据库迁移到另一个数据库。

Create C header file Action name:ProduceHeader

该命令将本地类型窗口中的所有定义保存到C头文件中。请注意,除非将其与本地类型同步,否则不会保存在结构窗口中创建的类型。

展开阅读全文

标签:

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

专业销售为您服务

欢迎添加好友,了解更多IDA优惠信息,领逆向工程学习资料礼包1份!
热门文章
exe反编译工具哪个好?反编译能力强的工具盘点
随着软件技术的发展,exe(可执行文件)已经成为了电脑、手机等多个平台上的主要软件运行格式,而对于exe文件的反编译也成为了逆向工程中不可缺少的一个步骤。本文将介绍一些常用的exe反编译工具,并评价其优缺点,帮助读者选择合适的工具。
2023-04-12
idapro怎么改为中文
IDA Pro是一款功能强大的反汇编和反编译工具,广泛应用于逆向工程和软件开发领域。在使用IDA Pro时,如果我们不习惯英文界面,可以将其改为中文界面。本文将介绍IDA Pro怎么改为中文界面。IDA Pro界面改成中文主要有两种方法,下面是详细介绍。
2023-04-19
c++反编译工具有哪些
反编译C++代码的工具一般是针对可执行文件和库文件的反汇编和逆向分析工具。本文将给大家介绍c++反编译工具有哪些的内容。市面说的c++反编译工具有很多,下面介绍几款使用认识较多的软件。
2023-04-23
ida怎么查找字符串 ida字符串窗口快捷键
在数字化时代,逆向工程作为解密软件和分析程序的关键技术,正日益受到广泛关注。在逆向分析的过程中,IDA(Interactive DisAssembler)是一款备受推崇的工具,它为逆向工程师们提供了强大的功能和灵活的操作。本文将带您深入探讨如何在IDA中查找字符串,优化字符串窗口的使用,并探讨IDA如何将变量转换成字符串,帮助您更加熟练地驾驭这一工具,为逆向分析的世界增添一抹精彩。
2023-09-27
ida如何转伪代码 ida伪代码怎么看
IDA Pro是一款常用的反汇编和反编译工具,可以帮助我们分析二进制文件的实现细节和执行过程,以便更好地理解程序的执行过程和逻辑。在进行逆向工程的过程中,我们经常需要将反汇编结果转换为伪代码,以便更好地进行分析和修改。本文将介绍如何使用IDA Pro转换为伪代码,并简单讲解ida伪代码怎么看。
2023-04-14
最新文章
ida设置断点怎么运行 ida断点在键盘上的使用方法
在使用IDA pro进行逆向分析的过程中,断点设置是最基础也是最常用的调试手段之一。尤其是在处理复杂的汇编逻辑或定位关键执行点时,合理地设置并运行断点,能够极大提升分析效率与准确度。本文将围绕ida设置断点怎么运行,ida断点在键盘上的使用方法两个关键问题展开,详细介绍IDA pro中的断点操作方式、快捷键使用逻辑及其在多架构平台上的适配特性,帮助用户在实战中更加高效掌控IDA pro的调试能力。
2025-09-28
IDA调试MBR切换到16位模式 IDA调试Apk修改寄存器v0
在逆向分析中,MBR和APK分别代表底层引导机制与上层移动应用的典型研究对象。前者常涉及16位实模式与汇编流程控制的深入理解,后者则要求熟练掌握Smali代码、寄存器模拟与调试器调用。IDA pro作为广泛应用的逆向工具,不仅支持对MBR类二进制的低位调试,也能在APK分析中发挥符号识别与寄存器控制优势。本文将围绕IDA调试MBR切换到16位模式和IDA调试Apk修改寄存器v0两个核心主题展开操作细节讲解。
2025-09-28
IDA逆向QT控件应用程序 qt获取窗口内所有控件
在逆向分析跨平台图形界面程序的实践中,QT框架的广泛应用对逆向人员提出了更高要求。QT采用信号与槽、动态UI加载等机制,传统Windows API分析手段难以适配。利用IDA pro进行QT应用程序的逆向分析,结合符号信息、vtable结构及动态控件创建逻辑,可以有效提取界面控件层级、信号连接机制等核心信息。同时,若拥有源码或调试权限,还可以通过QT原生函数如`findChildren`等方式实现对窗口中所有控件的枚举与分析。本文将围绕IDA逆向QT控件应用程序和qt获取窗口内所有控件两大主题进行详细讲解。
2025-09-28
IDA pro修改so教程 IDA pro修改exe
在逆向分析与二进制安全研究中,IDA pro作为主流静态分析工具,其强大的反汇编与重构能力,广泛应用于ELF格式的so库与PE格式的exe文件修改。通过IDA pro修改so文件,可用于Android应用补丁、破解函数逻辑、绕过验证;而对exe文件的修改则常用于Windows下的补丁、功能改写与程序定制。掌握IDA pro修改so与exe的流程,不仅能提升分析效率,更是逆向工程技能的基础能力。以下内容将系统讲解IDA pro修改so教程,IDA pro修改exe两大操作场景的具体步骤,帮助用户完整掌握二进制修改流程。
2025-09-28
IDA pro中修改remote GDB路径 IDA pro修改加载地址
在进行逆向分析或调试远程目标设备时,IDA pro作为静态与动态分析的核心工具,配合GDB远程调试功能可以实现对嵌入式、IoT系统乃至裸机程序的高效控制。而在不同项目中,经常会需要变更remote GDB路径或重新设定加载地址,这些操作看似简单,实则涉及IDA pro配置逻辑、GDB插件加载机制、调试环境变量等多个技术细节。本文将围绕IDA pro中修改remote GDB路径,IDA pro修改加载地址两大关键点 ,以助于用户更好掌控IDA pro调试行为。
2025-09-28
ida反汇编成c语言的三个步骤 怎样将反汇编代码转换成c语言代码
在逆向工程、安全分析以及老旧系统维护的实践中,如何借助IDA将汇编语言转化为C语言,是许多技术人员迫切关注的主题。IDA作为目前最成熟的反汇编工具之一,配合Hex-Rays Decompiler插件,可以将目标二进制程序自动生成接近C语言语义的伪代码,从而帮助开发者更快速理解程序逻辑、重构核心功能。本文围绕“ida反汇编成c语言的三个步骤,怎样将反汇编代码转换成c语言代码”这一主题,从实际操作出发,详细讲解整个转化过程。
2025-09-28

通过微信咨询我们

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

读者也喜欢这些内容: