diff options
author | van Hauser <vh@thc.org> | 2020-04-23 16:08:36 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-23 16:08:36 +0200 |
commit | b6f9f4c436bc8c63f9039847d2a7b6e13da3515e (patch) | |
tree | 523a401d970c0c4599ca6b228fd4703ca10b0e8a | |
parent | b120ca27f86c332854687bb67c4c18d2e6b74ac9 (diff) | |
download | afl++-b6f9f4c436bc8c63f9039847d2a7b6e13da3515e.tar.gz |
minor changes
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | test/test-compcov.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md index 9ec7b6e7..222afab7 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ afl++ has many build options. The easiest is to build and install everything: ```shell -$ sudo apt install build-essential libtool-bin python3 automake bison libglib2.0-dev libpixman-1-dev clang python-setuptools +$ sudo apt install build-essential libtool-bin python3 automake bison libglib2.0-dev libpixman-1-dev clang python-setuptools llvm $ make distrib $ sudo make install ``` diff --git a/test/test-compcov.c b/test/test-compcov.c index f1743265..5278af93 100644 --- a/test/test-compcov.c +++ b/test/test-compcov.c @@ -25,11 +25,10 @@ int main(int argc, char **argv) { printf("your string was bugmenot\n"); else if (strcmp(input, "BUFFEROVERFLOW") == 0) { - buf = malloc(16); + buf = (char*)malloc(16); strcpy(buf, "TEST"); strcat(buf, input); printf("This will only crash with libdislocator: %s\n", buf); - return 0; } else if (*(unsigned int *)input == 0xabadcafe) |