public interface Backend
| 限定符和类型 | 方法和说明 |
|---|---|
BreakPoint |
addBreakPoint(long address,
BreakPointCallback callback,
boolean thumb) |
long |
context_alloc() |
void |
context_free(long context) |
void |
context_restore(long context) |
void |
context_save(long context) |
void |
debugger_add(DebugHook callback,
long begin,
long end,
Object user_data) |
void |
destroy() |
void |
emu_start(long begin,
long until,
long timeout,
long count) |
void |
emu_stop() |
void |
enableVFP() |
int |
getPageSize() |
void |
hook_add_new(BlockHook callback,
long begin,
long end,
Object user_data) |
void |
hook_add_new(CodeHook callback,
long begin,
long end,
Object user_data) |
void |
hook_add_new(EventMemHook callback,
int type,
Object user_data) |
void |
hook_add_new(InterruptHook callback,
Object user_data) |
void |
hook_add_new(ReadHook callback,
long begin,
long end,
Object user_data) |
void |
hook_add_new(WriteHook callback,
long begin,
long end,
Object user_data) |
void |
mem_map(long address,
long size,
int perms) |
void |
mem_protect(long address,
long size,
int perms) |
byte[] |
mem_read(long address,
long size) |
void |
mem_unmap(long address,
long size) |
void |
mem_write(long address,
byte[] bytes) |
void |
onInitialize() |
byte[] |
reg_read_vector(int regId) |
Number |
reg_read(int regId) |
void |
reg_write_vector(int regId,
byte[] vector) |
void |
reg_write(int regId,
Number value) |
void |
registerEmuCountHook(long emu_count) |
boolean |
removeBreakPoint(long address) |
void |
setFastDebug(boolean fastDebug) |
void |
setSingleStep(int singleStep) |
void |
switchUserMode() |
void onInitialize()
void switchUserMode()
void enableVFP()
Number reg_read(int regId) throws BackendException
BackendExceptionbyte[] reg_read_vector(int regId)
throws BackendException
BackendExceptionvoid reg_write_vector(int regId,
byte[] vector)
throws BackendException
BackendExceptionvoid reg_write(int regId,
Number value)
throws BackendException
BackendExceptionbyte[] mem_read(long address,
long size)
throws BackendException
BackendExceptionvoid mem_write(long address,
byte[] bytes)
throws BackendException
BackendExceptionvoid mem_map(long address,
long size,
int perms)
throws BackendException
BackendExceptionvoid mem_protect(long address,
long size,
int perms)
throws BackendException
BackendExceptionvoid mem_unmap(long address,
long size)
throws BackendException
BackendExceptionBreakPoint addBreakPoint(long address, BreakPointCallback callback, boolean thumb)
boolean removeBreakPoint(long address)
void setSingleStep(int singleStep)
void setFastDebug(boolean fastDebug)
void hook_add_new(CodeHook callback, long begin, long end, Object user_data) throws BackendException
BackendExceptionvoid debugger_add(DebugHook callback, long begin, long end, Object user_data) throws BackendException
BackendExceptionvoid hook_add_new(ReadHook callback, long begin, long end, Object user_data) throws BackendException
BackendExceptionvoid hook_add_new(WriteHook callback, long begin, long end, Object user_data) throws BackendException
BackendExceptionvoid hook_add_new(EventMemHook callback, int type, Object user_data) throws BackendException
BackendExceptionvoid hook_add_new(InterruptHook callback, Object user_data) throws BackendException
BackendExceptionvoid hook_add_new(BlockHook callback, long begin, long end, Object user_data) throws BackendException
BackendExceptionvoid emu_start(long begin,
long until,
long timeout,
long count)
throws BackendException
BackendExceptionvoid emu_stop()
throws BackendException
BackendExceptionvoid destroy()
throws BackendException
BackendExceptionvoid context_restore(long context)
void context_save(long context)
long context_alloc()
void context_free(long context)
int getPageSize()
void registerEmuCountHook(long emu_count)
Copyright © 2022. All rights reserved.