This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Move *stat to the common interceptors
ClosedPublic

Authored by zhaoqin on May 4 2016, 3:29 PM.

Details

Summary

Adds *stat to the common interceptors.

Removes the now-duplicate *stat interceptor from msan/tsan/esan.
This adds *stat to asan, which previously did not intercept it.

Diff Detail

Event Timeline

zhaoqin updated this revision to Diff 56211.May 4 2016, 3:29 PM
zhaoqin retitled this revision from to [sanitizer] Move *stat to the common interceptors.
zhaoqin updated this object.
zhaoqin added reviewers: aizatsky, eugenis.
aizatsky accepted this revision.May 6 2016, 11:12 AM
aizatsky edited edge metadata.
This revision is now accepted and ready to land.May 6 2016, 11:12 AM
eugenis added inline comments.May 6 2016, 11:23 AM
lib/sanitizer_common/sanitizer_platform_interceptors.h
302

There is no "stat64" export in glibc on linux.
Which platforms actually need this interceptor?

eugenis requested changes to this revision.May 6 2016, 11:23 AM
eugenis edited edge metadata.
This revision now requires changes to proceed.May 6 2016, 11:23 AM
zhaoqin updated this revision to Diff 56816.May 10 2016, 2:07 PM
zhaoqin edited edge metadata.

PTAL

eugenis accepted this revision.May 10 2016, 3:13 PM
eugenis edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 10 2016, 3:13 PM

Evgenii

Could you help me land this CL as I still do not have the commit right yet.

Best Regards
Qin

vitalybuka accepted this revision.May 11 2016, 12:07 PM
vitalybuka added a reviewer: vitalybuka.

I will, after lunch :)

eugenis closed this revision.May 11 2016, 1:08 PM

r269223