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

Side by Side Diff: syzygy/agent/asan/shadow.h

Issue 2526563002: Add a target to run the SyzyAsan RTL unittests in 4G (Closed)
Patch Set: Address nits. Created 4 years 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 unified diff | Download patch
« no previous file with comments | « syzygy/agent/asan/runtime.cc ('k') | syzygy/agent/asan/shadow.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 Google Inc. All Rights Reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 size_t lower_index_; 412 size_t lower_index_;
413 size_t upper_index_; 413 size_t upper_index_;
414 414
415 // The shadow cursor. 415 // The shadow cursor.
416 const uint8_t* shadow_cursor_; 416 const uint8_t* shadow_cursor_;
417 417
418 DISALLOW_COPY_AND_ASSIGN(ShadowWalker); 418 DISALLOW_COPY_AND_ASSIGN(ShadowWalker);
419 }; 419 };
420 420
421 // The static shadow memory that is referred to by the memory interceptors. 421 // The static shadow memory that is referred to by the memory interceptors.
422 // These are provided by one of 'dummy_shadow.cc' or 'static_shadow.cc'.
423 extern "C" { 422 extern "C" {
424 extern const size_t asan_memory_interceptors_shadow_memory_size;
425 extern uint8_t asan_memory_interceptors_shadow_memory[]; 423 extern uint8_t asan_memory_interceptors_shadow_memory[];
426 } 424 }
427 425
428 // Bring in the implementation of the templated functions. 426 // Bring in the implementation of the templated functions.
429 #include "syzygy/agent/asan/shadow_impl.h" 427 #include "syzygy/agent/asan/shadow_impl.h"
430 428
431 } // namespace asan 429 } // namespace asan
432 } // namespace agent 430 } // namespace agent
433 431
434 #endif // SYZYGY_AGENT_ASAN_SHADOW_H_ 432 #endif // SYZYGY_AGENT_ASAN_SHADOW_H_
OLDNEW
« no previous file with comments | « syzygy/agent/asan/runtime.cc ('k') | syzygy/agent/asan/shadow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698