Ollydbg简明使用指南

发布时间:2025-12-10 11:19:35 浏览次数:11

OllyDebug,简称OD,一种反汇编软件,动态追踪工具,将IDA与SoftICE结合起来的思想,Ring 3 级的调试器。OllyDebug的使用界面是可视化操作。

英文版

Read this for quick start. Consult help file for details and more features.

Installation is not necessary. Create new directory and unpack odbg110.zip - now you can start!

Pop-up menus display only items that apply. Frequently used menu functions:
 

FunctionWindowMenu commandShortcut
Edit memory as binary, ASCII or UNICODE stringDisassembler, Stack
Dump
Binary|EditCtrl+E
Undo changesDisassembler, Dump
Registers
Undo selection
Undo
Alt+BkSp
Run applicationMainDebug|RunF9
Run to selectionDisassemblerBreakpoint|Run to selectionF4
Execute till returnMainDebug|Execute till returnCtrl+F9
Execute till user codeMainDebug|Execute till user codeAlt+F9
Set/reset INT3 breakpointDisassembler
Names, Source
Breakpoint|Toggle
Toggle breakpoint
F2
Set/edit conditional INT3 breakpointDisassembler
Names, Source
Breakpoint|Conditional
Conditional breakpoint
Shift+F2
Set/edit conditional logging breakpoint (logs into the Log window)Disassembler
Names, Source
Breakpoint|Conditional log
Conditional log breakpoint
Shift+F4
Temporarily disable/restore INT3 breakpointBreakpointsDisable
Enable
Space
Set memory breakpoint (only one is allowed)Disassembler, DumpBreakpoint|Memory, on access
Breakpoint|Memory, on write
Remove memory breakpointDisassembler, DumpBreakpoint|Remove memory breakpoint
Set hardware breakpoint (ME/NT/2000 only)Disassembler, DumpBreakpoint|Hardware (select type and size!)
Remove hardware breakpointMainDebug|Hardware breakpoints
Set single-short break on access to memory block (NT/2000 only)MemorySet break-on-accessF2 
Set break on module, thread, debug string OptionsEvents
Set new originDisassemblerNew origin here
Display list of all symbolic namesDisassembler, Dump
Modules
Search for|Name (label)
View names
Ctrl+N
Context-sensitive help (requires external help file!)Disassembler, NamesHelp on symbolic nameCtrl+F1
Find all references in code to selected address rangeDisassembler
Dump
Find references to|Command
Find references
Ctrl+R
Find all references in code to the constantDisassemblerFind references to|Constant
Search for|All constants
Search whole allocated memoryMemory Search
Search next

Ctrl+L
Go to address or value of expressionDisassembler
Dump
Go to|Expression
Go to expression
Ctrl+G
Go to previous address/run trace itemDisassemblerGo to|PreviousMinus
Go to next address/run trace itemDisassemblerGo to|NextPlus
Go to previous procedureDisassemblerGo to|Previous procedureCtrl+Minus
Go to next procedureDisassemblerGo to|Next procedureCtrl+Plus
View executable fileDisassembler, Dump, ModulesView|Executable file
Copy changes to executable fileDisassemblerCopy to executable file
Analyse executable codeDisassemblerAnalysis|Analyse codeCtrl+A
Scan object files and librariesDisassemblerScan object filesCtrl+O
View resourcesModules, MemoryView all resources
View resource strings
Suspend/resume threadThreadsSuspend
Resume
Display relative addressesDisassembler, Dump, StackDoubleclick address
CopyMost of windowsCopy to clipboardCtrl+C

Frequently used global shortcuts:
 

Ctrl+F2Restart program
Alt+F2Close program
F3Open new program
F5Maximize/restore active window
Alt+F5Make OllyDbg topmost
F7Step into (entering functions)
Ctrl+F7Animate into (entering functions)
F8Step over (executing function calls at once)
Ctrl+F8Animate over (executing function calls at once)
F9Run
Shift+F9Pass exception to standard handler and run
Ctrl+F9Execute till return
Alt+F9Execute till user code
Ctrl+F11Trace into
F12Pause
Ctrl+F12Trace over
Alt+BOpen Breakpoints window
Alt+COpen CPU window
Alt+EOpen Modules window
Alt+LOpen Log window
Alt+MOpen Memory window
Alt+OOpen Options dialog
Ctrl+TSet condition to pause Run trace
Alt+XClose OllyDbg

Frequently used Disasembler shortcuts:
 

F2Toggle breakpoint
Shift+F2Set conditional breakpoint
F4Run to selection
Alt+F7Go to previous reference
Alt+F8Go to next reference
Ctrl+AAnalyse code
Ctrl+BStart binary search
Ctrl+CCopy selection to clipboard
Ctrl+EEdit selection in binary format
Ctrl+FSearch for a command
Ctrl+GFollow expression
Ctrl+JShow list of jumps to selected line
Ctrl+KView call tree
Ctrl+LRepeat last search
Ctrl+NOpen list of labels (names)
Ctrl+OScan object files
Ctrl+RFind references to selected command
Ctrl+SSearch for a sequence of commands
Asterisk (*)Origin
EnterFollow jump or call
Plus (+)Go to next location/next run trace item
Minus (-)Go to previous location/previous run trace item
Space (  )Assemble
Colon (:)Add label
Semicolon (;)Add comment

