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 Pro如何分析多平台程序 IDA Pro怎么做跨平台逆向工程
随着软件系统复杂性的增加,越来越多的应用程序被设计为跨平台运行,从Windows桌面程序、Linux服务端应用,到Android和iOS等移动端APP,再到嵌入式系统固件,程序可能同时支持多种CPU架构(如x86、ARM、MIPS)和操作系统接口(如ELF、PE、Mach-O)。面对这样的挑战,逆向工程师需要具备跨平台分析能力。IDAPro如何分析多平台程序IDAPro怎么做跨平台逆向工程成为当前软件安全分析、协议还原、恶意软件溯源等领域的核心话题之一。
2025-06-26
IDA Pro如何分析硬件固件 IDA Pro怎么做硬件逆向工程
在嵌入式设备安全研究、物联网产品分析、工控系统审计等技术领域,硬件固件的逆向工程逐渐成为关键能力之一。尤其是当固件中包含敏感配置信息、通信协议逻辑或潜在安全漏洞时,研究人员需要依靠专业工具进行深入分析。IDAPro如何分析硬件固件IDAPro怎么做硬件逆向工程这一主题,正是每一个希望深入了解底层系统行为的逆向工程师无法绕开的内容。作为全球领先的反汇编工具,IDAPro提供了多架构、多格式、多功能支持,成为分析硬件固件的首选。
2025-06-26
IDA Pro如何分析加密数据 IDA Pro怎么给加密数据解密
在逆向工程的实际操作中,分析目标程序时最常遇到的问题之一就是“加密数据”。不论是配置文件、通信内容,还是程序内部的关键字符串,这些信息通常会被以某种方式加密存储或传输,以增加破解和分析的难度。针对这种情况,IDAPro如何分析加密数据,IDAPro怎么给加密数据解密就成为了每一位逆向分析人员都必须掌握的重要技能。本文将从加密数据识别、加密算法逆向、自动解密脚本构建等方面,系统解析如何利用IDAPro完成加密数据的分析与还原。
2025-06-26
IDA Pro怎么分析虚拟机代码 IDA Pro虚拟机逆向工程
虚拟机(VM)加密与保护技术在现代软件保护中被广泛应用,它通过将原始指令转换为自定义的“虚拟指令”并在运行时由虚拟解释器执行,从而有效防止逆向分析。这种方法不仅提高了解析门槛,还极大增加了逆向工程的复杂度。面对这种高级保护手段,IDAPro怎么分析虚拟机代码,IDAPro虚拟机逆向工程成为很多逆向人员关注的重点话题。本文将围绕该问题展开,从识别虚拟机存在、分析VM架构、拆解虚拟指令到利用IDA工具进行自动化分析,提供一套系统化的解决路径。
2025-06-26
IDA Pro如何分析加壳程序 IDA Pro怎么给程序脱壳
在逆向工程领域,加壳程序的分析与脱壳处理一直是重要且富有挑战性的任务。尤其是在面对经过各种混淆、防调试和压缩处理的可执行文件时,常规的分析手段往往难以奏效。这时候,IDAPro作为行业内广泛认可的静态分析工具,就展现出了强大的实战价值。无论是定位壳代码、识别壳类型,还是配合脚本与动态分析工具对程序进行脱壳,IDAPro都扮演着核心角色。本文围绕“IDAPro如何分析加壳程序,IDAPro怎么给程序脱壳”展开,从理论认知到操作方法,帮助你掌握应对加壳程序的关键技巧。
2025-06-26
IDA Pro如何分析多架构代码 IDA Pro怎么做跨架构的反汇编
在复杂的嵌入式开发或固件逆向分析场景中,越来越多的系统采用多种处理器架构混合部署,例如主处理器采用ARM,而辅助模块可能采用MIPS、RISC-V甚至x86。针对这类多架构程序进行静态分析时,传统的反汇编工具显得力不从心。而IDA Pro作为一款功能强大的交互式反汇编工具,在支持多架构分析方面具备显著优势。本文围绕“IDA Pro如何分析多架构代码,IDA Pro怎么做跨架构的反汇编”为核心主题,详细说明操作流程与常见问题。
2025-06-26

通过微信咨询我们

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

读者也喜欢这些内容: