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

Unified Diff: syzygy/agent/asan/rtl_impl.cc

Issue 2331373007: Add the GetActiveRuntime function back into the x64 version of syzyasan_rtl. (Closed)
Patch Set: BL. Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/rtl_impl.cc
diff --git a/syzygy/agent/asan/rtl_impl.cc b/syzygy/agent/asan/rtl_impl.cc
index 11bd113e7af4c1c29a679b70914ef707f5060616..807eef9d7a0b9aa0d522a4aad4ee55c99fb68330 100644
--- a/syzygy/agent/asan/rtl_impl.cc
+++ b/syzygy/agent/asan/rtl_impl.cc
@@ -221,12 +221,12 @@ void WINAPI asan_SetOnExceptionCallback(OnExceptionCallback callback) {
}
}
-#ifndef _WIN64
// Unittesting seam.
AsanRuntime* WINAPI asan_GetActiveRuntime() {
return asan_runtime;
}
+#ifndef _WIN64
void __declspec(naked) asan_SetAllocationFilterFlag() {
__asm {
pushad
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698