public final class Whale extends BaseHook implements IWhale
| Modifier and Type | Method and Description |
|---|---|
static IWhale |
getInstance(Emulator<?> emulator) |
void |
importHookFunction(String symbol,
ReplaceCallback callback)
当前对android无效,参考:https://github.com/asLody/whale/blob/master/whale/src/whale.cc,只支持苹果
|
void |
importHookFunction(String symbol,
ReplaceCallback callback,
boolean enablePostCall) |
void |
inlineHookFunction(long address,
ReplaceCallback callback) |
void |
inlineHookFunction(long address,
ReplaceCallback callback,
boolean enablePostCall) |
void |
inlineHookFunction(Symbol symbol,
ReplaceCallback callback) |
void |
inlineHookFunction(Symbol symbol,
ReplaceCallback callback,
boolean enablePostCall) |
void |
replace(long functionAddress,
ReplaceCallback callback) |
void |
replace(long functionAddress,
ReplaceCallback callback,
boolean enablePostCall) |
void |
replace(long functionAddress,
Svc svc) |
void |
replace(Symbol symbol,
ReplaceCallback callback) |
void |
replace(Symbol symbol,
ReplaceCallback callback,
boolean enablePostCall) |
void |
replace(Symbol symbol,
Svc svc) |
createReplacePointer, getModule, resolveLibrarypublic void inlineHookFunction(long address,
ReplaceCallback callback)
inlineHookFunction in interface IWhalepublic void inlineHookFunction(Symbol symbol, ReplaceCallback callback)
inlineHookFunction in interface IWhalepublic void replace(long functionAddress,
ReplaceCallback callback)
replace in interface InlineHookpublic void replace(Symbol symbol, ReplaceCallback callback)
replace in interface InlineHookpublic void replace(long functionAddress,
ReplaceCallback callback,
boolean enablePostCall)
replace in interface InlineHookpublic void replace(Symbol symbol, ReplaceCallback callback, boolean enablePostCall)
replace in interface InlineHookpublic void inlineHookFunction(long address,
ReplaceCallback callback,
boolean enablePostCall)
inlineHookFunction in interface IWhalepublic void replace(long functionAddress,
Svc svc)
replace in interface InlineHookpublic void replace(Symbol symbol, Svc svc)
replace in interface InlineHookpublic void inlineHookFunction(Symbol symbol, ReplaceCallback callback, boolean enablePostCall)
inlineHookFunction in interface IWhalepublic void importHookFunction(String symbol, ReplaceCallback callback)
IWhaleimportHookFunction in interface IWhalepublic void importHookFunction(String symbol, ReplaceCallback callback, boolean enablePostCall)
importHookFunction in interface IWhaleCopyright © 2026. All rights reserved.