Remove debugging code
This commit is contained in:
parent
e60fc8c2ff
commit
8deb0438c4
5
mjit_c.c
5
mjit_c.c
@ -41,12 +41,9 @@
|
|||||||
// macOS: brew install capstone
|
// macOS: brew install capstone
|
||||||
// Ubuntu/Debian: apt-get install libcapstone-dev
|
// Ubuntu/Debian: apt-get install libcapstone-dev
|
||||||
// Fedora: dnf -y install capstone-devel
|
// Fedora: dnf -y install capstone-devel
|
||||||
//#ifdef HAVE_LIBCAPSTONE
|
#ifdef HAVE_LIBCAPSTONE
|
||||||
#if 1
|
|
||||||
#include <capstone/capstone.h>
|
#include <capstone/capstone.h>
|
||||||
|
|
||||||
#define CODE "\x55\x48\x8b\x05\xb8\x13\x00\x00"
|
|
||||||
|
|
||||||
// Return an array of [address, mnemonic, op_str]
|
// Return an array of [address, mnemonic, op_str]
|
||||||
static VALUE
|
static VALUE
|
||||||
dump_disasm(rb_execution_context_t *ec, VALUE self, VALUE from, VALUE to)
|
dump_disasm(rb_execution_context_t *ec, VALUE self, VALUE from, VALUE to)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user