aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-09-04 09:43:09 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2019-09-04 09:43:09 +0200
commit9705ccee677eb3009c6d06d1bff4d2b6cf80c4a7 (patch)
tree02f5b7ac6803ffcadb5049a92607e54307bf97c2 /src
parent7151651ea9a87f394cf7f44fcba56cd0d2b7eefa (diff)
downloadafl++-9705ccee677eb3009c6d06d1bff4d2b6cf80c4a7.tar.gz
credits and license header for src/* and include/*
Diffstat (limited to 'src')
-rw-r--r--src/afl-analyze.c11
-rw-r--r--src/afl-as.c13
-rw-r--r--src/afl-common.c23
-rw-r--r--src/afl-forkserver.c26
-rw-r--r--src/afl-fuzz-bitmap.c15
-rw-r--r--src/afl-fuzz-extras.c15
-rw-r--r--src/afl-fuzz-globals.c15
-rw-r--r--src/afl-fuzz-init.c15
-rw-r--r--src/afl-fuzz-misc.c15
-rw-r--r--src/afl-fuzz-one.c15
-rw-r--r--src/afl-fuzz-python.c15
-rw-r--r--src/afl-fuzz-queue.c16
-rw-r--r--src/afl-fuzz-run.c15
-rw-r--r--src/afl-fuzz-stats.c15
-rw-r--r--src/afl-fuzz.c13
-rw-r--r--src/afl-gcc.c13
-rw-r--r--src/afl-gotcpu.c11
-rw-r--r--src/afl-sharedmem.c22
-rw-r--r--src/afl-showmap.c19
-rw-r--r--src/afl-tmin.c19
20 files changed, 227 insertions, 94 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c
index 4cfebe3b..7b647595 100644
--- a/src/afl-analyze.c
+++ b/src/afl-analyze.c
@@ -1,10 +1,15 @@
/*
- american fuzzy lop - file format analyzer
- -----------------------------------------
+ american fuzzy lop++ - file format analyzer
+ -------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-as.c b/src/afl-as.c
index 96b00d37..fed1882b 100644
--- a/src/afl-as.c
+++ b/src/afl-as.c
@@ -1,10 +1,15 @@
/*
- american fuzzy lop - wrapper for GNU as
- ---------------------------------------
+ american fuzzy lop++ - wrapper for GNU as
+ -----------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Copyright 2013, 2014, 2015 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-common.c b/src/afl-common.c
index 69c1a77d..7859a74f 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -1,7 +1,26 @@
/*
- gather some functions common to multiple executables
+ american fuzzy lop++ - common routines
+ --------------------------------------
+
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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
+
+ Gather some functions common to multiple executables
+
+ - detect_file_args
- detect_file_args
*/
#include <stdlib.h>
diff --git a/src/afl-forkserver.c b/src/afl-forkserver.c
index 152ae802..2a4e0819 100644
--- a/src/afl-forkserver.c
+++ b/src/afl-forkserver.c
@@ -1,3 +1,29 @@
+/*
+ american fuzzy lop++ - forkserver code
+ --------------------------------------
+
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Forkserver design by Jann Horn <jannhorn@googlemail.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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
+
+ Shared code that implements a forkserver. This is used by the fuzzer
+ as well the other components like afl-tmin.
+
+ */
+
#include "config.h"
#include "types.h"
#include "debug.h"
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index be187fff..34e1dacb 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - bitmap related routines
+ ----------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-extras.c b/src/afl-fuzz-extras.c
index f43c86f4..97f3ac5c 100644
--- a/src/afl-fuzz-extras.c
+++ b/src/afl-fuzz-extras.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - extras relates routines
+ ----------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-globals.c b/src/afl-fuzz-globals.c
index 8fded173..0d073154 100644
--- a/src/afl-fuzz-globals.c
+++ b/src/afl-fuzz-globals.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - globals declarations
+ -------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index 8588dde7..b45d3783 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - initialization related routines
+ ------------------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-misc.c b/src/afl-fuzz-misc.c
index eb0cc187..09b02345 100644
--- a/src/afl-fuzz-misc.c
+++ b/src/afl-fuzz-misc.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - misc stuffs from Mordor
+ ----------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index bc63c226..6dc7b658 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - fuzze_one routines in different flavours
+ ---------------------------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-python.c b/src/afl-fuzz-python.c
index e22291b5..9a1309e0 100644
--- a/src/afl-fuzz-python.c
+++ b/src/afl-fuzz-python.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - python extension routines
+ ------------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c
index 22a9ccb0..a77b5799 100644
--- a/src/afl-fuzz-queue.c
+++ b/src/afl-fuzz-queue.c
@@ -1,13 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - queue relates routines
+ ---------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
-
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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:
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index 4093d991..9f4fafe4 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - target execution related routines
+ --------------------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index 3614599d..e68dc980 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -1,12 +1,15 @@
/*
- american fuzzy lop - fuzzer code
- --------------------------------
+ american fuzzy lop++ - stats related routines
+ ---------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index d04058ca..398d1b80 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -2,11 +2,14 @@
american fuzzy lop - fuzzer code
--------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
-
- Forkserver design by Jann Horn <jannhorn@googlemail.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-gcc.c b/src/afl-gcc.c
index 750f9b72..08705a36 100644
--- a/src/afl-gcc.c
+++ b/src/afl-gcc.c
@@ -1,10 +1,15 @@
/*
- american fuzzy lop - wrapper for GCC and clang
- ----------------------------------------------
+ american fuzzy lop++ - wrapper for GCC and clang
+ ------------------------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
- Copyright 2013, 2014, 2015 Google Inc. All rights reserved.
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-gotcpu.c b/src/afl-gotcpu.c
index fd96d25d..6ca129c2 100644
--- a/src/afl-gotcpu.c
+++ b/src/afl-gotcpu.c
@@ -2,9 +2,14 @@
american fuzzy lop - free CPU gizmo
-----------------------------------
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
-
- Copyright 2015, 2016 Google Inc. All rights reserved.
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-sharedmem.c b/src/afl-sharedmem.c
index 60764779..9fd5fb01 100644
--- a/src/afl-sharedmem.c
+++ b/src/afl-sharedmem.c
@@ -1,4 +1,26 @@
/*
+ american fuzzy lop++ - shared memory related code
+ -------------------------------------------------
+
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Forkserver design by Jann Horn <jannhorn@googlemail.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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
+
+ Shared code to handle the shared memory. This is used by the fuzzer
+ as well the other components like afl-tmin, afl-showmap, etc...
*/
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 5c367339..649684d3 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1,10 +1,17 @@
/*
- american fuzzy lop - map display utility
- ----------------------------------------
-
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
-
- Copyright 2013, 2014, 2015, 2016, 2017 Google Inc. All rights reserved.
+ american fuzzy lop++ - map display utility
+ ------------------------------------------
+
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Forkserver design by Jann Horn <jannhorn@googlemail.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.
diff --git a/src/afl-tmin.c b/src/afl-tmin.c
index ce4a3d76..a33966a0 100644
--- a/src/afl-tmin.c
+++ b/src/afl-tmin.c
@@ -1,10 +1,17 @@
/*
- american fuzzy lop - test case minimizer
- ----------------------------------------
-
- Written and maintained by Michal Zalewski <lcamtuf@google.com>
-
- Copyright 2015, 2016, 2017 Google Inc. All rights reserved.
+ american fuzzy lop++ - test case minimizer
+ ------------------------------------------
+
+ Originally written by Michal Zalewski <lcamtuf@google.com>
+
+ Forkserver design by Jann Horn <jannhorn@googlemail.com>
+
+ Now maintained by by Marc Heuse <mh@mh-sec.de>,
+ Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
+ Andrea Fioraldi <andreafioraldi@gmail.com>
+
+ Copyright 2016, 2017 Google Inc. All rights reserved.
+ Copyright 2019 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.