unicorn.unicorn

Undocumented in source.

Members

Aliases

uc_cb_eventmem_t
alias uc_cb_eventmem_t = bool function(uc_engine* uc, uc_mem_type type, ulong address, int size, long value, void* user_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_cb_hookcode_t
alias uc_cb_hookcode_t = void function(uc_engine* uc, ulong address, uint size, void* user_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_cb_hookintr_t
alias uc_cb_hookintr_t = void function(uc_engine* uc, uint intno, void* user_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_cb_hookmem_t
alias uc_cb_hookmem_t = void function(uc_engine* uc, uc_mem_type type, ulong address, int size, long value, void* user_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_cb_insn_in_t
alias uc_cb_insn_in_t = uint function(uc_engine* uc, uint port, int size, void* user_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_cb_insn_out_t
alias uc_cb_insn_out_t = void function(uc_engine* uc, uint port, int size, uint value, void* user_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

uc_arch
enum uc_arch

Architecture type

uc_err
enum uc_err

All type of errors encountered by Unicorn API. These are values returned by uc_errno()

uc_hook_type
enum uc_hook_type

All type of hooks for uc_hook_add() API.

uc_mem_type
enum uc_mem_type

All type of memory accesses for UC_HOOK_MEM_*

uc_mode
enum uc_mode

Mode type

uc_prot
enum uc_prot
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_query_type
enum uc_query_type

All type of queries for uc_query() API.

Functions

UC_MAKE_VERSION
int UC_MAKE_VERSION(int major, int minor)
Undocumented in source. Be warned that the author may not have intended to support it.
uc_arch_supported
bool uc_arch_supported(uc_arch arch)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_close
uc_err uc_close(uc_engine* uc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_context_alloc
uc_err uc_context_alloc(uc_engine* uc, uc_context** context)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_context_restore
uc_err uc_context_restore(uc_engine* uc, uc_context* context)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_context_save
uc_err uc_context_save(uc_engine* uc, uc_context* context)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_emu_start
uc_err uc_emu_start(uc_engine* uc, ulong begin, ulong until, ulong timeout, size_t count)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_emu_stop
uc_err uc_emu_stop(uc_engine* uc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_errno
uc_err uc_errno(uc_engine* uc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_free
uc_err uc_free(void* mem)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_hook_add
uc_err uc_hook_add(uc_engine* uc, uc_hook* hh, int type, void* callback, void* user_data, ulong begin, ulong end, ...)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_hook_del
uc_err uc_hook_del(uc_engine* uc, uc_hook hh)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_map
uc_err uc_mem_map(uc_engine* uc, ulong address, size_t size, uint perms)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_map_ptr
uc_err uc_mem_map_ptr(uc_engine* uc, ulong address, size_t size, uint perms, void* ptr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_protect
uc_err uc_mem_protect(uc_engine* uc, ulong address, size_t size, uint perms)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_read
uc_err uc_mem_read(uc_engine* uc, ulong address, void* bytes, size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_regions
uc_err uc_mem_regions(uc_engine* uc, uc_mem_region** regions, uint* count)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_unmap
uc_err uc_mem_unmap(uc_engine* uc, ulong address, size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_write
uc_err uc_mem_write(uc_engine* uc, ulong address, void* bytes, size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_open
uc_err uc_open(uc_arch arch, uc_mode mode, uc_engine** uc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_query
uc_err uc_query(uc_engine* uc, uc_query_type type, size_t* result)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_reg_read
uc_err uc_reg_read(uc_engine* uc, int regid, void* value)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_reg_read_batch
uc_err uc_reg_read_batch(uc_engine* uc, int* regs, void** vals, int count)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_reg_write
uc_err uc_reg_write(uc_engine* uc, int regid, void* value)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_reg_write_batch
uc_err uc_reg_write_batch(uc_engine* uc, int* regs, void** vals, int count)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_strerror
const(char)* uc_strerror(uc_err code)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_version
uint uc_version(uint* major, uint* minor)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

UC_API_MAJOR
enum UC_API_MAJOR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UC_API_MINOR
enum UC_API_MINOR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UC_MILISECOND_SCALE
enum UC_MILISECOND_SCALE;

1 milisecond = 1000 nanoseconds

UC_SECOND_SCALE
enum UC_SECOND_SCALE;

Scales to calculate timeout on microsecond unit 1 second = 1000,000 microseconds

UC_VERSION_EXTRA
enum UC_VERSION_EXTRA;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
UC_VERSION_MAJOR
enum UC_VERSION_MAJOR;

Unicorn package version

UC_VERSION_MINOR
enum UC_VERSION_MINOR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

uc_context
struct uc_context

Opaque storage for CPU context, used with uc_context_*()

uc_engine
struct uc_engine
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_hook
struct uc_hook
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
uc_mem_region
struct uc_mem_region
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta