draperlaboratory / VIBES

Verified, Incremental, Binary Editing with Synthesis
MIT License
51 stars 1 forks source link

Fixed failing parse_c unit tests. #133

Closed jtpaasch closed 3 years ago

jtpaasch commented 3 years ago

Tests passing now (so fixing #119). The trick is to ensure that Project.create is not called before Bap_main.init ().

Apart from a few stylistic changes, the important changes I made to ensure that the parse_c unit tests pass are these:

codyroux commented 3 years ago

Not exactly how I would have done it (I would have just added a unit argument to delay evaluation) but this works just as well, and looks great.

Approved.