IDA Pro > IDA Pro教程 > 技术问题 > IDA Pro跟踪选项(Tracing options)

IDA Pro跟踪选项(Tracing options)

发布时间:2023-05-26 17: 31: 23

Action name:SetupTracing

This dialog box allows you to specify different settings related to the tracing features.

Trace buffer size

This setting indicates how many tracing events can fit in the trace buffer.

If the debugger must insert a new event and the buffer is full,

the oldest tracing event will be removed.

However,if you specify a size of 0,the buffer size isn't limited.

Notice that,for example,in the case of an instructions trace,

all executed instructions could be logged,which would quickly fill

up the memory!

Trace file

If a filename is specified,all future traced events will be appended to it.

Trace directory

The directory were trace files for the current database will be saved.If not

specified,the IDB directory will be used.

Stop condition

This IDC expression will be evaluated before the execution

of each instruction.If the expression returns true,the debugger will

suspend the execution.Please note that you can use register names in

the condition.

Tracing

-Trace over debugger segments

If selected,the debugger will not go step by step in debugger segments

(segments not available in the database).

-Trace over library functions

If selected,the debugger will not go step by step in library functions.

Enabling these options will speed up the execution,as many instructions

(from debugger segments and/or library functions)will not be traced.

Disabling these options can quickly fill the Tracing window,as all

instructions in DLLs and system functions will be executed step by step.

Notice that both options influence the way instruction and function tracings

will work.

Internally,the debugger proceeds like this:

-memorize the return address associated with the last executed call

instruction in database segments(the previously saved one is overwriten).

-setup a temporary breakpoint on this address once the IP is in a debugger

segment or library function,disable step by step,and run the thread.

-reenable step by step once this temporary breakpoint is reached.

-Do not log already logged IP

If selected,already executed instructions will not be logged if

they are executed again.

-Skip loops

If selected,tracing will be temporarily disabled for some loops

constructs.

Highlight

-Highlight instructions in IDA views

If selected,recorded instructions will be displayed in IDA views(disassembly

views)with a different background color.

-Main color

The main background color for traced instructions.

-Diff color

The background color for the instructions recorded and being diffed against the

currently loaded trace.

Instruction tracing

-Log if same IP

If selected,the debugger will also log all register modifications occuring

during the execution of prefixed instructions like REP MOVSB,...

Function tracing

-Log return instructions

If selected,the debugger will also log function returns.

If disabled,only function calls are logged.

Basic block tracing

-Log basic block instructions

If selected,all instructions from the current basic block will be logged

and displayed in the'Tracing'window,instead of only the last instruction of

the basic block.

 

以下为中文翻译:

操作名称:SetupTracing

此对话框允许您指定与描摹功能相关的不同设置。

跟踪缓冲区大小

此设置指示跟踪缓冲区中可以容纳多少跟踪事件。

如果调试器必须插入一个新事件并且缓冲区已满,

最早的跟踪事件将被删除。

但是,如果指定大小为0,则缓冲区大小不受限制。

请注意,例如,在指令跟踪的情况下,

可以记录所有执行的指令,这将很快填满

上内存!

跟踪文件

如果指定了文件名,所有未来跟踪的事件都将附加到它。

跟踪目录

当前数据库的跟踪文件目录将被保存。如果不

指定,将使用IDB目录。

停止条件

执行前进行评估

每条指令。如果表达式返回真,调试器将

暂停执行。请注意,您可以在

条件。

追踪

-跟踪调试器段

段中逐步进行

(数据库中不可用的段)。

-跟踪库函数

如果选中,调试器将不会在库函数中逐步执行。

启用这些选项将加快执行速度,因为许多指令

(来自调试器段和/或库函数)不会被跟踪。

禁用这些选项可以快速填满Tracing窗口,因为所有

DLL和系统函数中的指令将逐步执行。

跟踪的方式

将工作。

在内部,调试器是这样进行的:

-记住与最后执行的调用关联的返回地址

数据库段中的指令(先前保存的指令被覆盖)。

-一旦IP在调试器中,就在此地址上设置一个临时断点

段或库函数,逐步禁用,运行线程。

-到达临时断点后逐步重新启用。

-不要记录已经记录的IP

如果选择,已经执行的指令将不会被记录,如果

他们再次被处决。

-跳过循环

如果选中,将暂时禁用某些循环的跟踪

