Skip to content

Commit 4a6d66d

Browse files
committed
fix typos
1 parent 1978629 commit 4a6d66d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ sending a mail to <[email protected]>.
3737
- LTO: AFL_LLVM_SKIP_NEVERZERO behaviour was inversed, fixed
3838
- setting AFL_LLVM_LAF_SPLIT_FLOATS now activates
3939
AFL_LLVM_LAF_SPLIT_COMPARES
40+
- support for -E and -shared compilation runs
4041
- added honggfuzz mangle as a custom mutator in custom_mutators/honggfuzz
4142
- added afl-frida gum solution to examples/afl_frida (mostly imported
4243
from https://github.com/meme/hotwax/)

llvm_mode/README.instrument_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ must be mangled to match!
7171

7272
afl++ is intelligent to identify if an entry is a filename or a function.
7373
However if you want to be sure (and compliant to the sancov allow/blocklist
74-
format), you can file entries like this:
74+
format), you can specify source file entries like this:
7575
```
7676
src: *malloc.c
7777
```

llvm_mode/README.persistent_mode.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Add after the includes:
125125
extern unsigned char *__afl_area_ptr;
126126
#define MAX_DUMMY_SIZE 256000
127127
128-
__attribute__((constructor(10))) void __afl_protect(void) {
128+
__attribute__((constructor(1))) void __afl_protect(void) {
129129
#ifdef MAP_FIXED_NOREPLACE
130130
__afl_area_ptr = (unsigned char*) mmap((void *)0x10000, MAX_DUMMY_SIZE, PROT_READ | PROT_WRITE, MAP_FIXED_NOREPLACE | MAP_SHARED | MAP_ANONYMOUS, -1, 0);
131131
if ((uint64_t)__afl_area_ptr == -1)
@@ -139,6 +139,7 @@ __attribute__((constructor(10))) void __afl_protect(void) {
139139
and just before `__AFL_INIT()`:
140140
```
141141
munmap(__afl_area_ptr, MAX_DUMMY_SIZE);
142+
__afl_area_ptr = NULL;
142143
```
143144

144145
## 4) persistent mode

0 commit comments

Comments
 (0)