rainbow
rainbow copied to clipboard
Use CLE from angr project to load dynamically linked executable
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.
Thank you very much, very useful.
Do you think cle
could replace the other wonky loaders (ELF, PE, ... )? Would be a nice cleanup.
Thank you very much, very useful. Do you think
cle
could replace the other wonky loaders (ELF, PE, ... )? Would be a nice cleanup.
- For ELF loader, CLE seems to handle more cases than current
elfloader
. - Same for PE loader.
- As far as I know, CLE does not handle a hex loader.
Would it be okay if I propose to drop peloader and elfloader in this pull request?
Would it be okay if I propose to drop peloader and elfloader in this pull request?
Yes you can :)