Commit d50ce8f5 authored by timurrrr's avatar timurrrr Committed by Commit bot

Add ASan MD RTL to the list of valid imports

BUG=345874

Review URL: https://codereview.chromium.org/974903002

Cr-Commit-Position: refs/heads/master@{#318897}
parent 7764ad3d
...@@ -65,6 +65,9 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) { ...@@ -65,6 +65,9 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) {
"MSVC*", "MSVC*",
#if defined(SYZYASAN) #if defined(SYZYASAN)
"syzyasan_rtl.dll", "syzyasan_rtl.dll",
#endif
#if defined(ADDRESS_SANITIZER) && defined(COMPONENT_BUILD)
"clang_rt.asan_dynamic-i386.dll",
#endif #endif
"ADVAPI32.dll" "ADVAPI32.dll"
}; };
...@@ -76,7 +79,7 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) { ...@@ -76,7 +79,7 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) {
if (MatchPattern(*it, kValidFilePatterns[i])) if (MatchPattern(*it, kValidFilePatterns[i]))
match = true; match = true;
} }
ASSERT_TRUE(match) << "Illegal import in chrome_elf.dll."; ASSERT_TRUE(match) << "Illegal import in chrome_elf.dll: " << *it;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment