This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Disable interceptor tests on non-Linux platforms.
ClosedPublic

Authored by dokyungs on Jul 23 2020, 9:36 AM.

Details

Summary

libFuzzer's interceptor support added in 831ae45e3dc609e43ba561af07670a8fe47461ef currently only works on Linux. This patch disables the test cases added as part of that commit on non-Linux platforms.

Diff Detail

Event Timeline

dokyungs created this revision.Jul 23 2020, 9:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2020, 9:36 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript

I just realized that NoAsan(Memcmp/Strcmp/Strncmp/Strstr) tests also need disabling, since interceptors right now are only effective on LINUX. I will follow up with an updated patch.

dokyungs updated this revision to Diff 280193.Jul 23 2020, 10:10 AM

Disable all interceptor test cases on non-Linux platforms, since libFuzzer's interceptor support is enabled only on Linux.

dokyungs retitled this revision from [libFuzzer] Disable custom allocator test on Windows. to [libFuzzer] Disable interceptor tests on non-Linux platforms..Jul 23 2020, 10:10 AM
dokyungs edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jul 23 2020, 10:17 AM
This revision was automatically updated to reflect the committed changes.