mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 01:58:17 +00:00
minor changes
This commit is contained in:
@ -137,7 +137,7 @@ afl++ has many build options.
|
|||||||
The easiest is to build and install everything:
|
The easiest is to build and install everything:
|
||||||
|
|
||||||
```shell
|
```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
|
$ make distrib
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
```
|
```
|
||||||
|
@ -25,11 +25,10 @@ int main(int argc, char **argv) {
|
|||||||
printf("your string was bugmenot\n");
|
printf("your string was bugmenot\n");
|
||||||
else if (strcmp(input, "BUFFEROVERFLOW") == 0) {
|
else if (strcmp(input, "BUFFEROVERFLOW") == 0) {
|
||||||
|
|
||||||
buf = malloc(16);
|
buf = (char*)malloc(16);
|
||||||
strcpy(buf, "TEST");
|
strcpy(buf, "TEST");
|
||||||
strcat(buf, input);
|
strcat(buf, input);
|
||||||
printf("This will only crash with libdislocator: %s\n", buf);
|
printf("This will only crash with libdislocator: %s\n", buf);
|
||||||
return 0;
|
|
||||||
|
|
||||||
} else if (*(unsigned int *)input == 0xabadcafe)
|
} else if (*(unsigned int *)input == 0xabadcafe)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user