From: Nguyen A. Q. <aq...@gm...> - 2015-10-14 05:57:43
|
On Wed, Oct 14, 2015 at 1:50 PM, Shubham Tripathi <shu...@gm...> wrote: > Hello everyone, > > I am analyzing crash dumps using capstone. Is there a feature to generate > control flow graphs in capstone? Kindly let me know the API for this. I am > interested in an ingestible graph. > > no, Capstone is only for disassembling. So to do what you want, you have to generate the CFG yourself by analyzing basic blocks, tracking indirect branches, etc > If not then how can I use capstone to generate a CFG. Please point me to > some resources. > it is a good idea to learn how to do this from open source projects. a simple project like this: https://github.com/lawlrenz/recursive_disassembler you can find a lot more projects on binary analysis at http://www.capstone-engine.org/showcase.html hope this helps. Quynh |