| Package | Description |
|---|---|
| com.github.unidbg | |
| com.github.unidbg.arm | |
| com.github.unidbg.arm.backend | |
| com.github.unidbg.thread |
| Modifier and Type | Class and Description |
|---|---|
class |
LongJumpException |
class |
StopEmulatorException |
| Modifier and Type | Class and Description |
|---|---|
class |
NestedRun |
| Modifier and Type | Method and Description |
|---|---|
void |
UnicornBackend.debugger_add(DebugHook callback,
long begin,
long end,
Object user_data) |
void |
Backend.debugger_add(DebugHook callback,
long begin,
long end,
Object user_data)
Registers a debugger hook that handles breakpoints and single-step events
within the given address range.
|
void |
UnicornBackend.destroy() |
void |
Backend.destroy()
Releases all resources associated with this backend, including the underlying
engine, mapped memory, and registered hooks.
|
void |
UnicornBackend.emu_start(long begin,
long until,
long timeout,
long count) |
void |
Backend.emu_start(long begin,
long until,
long timeout,
long count)
Starts emulation of machine code.
|
void |
UnicornBackend.emu_stop() |
void |
Backend.emu_stop()
Stops the current emulation.
|
void |
UnicornBackend.hook_add_new(BlockHook callback,
long begin,
long end,
Object user_data) |
void |
Backend.hook_add_new(BlockHook callback,
long begin,
long end,
Object user_data)
Registers a hook that is called at the beginning of each basic block
within the given address range.
|
void |
UnicornBackend.hook_add_new(CodeHook callback,
long begin,
long end,
Object user_data) |
void |
Backend.hook_add_new(CodeHook callback,
long begin,
long end,
Object user_data)
Registers a hook that is called for every instruction executed within the given address range.
|
void |
UnicornBackend.hook_add_new(EventMemHook callback,
int type,
Object user_data) |
void |
Backend.hook_add_new(EventMemHook callback,
int type,
Object user_data)
Registers a hook for invalid memory access events (unmapped or protection violations).
|
void |
UnicornBackend.hook_add_new(InterruptHook callback,
Object user_data) |
void |
Backend.hook_add_new(InterruptHook callback,
Object user_data)
Registers a hook for CPU interrupt/exception events (SVC, HVC, etc.).
|
void |
UnicornBackend.hook_add_new(ReadHook callback,
long begin,
long end,
Object user_data) |
void |
Backend.hook_add_new(ReadHook callback,
long begin,
long end,
Object user_data)
Registers a hook for memory read events within the given address range.
|
void |
UnicornBackend.hook_add_new(WriteHook callback,
long begin,
long end,
Object user_data) |
void |
Backend.hook_add_new(WriteHook callback,
long begin,
long end,
Object user_data)
Registers a hook for memory write events within the given address range.
|
void |
UnicornBackend.mem_map(long address,
long size,
int perms) |
void |
Backend.mem_map(long address,
long size,
int perms)
Maps a region of emulated memory.
|
void |
UnicornBackend.mem_protect(long address,
long size,
int perms) |
void |
Backend.mem_protect(long address,
long size,
int perms)
Changes the access permissions of an existing memory mapping.
|
byte[] |
UnicornBackend.mem_read(long address,
long size) |
byte[] |
Backend.mem_read(long address,
long size)
Reads a range of bytes from emulated memory.
|
void |
UnicornBackend.mem_unmap(long address,
long size) |
void |
Backend.mem_unmap(long address,
long size)
Unmaps a previously mapped memory region and releases the associated host memory.
|
void |
UnicornBackend.mem_write(long address,
byte[] bytes) |
void |
Backend.mem_write(long address,
byte[] bytes)
Writes a byte array into emulated memory.
|
byte[] |
UnicornBackend.reg_read_vector(int regId) |
byte[] |
Backend.reg_read_vector(int regId)
Reads a 128-bit SIMD/FP vector register.
|
Number |
UnicornBackend.reg_read(int regId) |
Number |
Backend.reg_read(int regId)
Reads the value of a CPU register.
|
void |
UnicornBackend.reg_write_vector(int regId,
byte[] vector) |
void |
Backend.reg_write_vector(int regId,
byte[] vector)
Writes a 128-bit SIMD/FP vector register.
|
void |
UnicornBackend.reg_write(int regId,
Number value) |
void |
Backend.reg_write(int regId,
Number value)
Writes a value to a CPU register.
|
void |
AbstractBackend.removeJitCodeCache(long begin,
long end) |
void |
Backend.removeJitCodeCache(long begin,
long end)
Invalidates the JIT code cache for the specified address range.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PopContextException |
class |
ThreadContextSwitchException |
Copyright © 2026. All rights reserved.