# libfuzzer: fix looking at wrong memory for pc counters · gitcafe/zig

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

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

Visibility: public

Requested revision: 529df8c0075a1a91860523ed33c475473d332ae3

Requested commit: 529df8c0075a1a91860523ed33c475473d332ae3

Commit: 529df8c0075a1a91860523ed33c475473d332ae3

Tree: 925f0606ce54fd9f6f76649f933ff95f8e6920d8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
libfuzzer: fix looking at wrong memory for pc counters

this fix bypasses the slice bounds, reading garbage data for up to the
last 7 bits (which are technically supposed to be ignored). that's going
to need to be fixed, let's fix that along with switching from byte elems
to usize elems.

```

## Parents

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

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