zznop / drow

Injects code into ELF executables post-build
MIT License
222 stars 37 forks source link

Fix for drow crash on some binaries #5

Closed zznop closed 4 years ago

zznop commented 4 years ago

The binaries that were used to repro this crash contain a RX segment with no sections in it. This commit adds a check to ensure that the last section is found in the RX segment. If it is not, it continues parsing program headers in attempt to find a second RX segment.

Closes #4