radare/radare2-capstone

Depreciated function calls

Opened this issue · 1 comments

r0nk commented

Much of the code appears to rely on depreciated function calls, here's my make output

cc -fPIC -c -I/usr/include/libr  -I/usr/include/capstone  -g anal_x86_cs.c
anal_x86_cs.c:12:2: error: #error Old Capstone not supported
 #error Old Capstone not supported
  ^
anal_x86_cs.c: In function 'analop':
anal_x86_cs.c:27:3: warning: 'cs_disasm_ex' is deprecated (declared at /usr/include/capstone/capstone.h:445) [-Wdeprecated-declarations]
   n = cs_disasm_ex (handle, (const ut8*)buf, len, addr, 1, &insn);
   ^
Makefile:35: recipe for target 'anal_x86_cs.o' failed
make[3]: *** [anal_x86_cs.o] Error 1

This repo is unmaintained and old. Current code lives in master branch of radare2. I'll maintain the vala bindings at some point and remove this repo

On 29 Jan 2015, at 19:25, r0nk notifications@github.com wrote:

Much of the code appears the rely on depreciated function calls, here's my make output

cc -fPIC -c -I/usr/include/libr -I/usr/include/capstone -g anal_x86_cs.c
anal_x86_cs.c:12:2: error: #error Old Capstone not supported
#error Old Capstone not supported
^
anal_x86_cs.c: In function 'analop':
anal_x86_cs.c:27:3: warning: 'cs_disasm_ex' is deprecated (declared at /usr/include/capstone/capstone.h:445) [-Wdeprecated-declarations]
n = cs_disasm_ex (handle, (const ut8_)buf, len, addr, 1, &insn);
^
Makefile:35: recipe for target 'anal_x86_cs.o' failed
make[3]: *_* [anal_x86_cs.o] Error 1

Reply to this email directly or view it on GitHub.