From: Nguyen A. Q. <aq...@gm...> - 2014-09-25 23:24:11
|
On Fri, Sep 26, 2014 at 12:59 AM, David Brumley <dbr...@cm...> wrote: > Hi, > Capstone looks like a really cool engine for parsing instructions. You > mentioned it was a port from LLVM. > yes, see our Blackhat slides: http://capstone-engine.org/BHUSA2014-capstone.pdf i saw BAP tries to implement some independent disassembler inside, which is not right thing to do on engineering-wise, IMHO. BAP can switch to use Capstone, which already has Ocaml binding in "v3" branch https://github.com/aquynh/capstone/tree/v3/bindings/ocaml (we will release new version 3.0 soon with Ocaml binding inside) > One question I have is whether there is a way to update capstone as LLVM > is updated, e.g., suppose LLVM updates an instruction, is there a way to > automatically incorporate this into capstone? It looks like you might be > using tblgen as a basis; is there code around this that I'm not seeing in > the project? > yes, we try to do everything automatically, but the process of updating Capstone is still partly manual. this is the target, but not priority at the moment. thanks, Quynh > |