mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 11:58:08 +00:00
fix afl_preload issues on macos
This commit is contained in:
@ -17,6 +17,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
configuration settings for fuzzing, for Linux and Macos.
|
configuration settings for fuzzing, for Linux and Macos.
|
||||||
thanks to jhertz!
|
thanks to jhertz!
|
||||||
- added xml, curl and exotic string functions to llvm dictionary features
|
- added xml, curl and exotic string functions to llvm dictionary features
|
||||||
|
- fix AFL_PRELOAD issues on MacOS
|
||||||
- removed utils/afl_frida because frida_mode/ is now so much better
|
- removed utils/afl_frida because frida_mode/ is now so much better
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ and depend mostly on user feedback.
|
|||||||
To build AFL, install llvm (and perhaps gcc) from brew and follow the general
|
To build AFL, install llvm (and perhaps gcc) from brew and follow the general
|
||||||
instructions for Linux. If possible avoid Xcode at all cost.
|
instructions for Linux. If possible avoid Xcode at all cost.
|
||||||
|
|
||||||
`brew install wget git make cmake llvm`
|
`brew install wget git make cmake llvm gdb`
|
||||||
|
|
||||||
Be sure to setup PATH to point to the correct clang binaries and use the
|
Be sure to setup PATH to point to the correct clang binaries and use the
|
||||||
freshly installed clang, clang++ and gmake, e.g.:
|
freshly installed clang, clang++ and gmake, e.g.:
|
||||||
|
@ -1398,6 +1398,9 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
|
|
||||||
afl->fsrv.use_fauxsrv = afl->non_instrumented_mode == 1 || afl->no_forkserver;
|
afl->fsrv.use_fauxsrv = afl->non_instrumented_mode == 1 || afl->no_forkserver;
|
||||||
|
|
||||||
|
check_crash_handling();
|
||||||
|
check_cpu_governor(afl);
|
||||||
|
|
||||||
if (getenv("LD_PRELOAD")) {
|
if (getenv("LD_PRELOAD")) {
|
||||||
|
|
||||||
WARNF(
|
WARNF(
|
||||||
@ -1498,8 +1501,6 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_crash_handling();
|
|
||||||
check_cpu_governor(afl);
|
|
||||||
|
|
||||||
get_core_count(afl);
|
get_core_count(afl);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user