diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2024-11-04 16:49:47 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2024-11-04 17:10:03 +0900 |
commit | f9d644e7f357a21aa64a5de27408b74cbd345dc8 (patch) | |
tree | 7829136efbd1f4b12816f884af2c053b54a7704f /afl-dyninst-env.m4 | |
parent | cff2d88f97f983683f4caf0e8f87a4f858b486be (diff) | |
download | afl-dyninst-f9d644e7f357a21aa64a5de27408b74cbd345dc8.tar.gz |
Rework build recipe
Diffstat (limited to 'afl-dyninst-env.m4')
-rw-r--r-- | afl-dyninst-env.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/afl-dyninst-env.m4 b/afl-dyninst-env.m4 new file mode 100644 index 0000000..98d6962 --- /dev/null +++ b/afl-dyninst-env.m4 @@ -0,0 +1,10 @@ +#!/bin/sh +# Environment setup (to afl-fuzz) the instrumented binary +# SPDX-FileCopyrightText: 2018-2021 Marc "van Hauser" Heuse <vh@thc.org> +# SPDX-FileCopyrightText: 2024 Nguyễn Gia Phong <cnx@loang.net> +# SPDX-License-Identifier: Apache-2.0 +export LD_LIBRARY_PATH="AFL_DYNINST_LIB:DYNINST_LIB:$LD_LIBRARY_PATH" +export AFL_SKIP_BIN_CHECK=1 +export AFL_MAP_SIZE=65536 +$* +# vim: filetype=sh.m4 |