aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c
diff options
context:
space:
mode:
authorMatthew Lugg <mlugg@mlugg.co.uk>2025-11-19 12:55:17 +0000
committerMatthew Lugg <mlugg@mlugg.co.uk>2025-11-20 10:42:20 +0000
commit010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967 (patch)
tree06b820caa177d8ea5dd0b6d19302b7535af054ae /src/codegen/c
parent0a330d4f947c1b05ac9f7d624443e2f80db2912f (diff)
downloadzig-010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967.tar.gz
zig-010dcd6a9b64d5bd13579a4b0c4c70a5aee5c967.zip
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.
Diffstat (limited to 'src/codegen/c')
0 files changed, 0 insertions, 0 deletions