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

Unified Diff: runtime/szrt_asan.c

Issue 2067403002: Instrumented load and store with dummy calls to __asan_check(). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Improved tests Created 4 years, 6 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 | src/IceASanInstrumentation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/szrt_asan.c
diff --git a/runtime/szrt_asan.c b/runtime/szrt_asan.c
index f89f04b19996ba832c52ab3d88ed8b3e9fda7583..db020f5968c856c2c9416a40cfc684be6d54e50f 100644
--- a/runtime/szrt_asan.c
+++ b/runtime/szrt_asan.c
@@ -22,3 +22,8 @@ void __asan_init(void) {
printf("Set up shadow memory here\n");
return;
}
+
+void __asan_check(void *addr, int size) {
+ printf("Check access of %p of size %d\n", addr, size);
+ return;
+}
« no previous file with comments | « no previous file | src/IceASanInstrumentation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698