angr / cle

CLE Loads Everything (at least, many binary formats!)
BSD 2-Clause "Simplified" License
406 stars 112 forks source link

Modify and save? #107

Closed dakami closed 6 years ago

dakami commented 6 years ago

Any easy path to manipulating the loaded state and saving a new binary?

zardus commented 6 years ago

Check out patcherex (https://github.com/shellphish/patcherex); that's what we used in the CGC. It's a binary rewriting framework based on angr, though it might be a bit too heavyweight, depending on what your needs are.

dakami commented 6 years ago

Yup, that'll do