Ledger-Donjon / rainbow

Makes Unicorn traces. Generic Side-Channel and Fault Injection simulator
GNU Lesser General Public License v3.0
172 stars 34 forks source link

Use CLE from angr project to load dynamically linked executable #53

Closed erdnaxe closed 8 months ago

erdnaxe commented 1 year ago

This patch proposes to use CLE as a dynamic library loader.

This enables users to load dynamically linked executable. This greatly simplifies the simulation of programs linked with glibc as one would usually only need to hook calloc, malloc and free functions.

To make this patch fully usable, https://github.com/Ledger-Donjon/rainbow/pull/51 is needed.

yhql commented 1 year ago

Thank you very much, very useful. Do you think cle could replace the other wonky loaders (ELF, PE, ... )? Would be a nice cleanup.

erdnaxe commented 11 months ago

Thank you very much, very useful. Do you think cle could replace the other wonky loaders (ELF, PE, ... )? Would be a nice cleanup.

Would it be okay if I propose to drop peloader and elfloader in this pull request?

yhql commented 11 months ago

Would it be okay if I propose to drop peloader and elfloader in this pull request?

Yes you can :)