public interface Debugger extends Breaker, DebugHook, BlockHook, Closeable
| 限定符和类型 | 方法和说明 |
|---|---|
BreakPoint |
addBreakPoint(long address) |
BreakPoint |
addBreakPoint(long address,
BreakPointCallback callback) |
BreakPoint |
addBreakPoint(Module module,
long offset) |
BreakPoint |
addBreakPoint(Module module,
long offset,
BreakPointCallback callback) |
BreakPoint |
addBreakPoint(Module module,
String symbol) |
BreakPoint |
addBreakPoint(Module module,
String symbol,
BreakPointCallback callback) |
void |
disassembleBlock(Emulator<?> emulator,
long address,
boolean thumb) |
boolean |
isDebugging() |
<T> T |
run(DebugRunnable<T> runnable) |
void |
setDebugListener(DebugListener listener) |
void |
traceFunctionCall(FunctionCallListener listener) |
void |
traceFunctionCall(Module module,
FunctionCallListener listener)
use with unicorn
|
detach, onAttachBreakPoint addBreakPoint(Module module, String symbol)
BreakPoint addBreakPoint(Module module, String symbol, BreakPointCallback callback)
BreakPoint addBreakPoint(Module module, long offset)
BreakPoint addBreakPoint(Module module, long offset, BreakPointCallback callback)
BreakPoint addBreakPoint(long address)
address - 奇数地址表示thumb断点BreakPoint addBreakPoint(long address, BreakPointCallback callback)
void traceFunctionCall(FunctionCallListener listener)
void traceFunctionCall(Module module, FunctionCallListener listener)
module - null means all modules.void setDebugListener(DebugListener listener)
<T> T run(DebugRunnable<T> runnable) throws Exception
Exceptionboolean isDebugging()
void disassembleBlock(Emulator<?> emulator, long address, boolean thumb)
Copyright © 2022. All rights reserved.