llvm-project/compiler-rt/lib
Marcos Pividori 7ac943c463 [interception] Check for export table's size before referring to its elements.
This fix a bug, when calling InternalGetProcAddress() for an executable that
doesn't export any symbol. So the table is empty.
If we don't check for this condition, the program fails with Error 0xc0000142.

Also, I add a regression test for Windows.

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

llvm-svn: 293521
2017-01-30 18:23:37 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [asan] Fix tests for exported interfaces. 2017-01-29 20:19:08 +00:00
builtins [Builtin][ARM] Add Thumb1 support for aeabi_c{f,d}cmp.S and dcmp.S 2017-01-27 01:21:00 +00:00
cfi Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
dfsan Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
esan Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
interception [interception] Check for export table's size before referring to its elements. 2017-01-30 18:23:37 +00:00
lsan Revert "Stop intercepting some malloc-related functions on FreeBSD and macOS" 2017-01-27 23:53:20 +00:00
msan Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
profile [Profile] Fix value profiler eviction bug 2016-11-29 22:00:54 +00:00
safestack [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_common [windows] Properly use dllimport / dllexport. 2017-01-29 06:11:32 +00:00
scudo [scudo] Replacing std::atomic with Sanitizer's atomics 2017-01-20 18:32:18 +00:00
stats Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
tsan [tsan] Fix os_id of main thread 2017-01-26 19:20:30 +00:00
ubsan General definition for weak functions 2017-01-29 05:44:59 +00:00
xray [XRay][ARM32][AArch64] Fix unstable FDR tests on weak-ordering CPUs 2017-01-30 17:10:49 +00:00
CMakeLists.txt Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00