Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/om/tls/test/fuzz/aflpp.sh # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / om / tls / test / fuzz / aflpp.sh` 17 lines ยท 1026 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 3 # aflpp.sh DEST: build the pinned AFL++ used by run.sh (host tooling, not part of the library). 4 # AFL++ v4.40c at `e5a8ba39ecf97d05e286fdd4e01da96554dbf64f` + aflpp-exitrange.patch (AFL_CRASH_EXITCODE=LO-HI, 5 # so every Omega trap exit 101..114 is a crash), qemu_mode for aarch64 built inside the pinned 6 # ubuntu:24.04 image because the host lacks glib headers. frida_mode cannot load static omc binaries. 7 set -eu 8 DEST=${1:?usage: aflpp.sh DEST} 9 D=$(cd -P "$(dirname "$0")" && pwd -P) 10 IMG=ubuntu@sha256:`68ee22004a9109b44973313b02ff7b1de250f1de0f5ecb628d73f579aaff33ac` 11 git clone --branch v4.40c https://github.com/AFLplusplus/AFLplusplus.git "$DEST" 12 cd "$DEST" 13 [ "$(git rev-parse HEAD)" = `e5a8ba39ecf97d05e286fdd4e01da96554dbf64f` ] || { echo "AFL++ tag moved" >&2; exit 1; } 14 git apply "$D/aflpp-exitrange.patch" 15 nice -n 19 ionice -c3 make -j2 afl-fuzz afl-showmap afl-tmin 16 docker run --rm -v "$DEST":/aflpp -v "$D/build-qemu-docker.sh":/b.sh:ro "$IMG" sh /b.sh 17 ls -l afl-qemu-trace