Build TriforceAFL fork in Ubuntu20.04 - shijunjing/TriforceAFL GitHub Wiki

jshi19@ub2-uefi-b01:~/wksp_efi/TriforceAFL-fork$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal
jshi19@ub2-uefi-b01:~/wksp_efi/TriforceAFL-fork$ git remote show origin
* remote origin
  Fetch URL: https://github.com/shijunjing/TriforceAFL.git
  Push  URL: https://github.com/shijunjing/TriforceAFL.git
jshi19@ub2-uefi-b01:~/wksp_efi/TriforceAFL-fork$ git checkout ubuntu20.04
Already on 'ubuntu20.04'
Your branch is up to date with 'origin/ubuntu20.04'.
jshi19@ub2-uefi-b01:~/wksp_efi/TriforceAFL-fork$ git diff master --name-only
afl-fuzz.c
qemu_mode/build_qemu_support.sh
qemu_mode/qemu/hw/9pfs/virtio-9p.c
qemu_mode/qemu/linux-user/strace.c
qemu_mode/qemu/linux-user/syscall.c
qemu_mode/qemu/qga/commands-posix.c
qemu_mode/qemu/user-exec.c
jshi19@ub2-uefi-b01:~/wksp_efi/TriforceAFL-fork$ make
jshi19@ub2-uefi-b01:~/wksp_efi/TriforceAFL-fork$ ls
afl-analyze    afl-cmin    afl-gotcpu.c           afl-tmin.c   experimental         qemu-system-arm      types.h
afl-analyze.c  afl-fuzz    afl-plot               afl-whatsup  hash.h               qemu-system-x86_64
afl-as         afl-fuzz.c  afl-qemu-system-trace  alloc-inl.h  llvm_mode            QuickStartGuide.txt
afl-as.c       afl-g++     afl-qemu-trace         as           Makefile             README
afl-as.h       afl-gcc     afl-showmap            config.h     packages.txt         slides
afl-clang      afl-gcc.c   afl-showmap.c          debug.h      qemu_mode            testcases
afl-clang++    afl-gotcpu  afl-tmin               docs         qemu-system-aarch64  test-instr.c

Other TriforceAFL based tool:

jshi19@ub2-uefi-b01:~/wksp_efi/par_excitedbi-excitedbi-2$ sudo ./setupAfl.sh
jshi19@ub2-uefi-b01:~/wksp_efi/par_excitedbi-excitedbi-2$ ./afl-fuzz -i inputs/ -o outputs -QQ -- ./afl-qemu-system-trace -nographic  -pflash bios.bin -hda fat:myHda -net none -aflFile @@