Skip to content

Commit

Permalink
Merge pull request #230 from IntelLabs/docs/fix_range_submit
Browse files Browse the repository at this point in the history
docs: fix range_submit hypercall buffer indexes
  • Loading branch information
Wenzel authored Sep 12, 2023
2 parents 6b4f856 + 910be8c commit 57cb724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/reference/hypercall_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ obtain as part of agent initialization.
caption: Example
---
uint64_t buffer[3] = {0};
buffer[0] = 0; // IP filter index [0-3]
buffer[1] = 0xfffff8010e0b0000 // low range
buffer[2] = 0xfffff8010e0b7000 // high range
buffer[0] = 0xfffff8010e0b0000 // low range
buffer[1] = 0xfffff8010e0b7000 // high range
buffer[2] = 0; // IP filter index [0-3]
kAFL_hypercall(HYPERCALL_KAFL_RANGE_SUBMIT, (uint64_t)buffer);
```

Expand Down

0 comments on commit 57cb724

Please sign in to comment.