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
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份!