AFLplusplus/LibAFL

DeExit for latest MacOS

Open

#922 opened on Dec 1, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (476 forks)github user discovery
enhancementhelp wantedmacos

Repository metrics

Stars
 (2,615 stars)
PR merge metrics
 (Avg merge 17d 22h) (10 merged PRs in 30d)

Description

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

Contributor guide