aboutsummaryrefslogtreecommitdiff
path: root/include/afl-prealloc.h
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-03-09 14:43:40 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-03-09 14:43:40 +0100
commit2f4166367390e675e59b7231382253ca2d5ec247 (patch)
tree9d482078f2374351c248f7c86afc501561be0b13 /include/afl-prealloc.h
parentcdd1dd3d20178de8464ba39d5cc8d2e8100dbd0f (diff)
downloadAFLplusplus-2f4166367390e675e59b7231382253ca2d5ec247.tar.gz
copyleft note
Diffstat (limited to 'include/afl-prealloc.h')
-rw-r--r--include/afl-prealloc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/afl-prealloc.h b/include/afl-prealloc.h
index fb307eb3..aabb04ed 100644
--- a/include/afl-prealloc.h
+++ b/include/afl-prealloc.h
@@ -1,3 +1,25 @@
+/*
+ american fuzzy lop++ - prealloc a buffer to reuse small elements often
+ ----------------------------------------------------------------------
+
+ Originally written by Michal Zalewski
+
+ Now maintained by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de>,
+ Andrea Fioraldi <andreafioraldi@gmail.com>,
+ Dominik Maier <mail@dmnk.co>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019-2020 AFLplusplus Project. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ */
+
/* If we know we'll reuse small elements often, we'll just preallocate a buffer,
* then fall back to malloc */
// TODO: Replace free status check with bitmask+CLZ