keystone
keystone copied to clipboard
demo error while #include <llvm/IR/IRBuilder.h>
if I add #include <llvm/IR/IRBuilder.h> at test1.c the demo will crash
/* test1.c */ #include <stdio.h> #include <keystone/keystone.h> #include <llvm/IR/IRBuilder.h> ----------------------------add this line will cause crash // separate assembly instructions by ; or \n #define CODE "INC ecx; DEC edx"