angr / angr/angr-management

Add re-compilation feature to decompilation view

Aperta
#729 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
feature
Lingua principale
Python
Stelle
1.2k
Fork
131
Merge medio
1g 11h
PR unite (30g)
14

Descrizione

To achieve decompilation of a binary closer, or possibly identical, to original source and to discover subtle bugs in re-implementation, I've automated a simple workflow of adjusting source + compiling + binary diffing. I think this could make for a useful angr-management feature.

A new option to the pseudocode view would be added that allows the user to enable re-compilation and specify compiler options. Whenever a tweak is made that prompts pseudocode regeneration, it is automatically recompiled and a diff against the original is displayed.

What my script displays: ![Screenshot from 2022-08-06 16-43-13](https://user-images.githubusercontent.com/8210/183269824-69d4d601-903a-4b93-ad73-84be84ea7942.png)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.