OLD | NEW |
(Empty) | |
| 1 //===- subzero/runtime/szrt_asan.c - AddressSanitizer Runtime -----*- C -*-===// |
| 2 // |
| 3 // The Subzero Code Generator |
| 4 // |
| 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. |
| 7 // |
| 8 //===----------------------------------------------------------------------===// |
| 9 /// |
| 10 /// \file |
| 11 /// \brief Provides the AddressSanitizer runtime. |
| 12 /// |
| 13 /// Exposes functions for initializing the shadow memory region and managing it |
| 14 /// on loads, stores, and allocations. |
| 15 /// |
| 16 //===----------------------------------------------------------------------===// |
| 17 |
| 18 #include <stdio.h> |
| 19 |
| 20 // TODO(tlively): Define and implement this library |
| 21 void __asan_init(void) { |
| 22 printf("Set up shadow memory here\n"); |
| 23 return; |
| 24 } |
OLD | NEW |