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免费版跑通基础流程后,会发现分析效率与样本覆盖看起来都还行,但一换到非x86架构、需要远程调试、或处在隔离网络环境时,限制就会很快暴露。把免费版的边界、Home与Pro的差异拆开看清楚,能避免盲目升级,也能避免买了仍不够用。
2026-01-13
IDA脚本编写复杂吗 IDA脚本如何调试优化效率
很多人觉得IDA脚本难,通常不是因为Python本身难,而是因为IDA里数据对象多,自动分析又会在后台持续变化,脚本一跑就出现取不到函数、交叉引用不全、界面卡住等情况。把脚本当成“围绕IDB数据库做批处理”的工具来写,先把运行入口、调试方法、性能习惯定成标准动作,脚本会很快从“能跑就行”变成“稳定可复用”。
2026-01-13
IDA支持新型架构及时吗 IDA新处理器如何添加支持
做固件与样本分析时,很多人把“IDA能不能打开”当成支持与否的判断标准,但真正决定体验的是处理器模块是否成熟,能否稳定解码、建立交叉引用、完成基本栈跟踪。判断支持是否及时,可以用官方支持清单加本机处理器选择入口做一次快速核对,再决定是升级、补装模块,还是走自建处理器模块路线。
2026-01-13
IDA二进制分析可靠吗 IDA分析结果如何验证确认
在漏洞复现、兼容性排障、车载与工控固件审计这类场景里,IDA常被当作静态分析主力工具,但静态结果能不能当结论用,取决于二进制本身的信息完整度与分析过程是否把关键前提核对到位。与其问IDA准不准,更实际的做法是明确它在哪些条件下可靠、在哪些条件下必须配合验证手段,把结论从推断变成可复现的证据链。
2026-01-13
IDA反汇编结果准确吗 IDA反汇编精度如何调整优化
IDA的反汇编结果可以作为可靠的分析基础,但它并不是把二进制自动翻译成唯一正确答案的工具。反汇编准确度主要取决于架构与装载信息是否正确、代码与数据边界是否被识别对、以及样本是否存在混淆、自修改或动态解密等行为,想让结果更接近真实执行路径,需要结合设置调整与人工校准一起做。
2026-01-13
ida设置断点怎么运行 ida断点在键盘上的使用方法
在使用IDA pro进行逆向分析的过程中,断点设置是最基础也是最常用的调试手段之一。尤其是在处理复杂的汇编逻辑或定位关键执行点时,合理地设置并运行断点,能够极大提升分析效率与准确度。本文将围绕ida设置断点怎么运行,ida断点在键盘上的使用方法两个关键问题展开,详细介绍IDA pro中的断点操作方式、快捷键使用逻辑及其在多架构平台上的适配特性,帮助用户在实战中更加高效掌控IDA pro的调试能力。
2025-09-28

通过微信咨询我们

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

读者也喜欢这些内容: