hanchenye-llvm-project/compiler-rt/lib/interception/tests
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
..
CMakeLists.txt [asan] Don't assert that a target is within 2GB on 32-bit Windows 2016-11-15 18:29:17 +00:00
interception_linux_test.cc [interception] Avoid duplicate declaration of isdigit in test 2016-09-14 15:02:32 +00:00
interception_test_main.cc
interception_win_test.cc [interception] Check for export table's size before referring to its elements. 2017-01-30 18:23:37 +00:00