AFLplusplus/LibAFL

DeExit for latest MacOS

Aperta

#922 aperta il 1 dic 2022

 (1 commento) (0 reazioni) (0 assegnatari)Rust (479 fork)github user discovery
enhancementhelp wantedmacos

Metriche repository

Star
 (2621 stelle)
Metriche merge PR
 (Merge medio 17g 22h) (10 PR mergiate in 30 g)

Descrizione

Apple seems to have killed their LD_PRELOAD-like honking on the latest MacOS, see: https://github.com/AFLplusplus/AFLplusplus/issues/1594#issuecomment-1326414145

As suggested in that thread, we might try calls-interposing to replace exits with abort, or, alternatively, find a pre-exit hook for MacOS.

Interposing docs: https://opensource.apple.com/source/dyld/dyld-733.6/include/mach-o/dyld-interposing.h.auto.html

Guida contributor