google / google/sanitizers

intercept libc's regexec, at least to avoid msan false positives

Open
#798 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

See e.g. https://github.com/file/file/commit/393dafa41b26a7d8ed593912e0ec1f1e7bd4e406
(valid code require a workaround to use msan)

Contributor guide

Open the contributing guide

Research direction

Start with the referenced file/file commit 393dafa41b26a7d8ed593912e0ec1f1e7bd4e406 and inspect how libc's regexec interacts with MemorySanitizer. Then locate the sanitizer interceptor code and determine the scope needed to prevent the reported false positives; done means valid code no longer requires the referenced workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
testing-qa, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.