odyaka341 / thread-sanitizer

Automatically exported from code.google.com/p/thread-sanitizer
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by gli...@google.com on 6 Sep 2013 at 10:02

GoogleCodeExporter commented 9 years ago
Current code have not caused any issues yet

Original comment by dvyu...@google.com on 16 Jan 2014 at 4:07