angr / angr-management

The official angr GUI.
https://docs.angr.io/projects/angr-management/en/latest/
BSD 2-Clause "Simplified" License
911 stars 110 forks source link

Ability to reload an externally modified artifact on the fly while it is being analyzed #1322

Open dariox86 opened 2 months ago

dariox86 commented 2 months ago

Description

I need to analyze an executable file while I modify its source code and recompile it with an external compiler. In the process, I need to perform this operation very often. Both IDA Free and Cutter implement this feature. The changes should reflect on the artifact while it is already loaded.

Alternatives

Perhaps there is an extension or an API to accomplish this or, maybe, a feature I have not found.

Additional context

No response

twizmwazin commented 2 months ago

I don't think the current plugin system has an interface that would handle this well, but I agree that this would be nice to have. Shouldn't be too hard, as I believe cle already saves its loader config, so a clean reload from the same binary should be easy. I'm not sure how easy it would be to preserve other information, such as function names.