public interface Debugger extends Breaker, DebugHook, BlockHook
| Modifier and Type | Method and Description |
|---|---|
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 |
addMcpTool(String name,
String description,
String... paramNames) |
void |
close() |
void |
disassembleBlock(Emulator<?> emulator,
long address,
boolean thumb) |
Map<Long,BreakPoint> |
getBreakPoints() |
boolean |
hasRunnable() |
boolean |
isDebugging() |
boolean |
removeBreakPoint(long address) |
<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 hasRunnable()
boolean isDebugging()
void disassembleBlock(Emulator<?> emulator, long address, boolean thumb)
boolean removeBreakPoint(long address)
Map<Long,BreakPoint> getBreakPoints()
void close()
Copyright © 2026. All rights reserved.