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 Pro是一款常用的反汇编和反编译工具,可以帮助我们分析二进制文件的实现细节和执行过程,以便更好地理解程序的执行过程和逻辑。在进行逆向工程的过程中,我们经常需要将反汇编结果转换为伪代码,以便更好地进行分析和修改。本文将介绍如何使用IDA Pro转换为伪代码,并简单讲解ida伪代码怎么看。
2023-04-14
IDA反汇编流程视图的常用基本操作设置
IDA中反汇编窗口中有两种不同的形式,分别是列表模式和图形模式,IDA默认打开是图形模式,就是反汇编流程视图,可以用来分析程序函数的具体运行情况。
2021-06-15
最新文章
怎么用IDA反编译挖掘软件漏洞 如何用IDA参与软件重构项目
在现代软件开发和安全研究领域,IDA(Interactive Disassembler)是一个不可或缺的工具。它不仅可以反编译和反汇编代码,还能帮助研究人员挖掘软件漏洞,并参与软件重构项目。本文将详细探讨怎么用IDA反编译挖掘软件漏洞 如何用IDA参与软件重构项目。
2024-07-23
IDA软件反汇编后如何找到函数入口点 如何通过IDA反汇编分析软件的加密解密过程
在逆向工程领域,IDA软件是一款功能强大的反汇编工具,广泛用于分析二进制代码、查找函数入口点以及研究软件的加密解密过程。本文将详细探讨“IDA软件反汇编后如何找到函数入口点 如何通过IDA反汇编分析软件的加密解密过程”,并进一步介绍IDA反汇编和反编译的区别,帮助用户更好地理解和使用这一工具。
2024-07-18
IDA反汇编软件在漏洞分析中能起到什么作用 如何将IDA软件反汇编功能结合调试器使用
在信息安全领域,漏洞分析和逆向工程是至关重要的工作,而IDA反汇编软件则是这一领域中的佼佼者。作为功能强大的反汇编和调试工具,IDA不仅在漏洞分析中发挥着关键作用,还能通过与调试器结合使用,极大地提升分析效率和准确性。本文将详细探讨“IDA反汇编软件在漏洞分析中能起到什么作用 如何将IDA软件反汇编功能结合调试器使用”,并进一步介绍IDA常用的辅助插件,帮助用户更好地利用这一工具进行漏洞分析和逆向工程。
2024-07-15
idapro如何分段处理 ida软件反汇编如何添加插件
在软件逆向工程和代码分析中,IDA Pro是一款非常重要的工具。它提供了强大的反汇编和反编译功能,使得分析二进制代码变得更加高效和准确。在使用IDA Pro时,了解如何分段处理和添加插件可以极大地提升工作效率。本文将详细探讨idapro如何分段处理 ida软件反汇编如何添加插件,并分析IDA Pro是否容易学习和使用。
2024-07-09
ida软件如何保障网络安全 idapro如何反汇编x86
ida软件如何保障网络安全 idapro如何反汇编x86,这些问题是现代网络安全领域中备受关注的核心议题。随着网络攻击和恶意软件的不断演变,保障网络安全和有效的反汇编技术变得尤为重要。IDA软件作为一款强大的逆向工程工具,通过多种技术手段保障网络安全,而IDAPRO则以其出色的反汇编功能,特别是在x86架构下的应用,成为广大安全专家和研究人员的利器。
2024-07-08
逆向工程师和黑客的区别 为什么逆向工程师都在用ida软件
在信息安全和软件开发领域,逆向工程师和黑客是两个备受关注的角色。尽管两者都涉及代码分析和破解,但在职业目标、方法和道德规范上存在显著差异。同时,IDA软件作为逆向工程师的首选工具,其受欢迎的原因也值得探讨。本文将详细分析“逆向工程师和黑客的区别 为什么逆向工程师都在用ida软件”这一主题,并进一步介绍常用的逆向工程软件。
2024-07-04

通过微信咨询我们

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

读者也喜欢这些内容: