Skip to content

Commit

Permalink
Merge pull request #254 from IntelLabs/docs/fix/dump_file_arg
Browse files Browse the repository at this point in the history
docs: fix hypercall argument for DUMP_FILE
  • Loading branch information
Wenzel authored Oct 30, 2023
2 parents b44f47c + d77e97c commit 964ada1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

- Misc fixes (#213)
- Linux kernel tutorial: use implicit IP filters from snapshot metadata: (https://intellabs.github.io/kAFL/reference/hypercall_api.html#range-submit) (#216)

- Fix `DUMP_FILE` hypercall argument (#254) (Thanks @sangjun !)

# 🧰 Behind the scenes

Expand Down
2 changes: 1 addition & 1 deletion docs/source/reference/hypercall_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ kafl_dump_file_t dump_file = {
.bytes = 4096,
.append = 0
};
kAFL_hypercall(HYPERCALL_KAFL_DUMP_FILE, (uint64_t)buffer);
kAFL_hypercall(HYPERCALL_KAFL_DUMP_FILE, (uintptr_t)&dump_file);
```

### `USER_FAST_ACQUIRE`
Expand Down

0 comments on commit 964ada1

Please sign in to comment.