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反编译工具

读者也访问过这里:
IDA
反汇编程序软件
立即咨询
邀请您进入交流群 点击扫码
400-8765-888 kefu@makeding.com

专业销售为您服务

欢迎添加好友,了解更多IDA优惠信息,领逆向工程学习资料礼包1份!
热门文章
IDA一些常用到的功能及其快捷键
通常情况下,我们使用反编译工具是为了在没有源代码的情况下促进对程序的了解,以便于我们分析软件的漏洞、分析编译器生成的代码,以验证编译器的性能和准确性,同时也可以用来分析软件是否带有恶意程序,提高安全性。
2021-05-17
IDA反汇编流程视图的常用基本操作设置
IDA中反汇编窗口中有两种不同的形式,分别是列表模式和图形模式,IDA默认打开是图形模式,就是反汇编流程视图,可以用来分析程序函数的具体运行情况。
2021-06-15
IDA的初始使用说明和界面简介
IDA能帮助我们分析恶意软件、分析系统漏洞、验证编译器的性能,其支持在Mac系统、Windows系统、Linux系统中使用,是一款非常优秀的反编译软件。
2021-03-16
IDA反编译界面之流程预览、函数窗口介绍
在上节《IDA反编译界面之工具栏、导航栏、输出栏介绍》中,我们已经认识了IDA主界面六大窗口中的前三个窗口,接下来我们还需要认识余下的三大窗口,分别是主视图窗口、流程预览窗口和函数窗口。
2021-03-16
使用IDA数据库搜索功能搜索内容
IDA提供了专用的搜索工具,多种不同的搜索方式,帮助我们在IDA数据库中快速搜索内容,并导航到页面上的指定位置。该软件设计了许多类型的数据显示来总结特定类型的信息(如字符串、名称),以方便我们查找这些信息。
2021-03-18
如何在IDA反编译窗口中编辑函数
IDA是一款用于多个平台系统上的文件反编译软件,它通过递归下降的方式帮我们在加载文件的同时自动分析反编译文件,并将结果写入到对应生成的数据库中,供多方查看编辑。
2021-03-18

通过微信咨询我们

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

咨询热线

在线咨询

限时折扣