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

Unified Diff: syzygy/agent/asan/memory_interceptors_impl.h

Issue 2937353002: Add missing methods to make compiling and linking of 32 bit integration_tests instrumented with LLV… (Closed)
Patch Set: Created 3 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
Index: syzygy/agent/asan/memory_interceptors_impl.h
diff --git a/syzygy/agent/asan/memory_interceptors_impl.h b/syzygy/agent/asan/memory_interceptors_impl.h
index cb2b1339d585d4b1a94eb1a6e4ff46da18257a30..1cc4a4a2961c4f772cd6917770dfb6030428b2b3 100644
--- a/syzygy/agent/asan/memory_interceptors_impl.h
+++ b/syzygy/agent/asan/memory_interceptors_impl.h
@@ -80,9 +80,41 @@ const size_t ONE_TB = static_cast<size_t>(1) << 40;
#endif
extern "C" {
+void asan_init() {
+ return;
+}
+
+void* asan_get_shadow_memory_dynamic_address() {
+ return nullptr;
+ NOTREACHED();
+}
+
+// Currently this is a dummy function.
+// Returning zero means do not detect stack use after return.
+// TODO (njanevsk): Implement this function.
+int asan_should_detect_stack_use_after_return() {
+ return 0;
+}
+
+// Currently this is a dummy function.
+// This one always returns 0.
+// TODO (njanevsk): Implement this function.
+int asan_set_seh_filter() {
+ return 0;
+}
+
+// TODO (njanevsk): Implement this function.
+void asan_version_mismatch_check_v8() {
+ return;
+}
+// TODO (njanevsk): Implement this function.
void asan_clang_no_check(const void*) {
return;
}
+// TODO (njanevsk): Implement this function.
Sébastien Marchand 2017/06/20 22:06:14 Add a BL between each function.
njanevsk 2017/06/21 14:39:30 Done.
+void asan_handle_no_return() {
+}
+
#ifdef _WIN64
void asan_string_no_check() {
return;

Powered by Google App Engine
This is Rietveld 408576698