mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 21:17:44 +00:00
9cb64915c7
* fix mem_unmap and query for Ruby bindings * ruby bindings: fix issues with GC freeing callbacks while we still have references to them * ruby bindings: add test for garbage collection of hooks * ruby bindings: let the VM garbage collect hooks properly this time * ruby bindings: update garbage collection test to make sure Proc is garbage collected after Uc is collected * ruby bindings: fix m_uc_hook_add to return the ruby VALUE with proper memory management instead of making another one with bad memory management * ruby bindings: fix cb_hook_intr signature * add architecture query * ruby bindings: only treat certain x86 registers specially if we're actually on x86 * only treat certain x86 registers specially if we're actually on x86 (uc_reg_read and uc_reg_write) * ruby bindings: read and write ARM64's 128-bit NEON registers |
||
---|---|---|
.. | ||
unicorn_gem | ||
Makefile | ||
README.md | ||
sample_arm.rb | ||
sample_arm64.rb | ||
sample_m68k.rb | ||
sample_mips.rb | ||
sample_sparc.rb | ||
sample_x86.rb | ||
sample_x86_gdt.rb | ||
test_hook_gc.rb |
Installation
Software requirements
Linux
- ruby >= 1.9.3
- rubygems
- make
- gcc
Mac OS
- ruby >= 1.9.3
- rubygems
- make
- XCode
Install unicorn
- cd path_to_unicorn
- ./make.sh install
Install ruby binding
- cd bindings/ruby
- make install