BinaryAnalysisPlatform/bap — pull request #40 by ivg (2014-12-08 23:20:29+00:00)
Title: A proposal for BIL Python representation.

This is a proposed python interface to BAP BIL for discussion with those who are interested, especially for those who are subscribed to #4.

The API follows closely the OCaml definitions and tries to provide comparable facilities, with a `Visitor` pattern.

Although, it is not strictly a part of the interface, but I'm going to dump data from the OCaml side in a python representation, so that it
can be loaded on the python side using `eval`. In other words, I will print BIL as valid python expression, like David has proposed.

I've evaluated other solutions, like using json and xml, and found them to costly to use and to implement.

Note: this is a discussion PR, I'm not going to merge it.