diff options
author | Maxim Ostapenko <m.ostapenko@samsung.com> | 2016-10-05 17:04:08 +0300 |
---|---|---|
committer | Maxim Ostapenko <m.ostapenko@samsung.com> | 2016-11-30 15:00:36 +0300 |
commit | 059d7696a8c6ab63d1bf4271a20629e76fcd392e (patch) | |
tree | 444084d61ed04d11fd700402ddba5485ee946be5 /include | |
parent | 9c2785c174d07a35414709ebde53b1c30e1d139a (diff) | |
download | linaro-gcc-059d7696a8c6ab63d1bf4271a20629e76fcd392e.tar.gz linaro-gcc-059d7696a8c6ab63d1bf4271a20629e76fcd392e.tar.bz2 linaro-gcc-059d7696a8c6ab63d1bf4271a20629e76fcd392e.zip |
Add mmap/munmap interceptors.submit/tizen_base/20161214.064516submit/tizen_base/20161211.223828accepted/tizen/base/20161216.190341
Some allocators may use mmap for their local pools that may cause false positive
reports because LSan currently doesn't intercept mmap call mainly due to its
complexity (we don't know whether a particular mmap would contain live pointers).
However for some cases (e.g. anonymous rw mmaps) we can guess that they would
contain live pointers thus we can add them into root regions. Thus, now we
intercept mmap/munmap calls, add anonymous rw mappings into root regions and
call real mmap.
Change-Id: Ie0bde91497a31ab670f15d67b34d328969dc0981
Signed-off-by: Maxim Ostapenko <m.ostapenko@samsung.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions