# std.mem.indexOfSentinel: valgrind integration · gitcafe/zig

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

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

Visibility: public

Requested revision: 4dc50151c4593d289ed903d8177f11d724e3ade0

Requested commit: 4dc50151c4593d289ed903d8177f11d724e3ade0

Commit: 4dc50151c4593d289ed903d8177f11d724e3ade0

Tree: d54e1fd3eebebfa1d79443467c27bc87c09231be

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.mem.indexOfSentinel: valgrind integration

this code returns false positives in Valgrind, so we fall back to the
other implementation when running in valgrind.

see #17717

```

## Parents

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

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