# fuzzer: account for runtime address slide · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967

Requested commit: 010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967

Commit: 010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967

Tree: 06b820caa177d8ea5dd0b6d19302b7535af054ae

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
fuzzer: account for runtime address slide

This is relevant to PIEs, which are notably enabled by default on macOS.
The build system needs to only see virtual addresses, that is, those
which do not have the slide applied; but the fuzzer itself naturally
sees relocated addresses (i.e. with the slide applied). We just need to
subtract the slide when we communicate addresses to the build system.

```

## Parents

- [0a330d4f947c1b05ac9f7d624443e2f80db2912f](https://git.cafe/gitcafe/zig/commit/0a330d4f947c1b05ac9f7d624443e2f80db2912f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967?format=markdown)
