<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
In Clang tools, you can use CFG class (search for CFG.cpp, CFG.h).
However, I'm not sure if it is available with Python bindings.<br>
<br>
<br>
23.05.2016 22:28, shr dev via cfe-dev пишет:<br>
</div>
<blockquote
cite="mid:CAHPiciwE7VF0oSvHOiocyk5u8rKO_+uM8cWBg72u0XHZfy_heA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi everyone,</div>
<div><br>
</div>
<div>I am trying to build a C static analysis tool and in order
to make some procedures I need to build Control Flow Graphs. I
am using clang for parsing the c files and building the AST,
in particular I am working with python bindings. I was
wondering if there is any way to build and interact with a
Control Flow Graph in the same way I can do it throught the
AST with pyhton bindings. </div>
<div>I inspected the files and I realized that with python
bindings this is not possible (maybe I am wrong since I am a
little newbie). Maybe exist another way to do it, can you help
me with that? </div>
<div><br>
</div>
<div>Thank you so much, I hope this is the right place for this
type of questions.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>