===> Building for afl++-4.35c [*] Compiling AFL++ for OS Darwin on ARCH arm64 [+] ZLIB detected [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [+] shmat seems to be working. [+] Python 3.13.12 support seems to be working. [+] Everything seems to be working, ready to compile. (Apple clang version 15.0.0 (clang-1500.3.9.4)) clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB -c src/afl-common.c -o src/afl-common.o clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB -c src/afl-sharedmem.c -o src/afl-sharedmem.o clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB -c src/afl-forkserver.c -o src/afl-forkserver.o clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB -Iinclude -c src/afl-performance.c -o src/afl-performance.o clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB src/afl-fuzz-bitmap.c src/afl-fuzz-cmplog.c src/afl-fuzz-extras.c src/afl-fuzz-ijon.c src/afl-fuzz-init.c src/afl-fuzz-mutators.c src/afl-fuzz-one.c src/afl-fuzz-python.c src/afl-fuzz-queue.c src/afl-fuzz-redqueen.c src/afl-fuzz-run.c src/afl-fuzz-sanfuzz.c src/afl-fuzz-skipdet.c src/afl-fuzz-state.c src/afl-fuzz-stats.c src/afl-fuzz-statsd.c src/afl-fuzz.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-fuzz -DUSE_PYTHON -I/opt/pkg/include/python3.13 -I/opt/pkg/include/python3.13 -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -lpython3.13 -lintl -ldl -framework CoreFoundation -lpython3.13 -lintl -ldl -framework CoreFoundation -DPYTHON_VERSION="\"Python 3.13.12\"" -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -lm ld: warning: ignoring duplicate libraries: '-ldl', '-lintl', '-lpython3.13', '-lz' clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB src/afl-showmap.c src/afl-fuzz-mutators.c src/afl-fuzz-python.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-showmap -DUSE_PYTHON -I/opt/pkg/include/python3.13 -I/opt/pkg/include/python3.13 -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -lpython3.13 -lintl -ldl -framework CoreFoundation -lpython3.13 -lintl -ldl -framework CoreFoundation -DPYTHON_VERSION="\"Python 3.13.12\"" -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz ld: warning: ignoring duplicate libraries: '-ldl', '-lintl', '-lpython3.13', '-lz' clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -I/opt/pkg/include/python3.13 -I/opt/pkg/include -c -o src/afl-fuzz-python.o src/afl-fuzz-python.c clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -I/opt/pkg/include/python3.13 -I/opt/pkg/include -c -o src/afl-fuzz-mutators.o src/afl-fuzz-mutators.c clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o src/afl-fuzz-python.o src/afl-fuzz-mutators.o -o afl-tmin -DUSE_PYTHON -I/opt/pkg/include/python3.13 -I/opt/pkg/include/python3.13 -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -lpython3.13 -lintl -ldl -framework CoreFoundation -lpython3.13 -lintl -ldl -framework CoreFoundation -DPYTHON_VERSION="\"Python 3.13.12\"" -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz ld: warning: ignoring duplicate libraries: '-ldl', '-lintl', '-lpython3.13', '-lz' clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -flto=full -DHAVE_ZLIB src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o src/afl-forkserver.o -o afl-analyze -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz /opt/pkg/bin/gmake -j -f GNUmakefile.llvm gmake[1]: Entering directory '/Users/pbulk/build/devel/afl++/work/AFLplusplus-4.35c' [+] llvm_mode detected llvm 16+, enabling c++17 [+] llvm_mode detected llvm 12+, enabling afl-lto LTO implementation GNUmakefile.llvm:253: ld.lld not found, cannot enable LTO mode [+] shmat seems to be working. /opt/pkg/bin/clang -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DLLVM_BINDIR=\"/opt/pkg/bin\" -DVERSION=\"++4.35c\" -DLLVM_LIBDIR=\"/opt/pkg/lib\" -DLLVM_VERSION=\"19.1.7\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/opt/pkg/bin/clang\" -DCLANGPP_BIN=\"/opt/pkg/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -I/opt/pkg/include/python3.13 -I/opt/pkg/include -c src/afl-common.c -o instrumentation/afl-common.o -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz [*] Checking for working 'llvm-config'... clang: warning: -lz: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/opt/pkg/lib' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib' [-Wunused-command-line-argument] [*] Checking for working '/opt/pkg/bin/clang'... /opt/pkg/bin/clang -I/opt/pkg/include -I./../include -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DLLVM_BINDIR=\"/opt/pkg/bin\" -DVERSION=\"++4.35c\" -DLLVM_LIBDIR=\"/opt/pkg/lib\" -DLLVM_VERSION=\"19.1.7\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/opt/pkg/bin/clang\" -DCLANGPP_BIN=\"/opt/pkg/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -I/opt/pkg/include/python3.13 -I/opt/pkg/include -O3 -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o [*] Checking for matching versions of '/opt/pkg/bin/clang' and 'llvm-config' [*] We have llvm-config version 19.1.7 with a clang version 19.1.7, good. [*] Building 32-bit variant of the runtime (-m32)... [*] Checking for './afl-showmap'... [*] Building 64-bit variant of the runtime (-m64)... [+] All set and ready to build. /opt/pkg/bin/clang++ -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DLLVM_BINDIR=\"/opt/pkg/bin\" -DVERSION=\"++4.35c\" -DLLVM_LIBDIR=\"/opt/pkg/lib\" -DLLVM_VERSION=\"19.1.7\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/opt/pkg/bin/clang\" -DCLANGPP_BIN=\"/opt/pkg/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -I/opt/pkg/include/python3.13 -I/opt/pkg/include $(llvm-config --cxxflags) -fno-rtti -fPIC -std=c++17 -c instrumentation/afl-llvm-common.cc -o instrumentation/afl-llvm-common.o /opt/pkg/bin/clang -I/opt/pkg/include -I./../include -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DLLVM_BINDIR=\"/opt/pkg/bin\" -DVERSION=\"++4.35c\" -DLLVM_LIBDIR=\"/opt/pkg/lib\" -DLLVM_VERSION=\"19.1.7\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/opt/pkg/bin/clang\" -DCLANGPP_BIN=\"/opt/pkg/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -I/opt/pkg/include/python3.13 -I/opt/pkg/include -DAFL_INCLUDE_PATH=\"/opt/pkg/include/afl\" src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -DCFLAGS_OPT=\"\" -lm src/afl-cc.c:1243:52: warning: unused parameter 'argc' [-Wunused-parameter] 1243 | void mode_final_checkout(aflcc_state_t *aflcc, int argc, char **argv) { | ^ src/afl-cc.c:1243:65: warning: unused parameter 'argv' [-Wunused-parameter] 1243 | void mode_final_checkout(aflcc_state_t *aflcc, int argc, char **argv) { | ^ failed (that's fine) success! 2 warnings generated. In file included from instrumentation/afl-llvm-common.cc:17: /opt/pkg/include/llvm/Support/raw_ostream.h:160:43: warning: unused parameter 'ExtraSize' [-Wunused-parameter] 160 | virtual void reserveExtraSpace(uint64_t ExtraSize) {} | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from /opt/pkg/include/llvm/IR/Instructions.h:20: In file included from /opt/pkg/include/llvm/ADT/MapVector.h:20: /opt/pkg/include/llvm/ADT/DenseMap.h:608:45: warning: unused parameter 'Key' [-Wunused-parameter] 608 | BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from /opt/pkg/include/llvm/IR/Instructions.h:26: In file included from /opt/pkg/include/llvm/IR/CFG.h:25: In file included from /opt/pkg/include/llvm/IR/BasicBlock.h:19: /opt/pkg/include/llvm/ADT/ilist.h:58:34: warning: unused parameter 'V' [-Wunused-parameter] 58 | static void deleteNode(NodeTy *V) {} | ^ In file included from instrumentation/afl-llvm-common.cc:20: In file included from /opt/pkg/include/llvm/IR/Instructions.h:26: In file included from /opt/pkg/include/llvm/IR/CFG.h:25: In file included from /opt/pkg/include/llvm/IR/BasicBlock.h:23: In file included from /opt/pkg/include/llvm/IR/DebugProgramInstruction.h:54: In file included from /opt/pkg/include/llvm/IR/DebugLoc.h:17: In file included from /opt/pkg/include/llvm/IR/TrackingMDRef.h:16: In file included from /opt/pkg/include/llvm/IR/Metadata.h:21: In file included from /opt/pkg/include/llvm/ADT/PointerUnion.h:21: /opt/pkg/include/llvm/Support/Casting.h:279:45: warning: unused parameter 'f' [-Wunused-parameter] 279 | static inline bool isPossible(const From &f) { return true; } | ^ /opt/pkg/include/llvm/Support/Casting.h:604:41: warning: unused parameter 't' [-Wunused-parameter] 604 | static inline bool isPresent(const T &t) { return true; } | ^ In file included from instrumentation/afl-llvm-common.cc:20: /opt/pkg/include/llvm/IR/Instructions.h:2896:37: warning: unused parameter 'idx' [-Wunused-parameter] 2896 | BasicBlock *getSuccessor(unsigned idx) const { | ^ /opt/pkg/include/llvm/IR/Instructions.h:2900:30: warning: unused parameter 'idx' [-Wunused-parameter] 2900 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ /opt/pkg/include/llvm/IR/Instructions.h:2900:47: warning: unused parameter 'B' [-Wunused-parameter] 2900 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ /opt/pkg/include/llvm/IR/Instructions.h:3933:37: warning: unused parameter 'idx' [-Wunused-parameter] 3933 | BasicBlock *getSuccessor(unsigned idx) const { | ^ /opt/pkg/include/llvm/IR/Instructions.h:3937:30: warning: unused parameter 'idx' [-Wunused-parameter] 3937 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { | ^ /opt/pkg/include/llvm/IR/Instructions.h:3937:47: warning: unused parameter 'NewSucc' [-Wunused-parameter] 3937 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { | ^ /opt/pkg/include/llvm/IR/Instructions.h:4379:37: warning: unused parameter 'idx' [-Wunused-parameter] 4379 | BasicBlock *getSuccessor(unsigned idx) const { | ^ /opt/pkg/include/llvm/IR/Instructions.h:4383:30: warning: unused parameter 'idx' [-Wunused-parameter] 4383 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ /opt/pkg/include/llvm/IR/Instructions.h:4383:47: warning: unused parameter 'B' [-Wunused-parameter] 4383 | void setSuccessor(unsigned idx, BasicBlock *B) { | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:22: In file included from /opt/pkg/include/llvm/IR/IRBuilder.h:24: In file included from /opt/pkg/include/llvm/IR/ConstantFolder.h:22: /opt/pkg/include/llvm/IR/Constants.h:56:41: warning: unused parameter 'From' [-Wunused-parameter] 56 | Value *handleOperandChangeImpl(Value *From, Value *To) { | ^ /opt/pkg/include/llvm/IR/Constants.h:56:54: warning: unused parameter 'To' [-Wunused-parameter] 56 | Value *handleOperandChangeImpl(Value *From, Value *To) { | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:22: In file included from /opt/pkg/include/llvm/IR/IRBuilder.h:24: /opt/pkg/include/llvm/IR/ConstantFolder.h:87:37: warning: unused parameter 'FMF' [-Wunused-parameter] 87 | FastMathFlags FMF) const override { | ^ /opt/pkg/include/llvm/IR/ConstantFolder.h:92:36: warning: unused parameter 'FMF' [-Wunused-parameter] 92 | FastMathFlags FMF) const override { | ^ /opt/pkg/include/llvm/IR/ConstantFolder.h:183:44: warning: unused parameter 'ID' [-Wunused-parameter] 183 | Value *FoldBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS, Type *Ty, | ^ /opt/pkg/include/llvm/IR/ConstantFolder.h:183:55: warning: unused parameter 'LHS' [-Wunused-parameter] 183 | Value *FoldBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS, Type *Ty, | ^ /opt/pkg/include/llvm/IR/ConstantFolder.h:183:67: warning: unused parameter 'RHS' [-Wunused-parameter] 183 | Value *FoldBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS, Type *Ty, | ^ /opt/pkg/include/llvm/IR/ConstantFolder.h:183:78: warning: unused parameter 'Ty' [-Wunused-parameter] 183 | Value *FoldBinaryIntrinsic(Intrinsic::ID ID, Value *LHS, Value *RHS, Type *Ty, | ^ /opt/pkg/include/llvm/IR/ConstantFolder.h:184:43: warning: unused parameter 'FMFSource' [-Wunused-parameter] 184 | Instruction *FMFSource) const override { | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:22: In file included from /opt/pkg/include/llvm/IR/IRBuilder.h:26: In file included from /opt/pkg/include/llvm/IR/DataLayout.h:34: /opt/pkg/include/llvm/Support/TrailingObjects.h:260:40: warning: unused parameter 'Obj' [-Wunused-parameter] 260 | callNumTrailingObjects(const BaseTy *Obj, | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:22: /opt/pkg/include/llvm/IR/IRBuilder.h:1231:55: warning: unused parameter 'OpBundles' [-Wunused-parameter] 1231 | ArrayRef OpBundles, | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:34: In file included from /opt/pkg/include/llvm/IR/DebugInfo.h:28: In file included from /opt/pkg/include/llvm/IR/IntrinsicInst.h:27: In file included from /opt/pkg/include/llvm/IR/DebugInfoMetadata.h:28: In file included from /opt/pkg/include/llvm/Support/CommandLine.h:31: In file included from /opt/pkg/include/llvm/Support/StringSaver.h:15: /opt/pkg/include/llvm/Support/Allocator.h:223:31: warning: unused parameter 'Ptr' [-Wunused-parameter] 223 | void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { | ^ /opt/pkg/include/llvm/Support/Allocator.h:223:43: warning: unused parameter 'Size' [-Wunused-parameter] 223 | void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:34: In file included from /opt/pkg/include/llvm/IR/DebugInfo.h:28: In file included from /opt/pkg/include/llvm/IR/IntrinsicInst.h:27: In file included from /opt/pkg/include/llvm/IR/DebugInfoMetadata.h:29: In file included from /opt/pkg/include/llvm/Support/Discriminator.h:16: In file included from /opt/pkg/include/llvm/Support/Error.h:23: /opt/pkg/include/llvm/Support/ErrorOr.h:188:47: warning: unused parameter 'a' [-Wunused-parameter] 188 | static bool compareThisIfSameType(const T1 &a, const T2 &b) { | ^ /opt/pkg/include/llvm/Support/ErrorOr.h:188:60: warning: unused parameter 'b' [-Wunused-parameter] 188 | static bool compareThisIfSameType(const T1 &a, const T2 &b) { | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:34: In file included from /opt/pkg/include/llvm/IR/DebugInfo.h:28: In file included from /opt/pkg/include/llvm/IR/IntrinsicInst.h:27: In file included from /opt/pkg/include/llvm/IR/DebugInfoMetadata.h:29: In file included from /opt/pkg/include/llvm/Support/Discriminator.h:16: /opt/pkg/include/llvm/Support/Error.h:305:24: warning: unused parameter 'V' [-Wunused-parameter] 305 | void setChecked(bool V) { | ^ In file included from instrumentation/afl-llvm-common.cc:24: In file included from instrumentation/afl-llvm-common.h:34: In file included from /opt/pkg/include/llvm/IR/DebugInfo.h:29: /opt/pkg/include/llvm/IR/PassManager.h:624:23: warning: unused parameter 'IR' [-Wunused-parameter] 624 | Result run(IRUnitT &IR, AnalysisManager &AM, | ^ /opt/pkg/include/llvm/IR/PassManager.h:624:68: warning: unused parameter 'AM' [-Wunused-parameter] 624 | Result run(IRUnitT &IR, AnalysisManager &AM, | ^ /opt/pkg/include/llvm/IR/PassManager.h:909:34: warning: unused parameter 'Arg' [-Wunused-parameter] 909 | PreservedAnalyses run(IRUnitT &Arg, AnalysisManagerT &AM, ExtraArgTs &&...) { | ^ /opt/pkg/include/llvm/IR/PassManager.h:909:57: warning: unused parameter 'AM' [-Wunused-parameter] 909 | PreservedAnalyses run(IRUnitT &Arg, AnalysisManagerT &AM, ExtraArgTs &&...) { | ^ 34 warnings generated. /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -Wdeprecated -fno-rtti -fPIC -std=c++17 -shared instrumentation/afl-llvm-pass.so.cc -o afl-llvm-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -Wdeprecated -fno-rtti -fPIC -std=c++17 -shared instrumentation/afl-llvm-ijon-pass.so.cc -o afl-llvm-ijon-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -fno-rtti -fPIC -std=c++17 -shared instrumentation/SanitizerCoveragePCGUARD.so.cc -o SanitizerCoveragePCGUARD.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup -Wno-deprecated-copy-dtor -Wdeprecated instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/split-compares-pass.so.cc -o split-compares-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/split-switches-pass.so.cc -o split-switches-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/cmplog-routines-pass.cc -o cmplog-routines-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/cmplog-instructions-pass.cc -o cmplog-instructions-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/cmplog-switches-pass.cc -o cmplog-switches-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/afl-llvm-dict2file.so.cc -o afl-llvm-dict2file.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/compare-transform-pass.so.cc -o compare-transform-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o /opt/pkg/bin/clang++ $(llvm-config --cxxflags) -fno-rtti -fno-exceptions -fPIC -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wall -g -I ./include/ -DVERSION=\"++4.35c\" -Wno-variadic-macros -Wno-deprecated-copy-with-dtor -DLLVM_MINOR=1 -DLLVM_MAJOR=19 -I/opt/pkg/include/python3.13 -I/opt/pkg/include -Wno-deprecated-declarations -shared instrumentation/injection-pass.cc -o injection-pass.so $(llvm-config --ldflags) -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz -Wl,-undefined,dynamic_lookup instrumentation/afl-llvm-common.o In file included from instrumentation/afl-llvm-pass.so.cc:42: In file included from /opt/pkg/include/llvm/Passes/PassBuilder.h:18: In file included from /opt/pkg/include/llvm/Analysis/CGSCCPassManager.h:92: In file included from /opt/pkg/include/llvm/Analysis/LazyCallGraph.h:45: In file included from /opt/pkg/include/llvm/Analysis/TargetLibraryInfo.h:14: In file included from /opt/pkg/include/llvm/IR/InstrTypes.h:24: /opt/pkg/include/llvm/IR/Attributes.h:348:3: warning: definition of implicit copy assignment operator for 'AttributeSet' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] 348 | ~AttributeSet() = default; | ^ /opt/pkg/include/llvm/IR/GlobalVariable.h:194:11: note: in implicit copy assignment operator for 'llvm::AttributeSet' first required here 194 | Attrs = Attrs.addAttribute(getContext(), Kind); | ^ In file included from instrumentation/afl-llvm-ijon-pass.so.cc:17: In file included from /opt/pkg/include/llvm/Passes/PassBuilder.h:18: In file included from /opt/pkg/include/llvm/Analysis/CGSCCPassManager.h:92: In file included from /opt/pkg/include/llvm/Analysis/LazyCallGraph.h:45: In file included from /opt/pkg/include/llvm/Analysis/TargetLibraryInfo.h:14: In file included from /opt/pkg/include/llvm/IR/InstrTypes.h:24: /opt/pkg/include/llvm/IR/Attributes.h:348:3: warning: definition of implicit copy assignment operator for 'AttributeSet' is deprecated because it has a user-declared destructor [-Wdeprecated-copy-with-dtor] 348 | ~AttributeSet() = default; | ^ /opt/pkg/include/llvm/IR/GlobalVariable.h:194:11: note: in implicit copy assignment operator for 'llvm::AttributeSet' first required here 194 | Attrs = Attrs.addAttribute(getContext(), Kind); | ^ 1 warning generated. 1 warning generated. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO AFL_LLVM_ALLOWLIST AFL_LLVM_DENYLIST; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -pipe -Os -I/opt/pkg/include/python3.13 -I/opt/pkg/include -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DDOC_PATH=\"/opt/pkg/share/doc/afl\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/opt/pkg/lib/afl\" -DBIN_PATH=\"/opt/pkg/bin\" -DLLVM_BINDIR=\"/opt/pkg/bin\" -DVERSION=\"++4.35c\" -DLLVM_LIBDIR=\"/opt/pkg/lib\" -DLLVM_VERSION=\"19.1.7\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/opt/pkg/bin/clang\" -DCLANGPP_BIN=\"/opt/pkg/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -Wno-deprecated -I/opt/pkg/include/python3.13 -I/opt/pkg/include ./test-instr.c -o test-instr -L/opt/pkg/lib -L/Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lz ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null [?25h [-] SYSTEM ERROR : shmget() failed, try running afl-system-config Stop location : afl_shm_init(), src/afl-sharedmem.c:303  OS message : Invalid argument gmake[1]: *** [GNUmakefile.llvm:569: test_build] Error 1 gmake[1]: Leaving directory '/Users/pbulk/build/devel/afl++/work/AFLplusplus-4.35c' gmake: [GNUmakefile:351: llvm] Error 2 (ignored) /opt/pkg/bin/gmake -C utils/aflpp_driver gmake[1]: Entering directory '/Users/pbulk/build/devel/afl++/work/AFLplusplus-4.35c/utils/aflpp_driver' /opt/pkg/bin/clang -I. -I../../include -O3 -funroll-loops -g -fPIC -fno-lto -c aflpp_driver.c aflpp_driver.c:285:22: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] 285 | ssize_t length = syscall(SYS_read, fd, buf, MAX_FILE); | ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:748:6: note: 'syscall' has been explicitly marked deprecated here 748 | int syscall(int, ...); | ^ 1 warning generated. libAFLDriver.a -> ../../libAFLDriver.a /opt/pkg/bin/clang -O3 -funroll-loops -g -fPIC -fno-lto -O0 -funroll-loops -c aflpp_qemu_driver.c libAFLQemuDriver.a -> ../../libAFLQemuDriver.a Note: Optional aflpp_qemu_driver_hook.o not built. Note: Optional aflpp_qemu_driver_hook.so not built. gmake[1]: Leaving directory '/Users/pbulk/build/devel/afl++/work/AFLplusplus-4.35c/utils/aflpp_driver' Build Summary: [+] afl-fuzz and supporting tools successfully built [+] LLVM basic mode successfully built [+] LLVM mode successfully built [-] LLVM LTO mode could not be built, it is optional, if you want it, please install LLVM and LLD 11+. More information at instrumentation/README.lto.md on how to build it