bindings/pascal/README.md
Pascal/Delphi language binding for the Unicorn emulator (GitHub).
Unicorn is a lightweight multi-platform, multi-architecture CPU emulator framework based on QEMU.
GPLv2
Mac OSWindowsLinuxWindowsSame API as the C core
with some workarounds for Pascals case insensitivity:
uc_mem_write() -> uc_mem_write_(), uc_mem_read() -> uc_mem_read_()
and the missing feature passing variable number of arguments to functions (...):
i solve it by using -> args : Array of Const;
you can pass args inside [] like :
uc_hook_add(uc, trace, UC_HOOK_INSN, @HookIn, nil, 1,0,[UC_X86_INS_IN];
the main loader in Unicorn_dyn.pas , check X86 example for more info .
Multiplatform (Mac OS , Windows and Linux are tested)
X86 Emulate 16, 32, 64 Bit x861.1
1.0