Skip to content

Commit 13ac2cb

Browse files
s/experimental\//examples\/g
1 parent 2fe7889 commit 13ac2cb

File tree

15 files changed

+736
-47
lines changed

15 files changed

+736
-47
lines changed

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ code-format:
277277
./.custom-format.py -i gcc_plugin/*.c
278278
#./.custom-format.py -i gcc_plugin/*.h
279279
./.custom-format.py -i gcc_plugin/*.cc
280-
./.custom-format.py -i experimental/*/*.c
281-
./.custom-format.py -i experimental/*/*.h
280+
./.custom-format.py -i examples/*/*.c
281+
./.custom-format.py -i examples/*/*.h
282282
./.custom-format.py -i qemu_mode/patches/*.h
283283
./.custom-format.py -i qemu_mode/libcompcov/*.c
284284
./.custom-format.py -i qemu_mode/libcompcov/*.cc
@@ -323,8 +323,8 @@ clean:
323323
-$(MAKE) -C gcc_plugin clean
324324
$(MAKE) -C libdislocator clean
325325
$(MAKE) -C libtokencap clean
326-
$(MAKE) -C experimental/socket_fuzzing clean
327-
$(MAKE) -C experimental/argv_fuzzing clean
326+
$(MAKE) -C examples/socket_fuzzing clean
327+
$(MAKE) -C examples/argv_fuzzing clean
328328
$(MAKE) -C qemu_mode/unsigaction clean
329329
$(MAKE) -C qemu_mode/libcompcov clean
330330
$(MAKE) -C src/third_party/libradamsa/ clean
@@ -335,16 +335,16 @@ distrib: all radamsa
335335
-$(MAKE) -C gcc_plugin
336336
$(MAKE) -C libdislocator
337337
$(MAKE) -C libtokencap
338-
$(MAKE) -C experimental/socket_fuzzing
339-
$(MAKE) -C experimental/argv_fuzzing
338+
$(MAKE) -C examples/socket_fuzzing
339+
$(MAKE) -C examples/argv_fuzzing
340340
cd qemu_mode && sh ./build_qemu_support.sh
341341
cd unicorn_mode && sh ./build_unicorn_support.sh
342342

343343
binary-only: all radamsa
344344
$(MAKE) -C libdislocator
345345
$(MAKE) -C libtokencap
346-
$(MAKE) -C experimental/socket_fuzzing
347-
$(MAKE) -C experimental/argv_fuzzing
346+
$(MAKE) -C examples/socket_fuzzing
347+
$(MAKE) -C examples/argv_fuzzing
348348
cd qemu_mode && sh ./build_qemu_support.sh
349349
cd unicorn_mode && sh ./build_unicorn_support.sh
350350

@@ -395,8 +395,8 @@ endif
395395
if [ -f libcompcov.so ]; then set -e; install -m 755 libcompcov.so $${DESTDIR}$(HELPER_PATH); fi
396396
if [ -f libradamsa.so ]; then set -e; install -m 755 libradamsa.so $${DESTDIR}$(HELPER_PATH); fi
397397
if [ -f afl-fuzz-document ]; then set -e; install -m 755 afl-fuzz-document $${DESTDIR}$(BIN_PATH); fi
398-
$(MAKE) -C experimental/socket_fuzzing install
399-
$(MAKE) -C experimental/argv_fuzzing install
398+
$(MAKE) -C examples/socket_fuzzing install
399+
$(MAKE) -C examples/argv_fuzzing install
400400

401401
set -e; ln -sf afl-gcc $${DESTDIR}$(BIN_PATH)/afl-g++
402402
set -e; if [ -f afl-clang-fast ] ; then ln -sf afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang++ ; else ln -sf afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang++; fi

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,9 @@ Here are some of the most important caveats for AFL:
593593
wholly wrap the actual data format to be tested.
594594

595595
To work around this, you can comment out the relevant checks (see
596-
experimental/libpng_no_checksum/ for inspiration); if this is not possible,
596+
examples/libpng_no_checksum/ for inspiration); if this is not possible,
597597
you can also write a postprocessor, as explained in
598-
experimental/post_library/ (with AFL_POST_LIBRARY)
598+
examples/post_library/ (with AFL_POST_LIBRARY)
599599

600600
- There are some unfortunate trade-offs with ASAN and 64-bit binaries. This
601601
isn't due to any specific fault of afl-fuzz; see [docs/notes_for_asan.md](docs/notes_for_asan.md)

docs/ChangeLog

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Version ++2.60c (release):
4343

4444
- fixed a critical bug in afl-tmin that was introduced during ++2.53d
4545
- added test cases for afl-cmin and afl-tmin to test/test.sh
46-
- added ./experimental/argv_fuzzing ld_preload library by Kjell Braden
46+
- added ./examples/argv_fuzzing ld_preload library by Kjell Braden
4747
- added preeny's desock_dup ld_preload library as
48-
./experimental/socket_fuzzing for network fuzzing
48+
./examples/socket_fuzzing for network fuzzing
4949
- added AFL_AS_FORCE_INSTRUMENT environment variable for afl-as - this is
5050
for the retrorewrite project
5151
- we now set QEMU_SET_ENV from AFL_PRELOAD when qemu_mode is used
@@ -512,7 +512,7 @@ Version 2.27b:
512512

513513
- Moved libdislocator to its own dir, added README.
514514

515-
- The demo in experimental/instrumented_cmp is no more.
515+
- The demo in examples/instrumented_cmp is no more.
516516

517517
--------------
518518
Version 2.26b:
@@ -666,7 +666,7 @@ Version 2.11b:
666666

667667
- Made an improvement to afl-gotcpu when -Z not used.
668668

669-
- Fixed a typo in post_library_png.so.c in experimental/. Spotted by Kostya
669+
- Fixed a typo in post_library_png.so.c in examples/. Spotted by Kostya
670670
Serebryany.
671671

672672
--------------
@@ -1066,7 +1066,7 @@ Version 1.75b:
10661066
Version 1.74b:
10671067
--------------
10681068

1069-
- Added an example argv[] fuzzing wrapper in experimental/argv_fuzzing.
1069+
- Added an example argv[] fuzzing wrapper in examples/argv_fuzzing.
10701070
Reworked the bash example to be faster, too.
10711071

10721072
- Clarified llvm_mode prerequisites for FreeBSD.
@@ -1231,12 +1231,12 @@ Version 1.61b:
12311231
Version 1.60b:
12321232
--------------
12331233

1234-
- Allowed experimental/llvm_instrumentation/ to graduate to llvm_mode/.
1234+
- Allowed examples/llvm_instrumentation/ to graduate to llvm_mode/.
12351235

1236-
- Removed experimental/arm_support/, since it's completely broken and likely
1236+
- Removed examples/arm_support/, since it's completely broken and likely
12371237
unnecessary with LLVM support in place.
12381238

1239-
- Added ASAN cgroups script to experimental/asan_cgroups/, updated existing
1239+
- Added ASAN cgroups script to examples/asan_cgroups/, updated existing
12401240
docs. Courtesy Sam Hakim and David A. Wheeler.
12411241

12421242
- Refactored afl-tmin to reduce the number of execs in common use cases.
@@ -1256,7 +1256,7 @@ Version 1.59b:
12561256
--------------
12571257

12581258
- Imported Laszlo Szekeres' experimental LLVM instrumentation into
1259-
experimental/llvm_instrumentation. I'll work on including it in the
1259+
examples/llvm_instrumentation. I'll work on including it in the
12601260
"mainstream" version soon.
12611261

12621262
- Fixed another typo, thanks to Jakub Wilk.
@@ -1305,7 +1305,7 @@ Version 1.54b:
13051305

13061306
- Added another postprocessor example for PNG.
13071307

1308-
- Made a cosmetic fix to realloc() handling in experimental/post_library/,
1308+
- Made a cosmetic fix to realloc() handling in examples/post_library/,
13091309
suggested by Jakub Wilk.
13101310

13111311
- Improved -ldl handling. Suggested by Jakub Wilk.
@@ -1323,7 +1323,7 @@ Version 1.52b:
13231323

13241324
- Added support for file format postprocessors. Requested by Ben Nagy. This
13251325
feature is intentionally buried, since it's fairly easy to misuse and
1326-
useful only in some scenarios. See experimental/post_library/.
1326+
useful only in some scenarios. See examples/post_library/.
13271327

13281328
--------------
13291329
Version 1.51b:
@@ -1958,7 +1958,7 @@ Version 0.98b:
19581958
- Fixed another cosmetic snafu with stage exec counts for -x.
19591959

19601960
- Switched afl-plot to /bin/sh, since it seems bashism-free. Also tried
1961-
to remove any obvious bashisms from other experimental/ scripts,
1961+
to remove any obvious bashisms from other examples/ scripts,
19621962
most notably including minimize_corpus.sh and triage_crashes.sh.
19631963
Requested by Jonathan Gray.
19641964

@@ -2126,7 +2126,7 @@ Version 0.84b:
21262126
Version 0.83b:
21272127
--------------
21282128

2129-
- Added experimental/clang_asm_normalize/ and related notes in
2129+
- Added examples/clang_asm_normalize/ and related notes in
21302130
env_variables.txt and afl-as.c. Thanks to Ryan Govostes for the idea.
21312131

21322132
- Added advice on hardware utilization in README.
@@ -2350,7 +2350,7 @@ Version 0.62b:
23502350

23512351
- Made minor improvements to the allocator, as suggested by Tobias Ospelt.
23522352

2353-
- Added example instrumented memcmp() in experimental/instrumented_cmp.
2353+
- Added example instrumented memcmp() in examples/instrumented_cmp.
23542354

23552355
- Added a speculative fix for MacOS X (clang detection, again).
23562356

@@ -2475,7 +2475,7 @@ Version 0.53b:
24752475
Version 0.52b:
24762476
--------------
24772477

2478-
- Added a quick summary of the contents in experimental/.
2478+
- Added a quick summary of the contents in examples/.
24792479

24802480
- Made a fix to the process of writing fuzzer_stats.
24812481

@@ -2637,7 +2637,7 @@ Version 0.43b:
26372637

26382638
- Added status_screen.txt.
26392639

2640-
- Added experimental/canvas_harness.
2640+
- Added examples/canvas_harness.
26412641

26422642
- Made a minor change to the Makefile GCC check. Suggested by Hanno Boeck.
26432643

@@ -2648,7 +2648,7 @@ Version 0.42b:
26482648
- Fixed a bug with red zone handling for 64-bit (oops!). Problem reported by
26492649
Felix Groebert.
26502650

2651-
- Implemented horribly experimental ARM support in experimental/arm_support.
2651+
- Implemented horribly experimental ARM support in examples/arm_support.
26522652

26532653
- Made several improvements to error messages.
26542654

@@ -2687,7 +2687,7 @@ Version 0.40b:
26872687
- Added support for parallelized fuzzing. Inspired by earlier patch
26882688
from Sebastian Roschke.
26892689

2690-
- Added an example in experimental/distributed_fuzzing/.
2690+
- Added an example in examples/distributed_fuzzing/.
26912691

26922692
--------------
26932693
Version 0.39b:
@@ -2837,7 +2837,7 @@ Version 0.26b:
28372837
- Added a built-in effort minimizer to get rid of potentially redundant
28382838
inputs,
28392839

2840-
- Provided a testcase count minimization script in experimental/,
2840+
- Provided a testcase count minimization script in examples/,
28412841

28422842
- Made miscellaneous improvements to directory and file handling.
28432843

docs/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)