IDA Pro > IDA Pro教程 > 技术问题 > IDA Pro调试器选项(Debugger options)

IDA Pro调试器选项(Debugger options)

发布时间:2023-05-26 17: 32: 54

Action name:SetupDebugger

This dialog box allows to specify different settings related to the debugger.

Events

-Suspend on debugging start

If selected,the debugger will suspend directly once the debugging

starts.

-Evaluate event condition on exit

If selected,the debugger will evaluate the event condition immediately

before closing the debugging session(once we receive PROCESS_EXITED or

PROCESS_DETACHED event)

-Suspend on process entry point

If selected,the debugger will insert a temporary breakpoint

at the main entry point of the debugged application.

-Suspend on thread start/exit

If selected,the debugger will suspend if a new thread starts

or if an existing thread terminates.

-Suspend on library load/unload

If selected,the debugger will suspend if a new library is

loaded or if a previously loaded library is unloaded.

-Suspend on debugging message

If selected,the debugger will suspend if the debugged application

generates a message destined to the debugger.

Event condition

When one or more debug events(see above)are checked then this

option is used to specify a condition.In the following example,

the debugger will suspend the prcoess whenever a module with the

name test.dll is loaded:

get_event_id()==LIB_LOADED&&strstr(get_event_module_name(),"test.dll")!=-1

Log

-Segment modifications

If selected,the debugger will print information regarding

segment modifications(creation,deletion,or resizing of

segments)since the last event.Note that the debugger

doesn't continuously track segment modifications,but detects

those only if a debugging event occurs.

-Thread start/exit

If selected,the debugger will print a message if a new thread

starts or if an existing thread terminates.

-Library load/unload

if Selected,the debugger will print a message if a new library is

loaded or if a previously loaded library is unloaded.

-Breakpoint

If selected,the debugger will print a message if the debugged process

reaches a breakpoint.

-Debugging message

If selected,the debugger will print debugging messages from

the application.

Options

-Reconstruct the stack

If selected,the debugger will try to reconstruct the chain of stack

frames,based on information available on the stack and in the

function stack variables.

-Show debugger breakpoint instructions

If selected,the debugger will show breakpoint instructions inserted

by the debugger itself.This function is mainly useful if the user

wants to see the real content of the memory.

-Use hardware temporary breakpoints

If selected,IDA will try to use hardware breakpoints for the temporary

breakpoints used to implement the"step over"and"run to"functionality.

This feature is useful when debugging read-only or self-modifying code,

since it does not change the contents of the memory.

IDA will fall back to software breakpoints if the attempt to set a

hardware breakpoint fails.

-Autoload PDB files

If selected,IDA will invoke the PDB plugin to try to load PDB symbols

for every new module loaded into process.

-Set as just-in-time debugger

If changed from off to on,IDA will try to register itself as a

just-in-time debugger(invoked by the system in case of application

crashes)on dialog close.

Edit exceptions

This button allows the user to setup

how the debugger will react to specific exceptions.

Reload exceptions

This button reloads the exception table from the exceptions.cfg

file.

 

以下为中文翻译:

操作名称:SetupDebugger

此对话框允许指定与调试器相关的不同设置。

事件

-在调试开始时挂起

如果选中,调试器将在调试完成后直接挂起

开始。

-评估退出时的事件条件

立即评估事件条件

在关闭调试会话之前(一旦我们收到PROCESS_EXITED或

PROCESS_DETACHED事件)

-挂起进程入口点

如果选中,调试器将插入一个临时断点

在调试应用程序的主入口点。

-在线程启动/退出时挂起

如果选中,调试器将在新线程启动时挂起

或者如果现有线程终止。

-暂停库加载/卸载

如果选中,调试器将在新库出现时暂停

已加载或卸载了先前加载的库。

-暂停调试消息

如果选中,调试器将在被调试的应用程序停止时挂起

生成发往调试器的消息。

事件条件

当检查一个或多个调试事件(见上文)时,则此

选项用于指定条件。在下面的例子中,

每当模块与

名称test.dll已加载:

get_event_id()==LIB_LOADED&&strstr(get_event_module_name(),test.dll)!=-1

日志

-段修改

如果选中,调试器将打印有关的信息

段修改(创建、删除或调整大小

段)自上次活动以来。请注意,调试器

不会连续跟踪片段修改,但会检测

仅当调试事件发生时。

-线程启动/退出

如果选中,调试器将在新线程出现时打印一条消息

启动或现有线程终止。

-库加载/卸载

如果选择了,调试器将在新库被选中时打印一条消息

已加载或卸载了先前加载的库。

-断点

