afl-fuzz: add usage info when no python support is there, use it in test.sh

This commit is contained in:
hexcoder-
2020-04-08 17:53:25 +00:00
committed by van Hauser
parent d397bba6b2
commit ae05f5c4b0
2 changed files with 78 additions and 70 deletions

View File

@ -198,6 +198,8 @@ static void usage(afl_state_t *afl, u8 *argv0, int more_help) {
#ifdef USE_PYTHON
SAYF("Compiled with %s module support, see docs/custom_mutator.md\n",
(char *)PYTHON_VERSION);
#else
SAYF("Compiled without python module support\n");
#endif
SAYF("For additional help please consult %s/README.md\n\n", doc_path);