diff options
| author | van Hauser <vh@thc.org> | 2024-07-01 08:57:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-01 08:57:38 +0200 |
| commit | 53409530b369e560c7f6f37ead5a5db9e116efd0 (patch) | |
| tree | 6449fa84e6b9e26849d298af881014b18f55dc0b /custom_mutators/atnwalk | |
| parent | 36db3428ab16156dd72196213d2a02a5eadaed11 (diff) | |
| parent | 43014cd465eec8cc47eda041802001776dbb5dd5 (diff) | |
| download | afl++-53409530b369e560c7f6f37ead5a5db9e116efd0.tar.gz | |
Merge pull request #2141 from AFLplusplus/dev
push to stable
Diffstat (limited to 'custom_mutators/atnwalk')
| -rw-r--r-- | custom_mutators/atnwalk/README.md | 2 | ||||
| -rw-r--r-- | custom_mutators/atnwalk/atnwalk.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/custom_mutators/atnwalk/README.md b/custom_mutators/atnwalk/README.md index 730349a3..7dbe8ee5 100644 --- a/custom_mutators/atnwalk/README.md +++ b/custom_mutators/atnwalk/README.md @@ -13,7 +13,7 @@ Just type `make` to build `atnwalk.so`. **NOTE:** The commands below just demonstrate an example how running ATNwalk looks like and require a working [testbed](https://github.com/atnwalk/testbed) ```bash -# create the required a random seed first +# create the required random seed first mkdir -p ~/campaign/example/seeds cd ~/campaign/example/seeds head -c1 /dev/urandom | ~/atnwalk/build/javascript/bin/decode -wb > seed.decoded 2> seed.encoded diff --git a/custom_mutators/atnwalk/atnwalk.c b/custom_mutators/atnwalk/atnwalk.c index c3a2cd95..45ccc181 100644 --- a/custom_mutators/atnwalk/atnwalk.c +++ b/custom_mutators/atnwalk/atnwalk.c @@ -180,7 +180,8 @@ size_t fail_fatal(int fd_socket, uint8_t **out_buf) { if (fd_socket != -1) { close(fd_socket); } *out_buf = NULL; - return 0; + fprintf(stderr, "atnwalk.socket not found in current directory!\n"); + exit(-1); } |
