[Tutor] Python Control Flow Graph
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Tue Mar 21 18:51:06 CET 2006
On Tue, 21 Mar 2006, Brian C. Lum wrote:
> I have been looking for a good way to convert python code into a control
> flow graph.
[text cut]
Hi Brian,
I think you may want to ask your question to the pypy folks, since your
question is a bit specialized. Check out pypy, which is an implemenation
of Python in Python:
http://codespeak.net/pypy/dist/pypy/doc/news.html
They've developed tools that I think will be very helpful for you. For
example, pypy's object spaces appear applicable here:
http://codespeak.net/pypy/dist/pypy/doc/objspace.html#the-flow-model
http://codespeak.net/pypy/dist/pypy/doc/objspace.html#introduction
Best of wishes!
More information about the Tutor
mailing list