mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
fix typos
This commit is contained in:
@ -37,6 +37,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
- LTO: AFL_LLVM_SKIP_NEVERZERO behaviour was inversed, fixed
|
- LTO: AFL_LLVM_SKIP_NEVERZERO behaviour was inversed, fixed
|
||||||
- setting AFL_LLVM_LAF_SPLIT_FLOATS now activates
|
- setting AFL_LLVM_LAF_SPLIT_FLOATS now activates
|
||||||
AFL_LLVM_LAF_SPLIT_COMPARES
|
AFL_LLVM_LAF_SPLIT_COMPARES
|
||||||
|
- support for -E and -shared compilation runs
|
||||||
- added honggfuzz mangle as a custom mutator in custom_mutators/honggfuzz
|
- added honggfuzz mangle as a custom mutator in custom_mutators/honggfuzz
|
||||||
- added afl-frida gum solution to examples/afl_frida (mostly imported
|
- added afl-frida gum solution to examples/afl_frida (mostly imported
|
||||||
from https://github.com/meme/hotwax/)
|
from https://github.com/meme/hotwax/)
|
||||||
|
@ -71,7 +71,7 @@ must be mangled to match!
|
|||||||
|
|
||||||
afl++ is intelligent to identify if an entry is a filename or a function.
|
afl++ is intelligent to identify if an entry is a filename or a function.
|
||||||
However if you want to be sure (and compliant to the sancov allow/blocklist
|
However if you want to be sure (and compliant to the sancov allow/blocklist
|
||||||
format), you can file entries like this:
|
format), you can specify source file entries like this:
|
||||||
```
|
```
|
||||||
src: *malloc.c
|
src: *malloc.c
|
||||||
```
|
```
|
||||||
|
@ -125,7 +125,7 @@ Add after the includes:
|
|||||||
extern unsigned char *__afl_area_ptr;
|
extern unsigned char *__afl_area_ptr;
|
||||||
#define MAX_DUMMY_SIZE 256000
|
#define MAX_DUMMY_SIZE 256000
|
||||||
|
|
||||||
__attribute__((constructor(10))) void __afl_protect(void) {
|
__attribute__((constructor(1))) void __afl_protect(void) {
|
||||||
#ifdef MAP_FIXED_NOREPLACE
|
#ifdef MAP_FIXED_NOREPLACE
|
||||||
__afl_area_ptr = (unsigned char*) mmap((void *)0x10000, MAX_DUMMY_SIZE, PROT_READ | PROT_WRITE, MAP_FIXED_NOREPLACE | MAP_SHARED | MAP_ANONYMOUS, -1, 0);
|
__afl_area_ptr = (unsigned char*) mmap((void *)0x10000, MAX_DUMMY_SIZE, PROT_READ | PROT_WRITE, MAP_FIXED_NOREPLACE | MAP_SHARED | MAP_ANONYMOUS, -1, 0);
|
||||||
if ((uint64_t)__afl_area_ptr == -1)
|
if ((uint64_t)__afl_area_ptr == -1)
|
||||||
@ -139,6 +139,7 @@ __attribute__((constructor(10))) void __afl_protect(void) {
|
|||||||
and just before `__AFL_INIT()`:
|
and just before `__AFL_INIT()`:
|
||||||
```
|
```
|
||||||
munmap(__afl_area_ptr, MAX_DUMMY_SIZE);
|
munmap(__afl_area_ptr, MAX_DUMMY_SIZE);
|
||||||
|
__afl_area_ptr = NULL;
|
||||||
```
|
```
|
||||||
|
|
||||||
## 4) persistent mode
|
## 4) persistent mode
|
||||||
|
Reference in New Issue
Block a user