中文版

阅读这篇文章来快速入门。有关详细信息和更多功能,请参阅帮助文件。

不需要安装。创建新目录并解压缩odbg110.zip -现在可以开始了!

弹出式菜单只显示适用的项目。常用菜单功能:

功能窗口菜单命令快捷方式

编辑内存为二进制,ASCII或UNICODE字符串反汇编程序,堆栈

编辑二进制|按ctrl +E

撤销更改反汇编程序,转储

撤销选择

撤销alt + BkSp

运行application main debug |执行f9

运行到选择反汇编断点|运行到选择f4

执行直到返回主调试|执行直到返回ctrl +F9

执行至用户代码主调试|执行至用户代码alt +F9

设置/重置INT3断点反汇编程序

名称,源断点|切换

切换断点f2

设置/编辑条件INT3断点反汇编程序

名称、源断点|条件必选

条件断点shift +F2

设置/编辑条件日志断点(日志到日志窗口)反汇编程序

名称、源断点|条件必选日志

条件日志断点shift +F4

临时禁用/恢复INT3断点禁用

使空间

设置内存断点(只允许一个)反汇编程序,转储断点|内存,访问

断点|内存,写入时

删除内存断点反汇编程序,转储断点|删除内存断点

设置硬件断点(仅限ME/NT/2000)

主要调试|硬件断点

Set single short break on access to memory block (NT/2000 only

在模块、线程、调试字符串选项事件上设置中断

在这里设置新的原点

显示列表的所有符号名称反汇编,转储

模块搜索|名称(label)

查看名称ctrl +N

上下文敏感的帮助(需要外部帮助文件!)反汇编程序,名称帮助的符号名称ctrl +F1

在代码中找到所选地址范围的所有引用反汇编程序

dump查找|命令的参考信息

查找参考资料ctrl +R

查找代码中对常量disassembler的所有引用

搜索|所有常量

搜索整个已分配内存

搜索下一个

Ctrl + L

转到表达式反汇编程序的地址或值

dump转到|表达式

切换到表达式ctrl +G

进入上一个地址/运行跟踪项目反汇编进入|上一个减去

转到下一个地址/运行跟踪项目反汇编转到|下一个加

执行上一步操作反汇编程序执行|上一步操作ctrl +Minus

转到下一个步骤反汇编转到|下一个步骤按ctrl + +

查看可执行文件disassembler, Dump, modules查看|可执行文件

复制更改到可执行文件反汇编复制到可执行文件

分析可执行代码反汇编分析|分析代码ctrl +A

扫描对象文件和库反汇编扫描对象文件ctrl +O

查看资源模块、内存查看所有资源

查看资源字符串

Suspend/resume thread线程暂停

重新开始

显示相对地址反汇编程序,转储,堆栈双击地址

复制大部分窗口复制到剪贴板ctrl +C

常用的全局快捷键:

Ctrl+ f2重启程序

Alt+ f2关闭程序

f3打开新程序

f5最大化/恢复活动窗口

Alt+ f5使OllyDbg顶部

f7 step into(输入函数)

Ctrl+ f7 animate into(进入函数)

f8过渡(一次执行函数调用)

Ctrl+ f8动画结束(一次执行函数调用)

f9运行

Shift+ f9将异常传递给标准处理器并运行

Ctrl+ f9执行直到返回

Alt+ f9执行至用户代码

Ctrl+ f11 trace into

f12暂停

Ctrl+ f12跟踪结束

Alt+ b打开断点窗口

Alt+ c打开“CPU”窗口

Alt+ e打开“模块”窗口

Alt+ l打开日志窗口

Alt+ m打开内存窗口

Alt+ o打开选项对话框

Ctrl+ t设置条件暂停运行跟踪

Alt+ x关闭OllyDbg

常用的反汇编器快捷方式:

f2切换断点

Shift+ f2设置条件断点

f4跑到选择区

Alt+ f7返回之前的参考

Alt+ f8进入下一个参考

Ctrl+ a分析代码

Ctrl+ b开始二分查找

Ctrl+ c复制选择到剪贴板

按Ctrl+ e编辑二进制格式的选择

Ctrl+ f搜索命令

Ctrl+ g跟随表达式

Ctrl+ j显示跳转到选定行的列表

Ctrl+ k查看调用树

Ctrl+ l重复上次搜索

Ctrl+ n打开标签列表(名称)

Ctrl+ o扫描目标文件

Ctrl+ r查找所选命令的引用

Ctrl+ s搜索命令序列

需要做网站?需要网络推广?欢迎咨询客户经理 13272073477