unicorn/bindings/vb6
David Zimmer b1739c6a62
vb6 bindings: clarify Apache license as v2.0 (#1563)
2022-03-03 09:35:02 +08:00
..
.gitattributes VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
Apache_2.0_License.txt vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
CMemRegion.cls VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
Form1.frm vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
Project1.vbp vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
Project1.vbw VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
README.txt vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
example_output.txt VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
main.cpp vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
misc.bas VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
msvbvm60.tlh VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
msvbvm60.tli VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
screenshot.png VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
ucIntel32.cls vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
uc_def.bas vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
ucvbshim.sln VB6 bindings and dynload update w/ uc_context* and uc_free api,… (#715) 2017-01-16 09:40:56 +08:00
ucvbshim.vcproj vb bindings remove DYNLOAD (#812) 2017-04-27 20:43:47 +08:00

README.txt

Unicorn engine bindings for VB6 

A sample class for the 32bit x86 emulator is provided.

Contributed by: FireEye FLARE team
Author:         David Zimmer <david.zimmer@fireeye.com>, <dzzie@yahoo.com>
License:        Apache 2.0

' supported api: 
'        ucs_version
'        ucs_arch_supported
'        ucs_open
'        ucs_close
'        uc_reg_write
'        uc_reg_read
'        uc_mem_write
'        UC_MEM_READ
'        uc_emu_start
'        uc_emu_stop
'        ucs_hook_add
'        uc_mem_map
'        uc_hook_del
'        uc_mem_regions
'        uc_mem_map_ptr
'        uc_context_alloc
'        uc_free
'        uc_context_save
'        uc_context_restore
'        uc_mem_unmap
'        uc_mem_protect
'        uc_strerror
'        uc_errno
'
' supported hooks:
'        UC_HOOK_CODE
'        UC_HOOK_BLOCK
'        memory READ/WRITE/FETCH
'        invalid memory access
'        interrupts
'
' bonus:
'        disasm_addr     (conditional compile - uses libdasm)
'        mem_write_block (map and write data auto handles alignment)
'        get_memMap      (wrapper for uc_mem_regions)
'

dependancies: (all in same directory or unicorn package in %windir%)
   vb6Test.exe
     ucvbshim.dll           _
       unicorn.dll           -
         libgcc_s_dw2-1.dll   \
         libiconv-2.dll        \__ unicorn package
         libintl-8.dll         /
         libpcre-1.dll        /
         libwinpthread-1.dll_-

Notes:

   c dll was built using VS2008
   build notes are included at the top of main.c
   this dll serves as a stdcall shim so vb6 can access the cdecl api and receive data from the callbacks.
 
   huge thanks to the unicorn and qemu authors who took on a gigantic task to create this library!