如果选中,调试器将打印一条消息,如果被调试的进程

到达一个断点。

-调试消息

如果选中,调试器将从中打印调试消息

应用程序。

选项

-重建堆栈

堆栈链

帧,基于堆栈和中可用的信息

函数堆栈变量。

-显示调试器断点指令

如果选中,调试器将显示插入的断点指令

由调试器本身。这个功能主要是有用的,如果用户

想看看内存的真实内容。

-使用硬件临时断点

如果选中,IDA将尝试使用硬件断点进行临时

用于实现跨步和运行功能的断点。

此功能在调试只读或自修改代码时很有用,

因为它不会改变内存的内容。

如果尝试设置一个

硬件断点失败。

-自动加载PDB文件

如果选中,IDA将调用PDB插件来尝试加载PDB符号

对于加载到进程中的每个新模块。

-设置为即时调试器

如果从关闭更改为打开,IDA将尝试将自己注册为

即时调试器(在应用程序的情况下由系统调用

崩溃)对话框关闭。

编辑例外

此按钮允许用户设置

调试器将如何对特定异常做出反应。

重新加载异常

exceptions.cfg重新加载异常表文件。

展开阅读全文

标签: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怎么导出C代码 IDA Pro导出的C代码缺少变量声明如何处理
IDA Pro通过Hex-Rays反编译器把机器指令转换为接近C语言的伪代码,并不等于恢复原始工程。处理“IDA Pro怎么导出C代码IDA Pro导出的C代码缺少变量声明如何处理”时,应先修正函数边界、参数类型和局部变量,再执行导出;未经整理的伪代码容易出现声明折叠、变量合并和调用原型错误。
2026-08-04
IDA Pro反编译BIN怎么设置基地址 IDA Pro基地址设置错误后引用关系如何修复
BIN文件通常只保存连续的机器码和数据,不包含处理器类型、加载地址、段表及入口点。使用IDA Pro分析时,基地址一旦设置错误,函数地址、全局变量、跳转目标和交叉引用都会随之偏移。处理“IDA Pro反编译BIN怎么设置基地址IDA Pro基地址设置错误后引用关系如何修复”,应先确认固件实际映射位置,再决定重新加载还是对现有数据库整体重定位。
2026-08-04
IDA Pro反编译APK怎么选择目标架构 IDA Pro加载错误架构的SO文件如何更换
APK中的Java或Kotlin代码主要位于DEX文件,IDA Pro更适合分析其中的本地SO库。同一个安装包可能同时包含ARM、ARM64、x86和x86_64版本,同名SO的指令集、位宽和调用约定并不相同。处理“IDA Pro反编译APK怎么选择目标架构IDA Pro加载错误架构的SO文件如何更换”,应先确认应用实际使用的ABI,再核对ELF位宽和IDA处理器,不能只凭文件名判断。
2026-08-04
IDA Pro反编译SO怎么查找JNI注册函数 IDA Pro动态注册的Native方法如何定位
Android应用中的Native方法有静态注册和动态注册两种形式。静态注册通常能在SO导出表中看到以Java_开头的函数名,动态注册则会在运行时通过RegisterNatives把Java方法名、方法签名和Native函数地址建立对应关系。IDA Pro反编译SO怎么查找JNI注册函数IDA Pro动态注册的Native方法如何定位,重点是找到注册入口、识别JNINativeMethod数组,再沿函数指针进入真正的Native实现。
2026-08-04
IDA Pro反编译DLL怎么修正调用约定 IDA Pro调用约定识别错误会造成什么影响
DLL中的导出函数、内部函数和回调函数可能采用不同的参数传递方式。IDA Pro会根据处理器、编译器特征和调用现场推断函数原型,但优化编译、符号缺失、间接调用及自定义寄存器传参都会影响识别结果。“IDA Pro反编译DLL怎么修正调用约定IDA Pro调用约定识别错误会造成什么影响”涉及函数类型、栈平衡和跨函数数据流等内容。
2026-08-04
IDA Pro反编译C++怎么识别虚函数 IDA Pro虚函数调用关系显示错误如何调整
APK中的Java或Kotlin代码主要位于DEX文件,Native代码通常位于不同ABI目录下的ELF共享库。动态调试时看到大量sub_xxx、loc_xxx或无意义类名,往往不是调试器没有连接成功,而是当前数据库、运行模块与符号文件没有正确对应。处理“IDA Pro动态调试APK怎么加载符号IDA Pro调试APK时符号名称缺失如何补全”时,应先区分DEX符号和Native符号,再按照实际加载地址补充调试信息。
2026-08-04

通过微信咨询我们

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

读者也喜欢这些内容: