radareorg / radeco

radare2-based decompiler and symbol executor
371 stars 52 forks source link

Ability to cache intermediate analyses to a file #294

Open chinmaydd opened 5 years ago

chinmaydd commented 5 years ago

Feel like there should be a API to write generated analysis information to a file or a database (similar to .idb) and load from it. We could start with something as simple as writing the generated IR and then maybe when we work on function/variable renaming, we could add that as well.

XVilka commented 5 years ago

We can also do like BAP and write a special cache .

On Thu, Oct 11, 2018, 11:12 PM Chinmay Deshpande notifications@github.com wrote:

Feel like there should be a API to write generated analysis information to a file or a database (similar to .idb) and load from it. We could start with something as simple as writing the generated IR and then maybe when we work on function/variable renaming, we could add that as well.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/radareorg/radeco/issues/49, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMZ_d6SbYdIhF7UYeR_P5--i_dQEmLnks5uj1_rgaJpZM4XXwB1 .

XVilka commented 5 years ago

See https://github.com/BinaryAnalysisPlatform/bap/tree/master/plugins/cache as an example