All Superinterfaces:
com.sun.jna.Library

public interface UnicornLibrary extends com.sun.jna.Library
Declaration of UnicornEngine native routines that will be used by UnicornEngine.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
    static interface 
     

    Nested classes/interfaces inherited from interface com.sun.jna.Library

    com.sun.jna.Library.Handler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final UnicornLibrary
     

    Fields inherited from interface com.sun.jna.Library

    OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    uc_close(com.sun.jna.Pointer uc)
     
    int
    uc_ctl(com.sun.jna.Pointer uc, int control, Object... args)
     
    int
    uc_emu_start(com.sun.jna.Pointer uc, long begin, long until, long timeout, long maxcount)
     
    int
    uc_emu_stop(com.sun.jna.Pointer uc)
     
    int
    uc_errno(com.sun.jna.Pointer uc)
     
    int
    uc_hook_add(com.sun.jna.Pointer uc, com.sun.jna.ptr.PointerByReference hh, int type, com.sun.jna.Callback callback, com.sun.jna.Pointer user_data, long begin, long end, Object... args)
     
    int
    uc_hook_del(com.sun.jna.Pointer uc, com.sun.jna.Pointer hh)
     
    int
    uc_mem_map(com.sun.jna.Pointer uc, long address, long size, int perms)
     
    int
    uc_mem_read(com.sun.jna.Pointer uc, long address, byte[] bytes, long size)
     
    int
    uc_mem_write(com.sun.jna.Pointer uc, long address, byte[] bytes, long size)
     
    int
    uc_open(int arch, int mode, com.sun.jna.ptr.PointerByReference uc)
     
    int
    uc_reg_read(com.sun.jna.Pointer uc, int regid, byte[] value)
     
    int
    uc_reg_write(com.sun.jna.Pointer uc, int regid, byte[] value)
     
    uc_strerror(int code)
     
  • Field Details

  • Method Details

    • uc_open

      int uc_open(int arch, int mode, com.sun.jna.ptr.PointerByReference uc)
    • uc_close

      int uc_close(com.sun.jna.Pointer uc)
    • uc_ctl

      int uc_ctl(com.sun.jna.Pointer uc, int control, Object... args)
    • uc_strerror

      String uc_strerror(int code)
    • uc_errno

      int uc_errno(com.sun.jna.Pointer uc)
    • uc_mem_map

      int uc_mem_map(com.sun.jna.Pointer uc, long address, long size, int perms)
    • uc_mem_write

      int uc_mem_write(com.sun.jna.Pointer uc, long address, byte[] bytes, long size)
    • uc_mem_read

      int uc_mem_read(com.sun.jna.Pointer uc, long address, byte[] bytes, long size)
    • uc_emu_start

      int uc_emu_start(com.sun.jna.Pointer uc, long begin, long until, long timeout, long maxcount)
    • uc_emu_stop

      int uc_emu_stop(com.sun.jna.Pointer uc)
    • uc_reg_write

      int uc_reg_write(com.sun.jna.Pointer uc, int regid, byte[] value)
    • uc_reg_read

      int uc_reg_read(com.sun.jna.Pointer uc, int regid, byte[] value)
    • uc_hook_add

      int uc_hook_add(com.sun.jna.Pointer uc, com.sun.jna.ptr.PointerByReference hh, int type, com.sun.jna.Callback callback, com.sun.jna.Pointer user_data, long begin, long end, Object... args)
    • uc_hook_del

      int uc_hook_del(com.sun.jna.Pointer uc, com.sun.jna.Pointer hh)