google / google/sanitizers

Port the code reading /proc/self/maps (and smaps) from Chromium

Open
#435 6 comments 0 reactions 1 assignee Claimed by @vitalybuka View on GitHub
Priority-Later ProjectThreadSanitizer Status-Accepted Type-Defect
Dominant language
C
Stars
12.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Originally reported on Google Code with ID 28

```
According to http://crbug.com/258451, the contents of /proc/self/maps cannot be read
atomically, and reading the file line by line may produce a garbled memory map.
We need to improve our /p/s/m reader by doing something similar to https://chromiumcodereview.appspot.com/18661009
```

Reported by `glider@google.com` on 2013-09-06 10:02:50

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.