aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-04-14 16:27:32 +0200
committervanhauser-thc <vh@thc.org>2023-04-14 16:27:32 +0200
commit97644836935020b9f42688bb6530f08f536644a9 (patch)
tree342560e8d9710275be1f8f19b69bb86aed84494c /utils
parent0c4f0dd4c483ec3cf481958c6b22c2b43b365cef (diff)
downloadafl++-97644836935020b9f42688bb6530f08f536644a9.tar.gz
remove warning
Diffstat (limited to 'utils')
-rw-r--r--utils/aflpp_driver/aflpp_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/aflpp_driver/aflpp_driver.c b/utils/aflpp_driver/aflpp_driver.c
index 00a94b9c..34294809 100644
--- a/utils/aflpp_driver/aflpp_driver.c
+++ b/utils/aflpp_driver/aflpp_driver.c
@@ -268,12 +268,15 @@ static int ExecuteFilesOnyByOne(int argc, char **argv,
__attribute__((weak)) int main(int argc, char **argv) {
+// Enable if LLVMFuzzerTestOneInput() has the weak attribute
+/*
if (!LLVMFuzzerTestOneInput) {
fprintf(stderr, "Error: function LLVMFuzzerTestOneInput() not found!\n");
abort();
}
+*/
if (argc < 2 || strncmp(argv[1], "-h", 2) == 0)
printf(