llvm-project/compiler-rt/lib/esan
Francis Ricci f6a4329b7d Refactor MemoryMappingLayout::Next to use a single struct instead of output parameters. NFC.
Summary:
This is the first in a series of patches to refactor sanitizer_procmaps
to allow MachO section information to be exposed on darwin.

In addition, grouping all segment information in a single struct is
cleaner than passing it through a large set of output parameters, and
avoids the need for annotations of NULL parameters for unneeded
information.

The filename string is optional and must be managed and supplied by the
calling function. This is to allow the MemoryMappedSegment struct to be
stored on the stack without causing overly large stack sizes.

Reviewers: alekseyshl, kubamracek, glider

Subscribers: emaste, llvm-commits

Differential Revision: https://reviews.llvm.org/D35135

llvm-svn: 307688
2017-07-11 18:54:00 +00:00
..
CMakeLists.txt Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
cache_frag.cpp [ESan][MIPS] Fix tests struct-simple.cpp on MIPS 2016-09-22 08:36:54 +00:00
cache_frag.h [esan] Add __esan_report for mid-run data 2016-07-09 04:13:25 +00:00
esan.cpp [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan.h [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan.syms.extra [esan] Add compilation unit init/exit routines. 2016-05-24 22:22:20 +00:00
esan_circular_buffer.h [esan|wset] Add 8-level working set snapshot accumulation 2016-06-03 16:27:50 +00:00
esan_flags.cpp [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_flags.h [esan] Add custom flag support 2016-05-20 19:26:52 +00:00
esan_flags.inc [esan|cfrag] Compute the struct field access difference ratio 2016-06-03 20:48:17 +00:00
esan_hashtable.h [esan] Add iterator to esan's generic hashtable 2016-08-08 17:37:19 +00:00
esan_interceptors.cpp [asan] Recommit of r301904: Add strndup/__strndup interceptors 2017-05-11 08:53:24 +00:00
esan_interface.cpp [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
esan_interface_internal.h [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_linux.cpp [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan_shadow.h [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan_sideline.h [esan] Add sideline itimer support 2016-06-03 16:14:07 +00:00
esan_sideline_linux.cpp [esan] Fix sideline thread flaky assert 2016-07-19 05:03:38 +00:00
working_set.cpp Refactor MemoryMappingLayout::Next to use a single struct instead of output parameters. NFC. 2017-07-11 18:54:00 +00:00
working_set.h [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
working_set_posix.cpp [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00