结构体。

强调

-在IDA视图中突出显示指令

如果选中,录制的指令将显示在IDA视图中(反汇编

视图)具有不同的背景颜色。

-主色

跟踪指令的主要背景色。

-差异颜色

记录的指令的背景颜色并与

当前加载的跟踪。

指令追踪

-如果IP相同则记录

如果选中,调试器还将记录所有发生的寄存器修改

在执行诸如REP MOVSB之类的前缀指令期间,...

函数追踪

-日志返回说明

如果选中,调试器还将记录函数返回。

如果禁用,则仅记录函数调用。

基本块跟踪

-记录基本块指令

记录当前基本块中的所有指令

并显示在“跟踪”窗口中,而不仅仅是最后一条指令

基本块。

展开阅读全文

标签:IDA反编译工具

读者也访问过这里:
邀请您进入交流群 点击扫码
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交叉引用信息缺失如何排查
IDA Pro中的交叉引用(Cross Reference,Xref)用于记录代码、数据以及函数之间的关联关系,是分析程序执行流程时的重要依据。通过交叉引用,可以快速定位某个函数的调用来源、字符串的使用位置、全局变量的访问路径等信息。但交叉引用并不是简单读取文件后自动完整存在,它依赖IDA对代码区域、函数边界、指令类型和控制流的识别结果。当分析过程中出现部分引用缺失时,需要结合IDA分析机制判断是自动分析未完成、代码识别错误,还是程序本身采用了无法静态解析的调用方式。
2026-09-01
IDA Pro怎么进行反汇编 IDA Pro反汇编结果异常如何调整
IDA Pro是一款常用于二进制分析的软件,可以通过反汇编功能将机器指令转换为汇编代码,并结合函数识别、交叉引用、控制流图等功能分析程序结构。实际分析过程中,反汇编结果会受到文件类型、处理器架构、加载参数以及程序自身特征影响。如果出现指令显示异常、函数划分错误或代码区域识别不准确,需要从文件加载、架构设置和人工修正几个方面进行检查。
2026-09-01
IDA Pro怎么设置快捷键 IDA Pro快捷键冲突如何修改
IDA Pro中大量分析操作依赖快捷键完成,例如跳转地址、查看交叉引用、切换视图、添加注释和调试控制等。随着使用时间增加,用户通常会根据自己的分析习惯调整快捷键,或者安装插件后增加新的快捷操作。如果出现快捷键无法触发、执行了错误功能或同一个按键调用多个操作,通常与快捷键绑定、插件Action注册以及配置文件冲突有关,需要逐步确认冲突来源后进行调整。
2026-09-01
IDA Pro怎么打开数据库 IDA Pro数据库文件损坏后如何恢复
IDA Pro分析工程通常会保存为数据库文件,用于记录反汇编结果、函数识别、注释、结构体、脚本修改以及分析状态。常见数据库格式包括旧版本中的【.idb】和新版本中的【.i64】。正常情况下,重新打开数据库即可继续之前的分析工作;如果数据库文件损坏,可能出现无法加载、分析结果丢失或打开后异常退出等问题,需要根据损坏程度选择备份恢复、自动恢复文件或重新导入二进制文件分析。
2026-09-01
IDA Pro怎么安装插件 IDA Pro插件安装后无法加载如何处理
IDA Pro插件可以扩展反汇编分析、调试辅助、脚本自动化和二进制安全分析等功能。不同插件可能采用Python脚本、Python模块或编译动态库形式,因此安装方式和运行环境要求也存在差异。插件安装完成后无法加载时,需要先确认插件文件是否被IDA识别,再检查插件目录、IDAPython版本、依赖组件以及插件自身兼容性。
2026-09-01
IDA Pro逆向DLL怎么追踪回调函数 IDA Pro回调函数没有交叉引用如何定位
DLL中的回调函数通常不会被业务代码直接调用,而是先把函数地址交给系统接口、第三方库或内部对象,等事件发生后再通过函数指针执行。因此,IDA Pro中没有普通交叉引用并不代表函数没有被使用。处理“IDA Pro逆向DLL怎么追踪回调函数IDA Pro回调函数没有交叉引用如何定位”时,要从注册位置、地址保存位置和运行时调用点三个方向建立关系。
2026-08-05

通过微信咨询我们

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

读者也喜欢这些内容: