minor changes

This commit is contained in:
van Hauser 2020-04-23 16:08:36 +02:00
parent b120ca27f8
commit b6f9f4c436
2 changed files with 2 additions and 3 deletions

View File

@ -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
```

View File

@ -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)