mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 19:38:09 +00:00
illumos littlefixes: little typo for cpu binding and
even tough gcc plugin less good than LLVM, clang is more buggy on this os.
This commit is contained in:
@ -70,9 +70,14 @@ ifeq "$(TEST_MMAP)" "1"
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq "$(shell uname -s)" "Haiku"
|
ifneq "$(shell uname -s)" "Haiku"
|
||||||
LDFLAGS += -lrt
|
LDFLAGS += -lrt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq "$(shell uname -s)" "SunOS"
|
||||||
|
PLUGIN_FLAGS += -I/usr/include/gmp
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
PROGS = ../afl-gcc-fast ../afl-gcc-pass.so ../afl-gcc-rt.o
|
PROGS = ../afl-gcc-fast ../afl-gcc-pass.so ../afl-gcc-rt.o
|
||||||
|
|
||||||
|
|
||||||
|
@ -398,7 +398,7 @@ if (pset_bind(c, P_PID, getpid(), NULL)) {
|
|||||||
|
|
||||||
if (cpu_start == afl->cpu_core_count)
|
if (cpu_start == afl->cpu_core_count)
|
||||||
PFATAL("pset_bind failed for cpu %d, exit", i);
|
PFATAL("pset_bind failed for cpu %d, exit", i);
|
||||||
WARNF("pthread_setaffinity failed to CPU %d, trying next CPU", i);
|
WARNF("pset_bind failed to CPU %d, trying next CPU", i);
|
||||||
cpu_start++;
|
cpu_start++;
|
||||||
goto try
|
goto try
|
||||||
;
|
;
|
||||||
|
Reference in New Issue
Block a user