Closed elisehaldane closed 4 months ago
Could you change "security/afl++/" to "security/afl++:" in the commit message, and break lines, as stated in [1]? Also, note that Markdown isn't rendered in commit messages at GitHub.
[1] https://docs.freebsd.org/en/articles/committers-guide/#port-commit-message-formats
The port should set NO_UNICORN_ARM64=1
in Makefile
by default when building for arm64.
AFL++ uses implicit checks with
uname -m
, then explicit user-supplied arguments to control the build. If the host returns a different (ARM64) machine string to the one expected in the GNUmakefile, then AFL++ will clone and try to build the Unicorn Engine even when the user passesNO_UNICORN_ARM64=1
. One simple fix is to catch botharm64
andaarch64
instead.This patch was tested on CheriBSD 23.11 with: