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

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

Issue 2526563002: Add a target to run the SyzyAsan RTL unittests in 4G (Closed)
Patch Set: Address nits. Created 4 years, 1 month 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 | « syzygy/agent/asan/asan.gyp ('k') | syzygy/agent/asan/rtl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/dummy_shadow.cc
diff --git a/syzygy/agent/asan/dummy_shadow.cc b/syzygy/agent/asan/dummy_shadow.cc
deleted file mode 100644
index d57d7eb79d947da338153250a09f06a74f070866..0000000000000000000000000000000000000000
--- a/syzygy/agent/asan/dummy_shadow.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 Google Inc. All Rights Reserved.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-// Provides a dummy static shadow memory array. This is simply to be used as
-// a pointer for the probes to be anchored to. If any of the probes referring
-// to this dummy shadow memory are run they will behave badly until they have
-// been patched using 'PatchMemoryInterceptorShadowReferences'.
-//
-// Intended for use in syzyasan_rtl.dll.
-
-#include <cstdint>
-
-namespace {
-
-static const size_t kShadowSize = 1;
-
-} // namespace
-
-extern "C" {
-size_t asan_memory_interceptors_shadow_memory_size = kShadowSize;
-uint8_t asan_memory_interceptors_shadow_memory[kShadowSize] = {};
-}
« no previous file with comments | « syzygy/agent/asan/asan.gyp ('k') | syzygy/agent/asan/rtl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698