mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
minor changes
This commit is contained in:
parent
b120ca27f8
commit
b6f9f4c436
@ -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
|
||||
```
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user