[MSan] Simulate OOM in mmap_interceptor()
Summary: Some kernels can provide 16EiB worth of mappings to each process, which causes mmap test to run for a very long time. In order to make it stop after a few seconds, make mmap_interceptor() fail when the original mmap() returns an address which is outside of the application range. Reviewers: eugenis Reviewed By: eugenis Subscribers: #sanitizers, Andreas-Krebbel, stefansf, jonpa, uweigand Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D76426
Loading
Please register or sign in to comment