radare2-capstone icon indicating copy to clipboard operation
radare2-capstone copied to clipboard

Depreciated function calls

Open r0nk opened this issue 10 years ago • 1 comments

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

r0nk avatar Jan 29 '15 18:01 r0nk