Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2282)

Unified Diff: chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc

Issue 434163002: Changes to module_integrity_verifier.cc that allow the function VerifyModule (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patchHunting2
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
diff --git a/chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc b/chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
index 4d370399315ad3706c4e724348b48da62caaadb1..e0ad0d061a7d657c61f094dcfb8ae35436bcfcc7 100644
--- a/chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
+++ b/chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
@@ -4,6 +4,12 @@
#include <windows.h>
+extern "C" {
+// Have a dummy export so that the module gets an export table entry.
+void DummyExport() {
+}
+}
+
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698