diff options
| author | R. Elliott Childre <elliottchildre329@gmail.com> | 2020-12-08 03:30:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-08 09:30:17 +0100 |
| commit | 5d6b1129f0e95a29a3fd7a7e09a93a5c1db6c78a (patch) | |
| tree | a33d3119cb5063a67d6ee0f7a753ee852f67d581 /custom_mutators/grammar_mutator | |
| parent | e6de85861c4ec8fcc13a7f945bc8b3dfefa193bc (diff) | |
| download | afl++-5d6b1129f0e95a29a3fd7a7e09a93a5c1db6c78a.tar.gz | |
Fix Grammar Mutator Submodule (#623)
Fixes: 651ad18e2179 ("added the grammar mutator as a git submodule ...")
* Project pointer never pushed
* Reduces dirctory complexity
* Building and dependencies for the subproject should be isolated to the
subproject's documentation
* Fix broken link to README
* Use `--init` for `git submodule`Diffstat (limited to 'custom_mutators/grammar_mutator')
| m--------- | custom_mutators/grammar_mutator | 0 | ||||
| -rw-r--r-- | custom_mutators/grammar_mutator/README.md | 6 | ||||
| -rwxr-xr-x | custom_mutators/grammar_mutator/build_grammar_mutator.sh | 17 |
3 files changed, 0 insertions, 23 deletions
diff --git a/custom_mutators/grammar_mutator b/custom_mutators/grammar_mutator new file mode 160000 +Subproject b3c4fcfa6ae28918bc410f7747135eafd4fb726 diff --git a/custom_mutators/grammar_mutator/README.md b/custom_mutators/grammar_mutator/README.md deleted file mode 100644 index a015744c..00000000 --- a/custom_mutators/grammar_mutator/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Grammar-Mutator - -This is just a stub directory that will clone the real grammar mutator -directory. - -Execute `./build_grammar_mutator.sh` to set everything up. diff --git a/custom_mutators/grammar_mutator/build_grammar_mutator.sh b/custom_mutators/grammar_mutator/build_grammar_mutator.sh deleted file mode 100755 index f3f5e164..00000000 --- a/custom_mutators/grammar_mutator/build_grammar_mutator.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -test -d Grammar-Mutator || git clone --depth=1 https://github.com/AFLplusplus/Grammar-Mutator - -cd Grammar-Mutator || exit 1 -git stash ; git pull - -wget -c https://www.antlr.org/download/antlr-4.8-complete.jar - -echo -echo -echo "All successfully prepared!" -echo "To build for your grammar just do:" -echo " cd Grammar_Mutator" -echo " make GRAMMAR_FILE=/path/to/your/grammar" -echo "You will find a JSON and RUBY grammar in Grammar_Mutator/grammars to play with." -echo |
