Coverage for /Syzygy/agent/asan/asan_system_interceptors.cc

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
0.0%030.C++source

Line-by-line coverage:

   1    :  // Copyright 2014 Google Inc. All Rights Reserved.
   2    :  //
   3    :  // Licensed under the Apache License, Version 2.0 (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
   6    :  //
   7    :  //     http://www.apache.org/licenses/LICENSE-2.0
   8    :  //
   9    :  // Unless required by applicable law or agreed to in writing, software
  10    :  // distributed under the License is distributed on an "AS IS" BASIS,
  11    :  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12    :  // See the License for the specific language governing permissions and
  13    :  // limitations under the License.
  14    :  
  15    :  #include "syzygy/agent/asan/asan_system_interceptors.h"
  16    :  
  17    :  #include <intrin.h>
  18    :  
  19    :  #include <algorithm>
  20    :  
  21    :  #include "base/logging.h"
  22    :  #include "syzygy/agent/asan/asan_rtl_utils.h"
  23    :  #include "syzygy/agent/asan/asan_runtime.h"
  24    :  #include "syzygy/agent/asan/error_info.h"
  25    :  #include "syzygy/agent/asan/shadow.h"
  26    :  
  27    :  namespace {
  28    :  
  29    :  using agent::asan::Shadow;
  30    :  using agent::asan::TestMemoryRange;
  31    :  using agent::asan::TestStructure;
  32    :  
  33    :  // A callback that will be used in the functions interceptors once the call
  34    :  // to the intercepted function has been done. This is for testing purposes
  35    :  // only.
  36    :  InterceptorTailCallback interceptor_tail_callback = NULL;
  37    :  
  38    :  }  // namespace
  39    :  
  40    :  extern "C" {
  41    :  
  42  i :  void asan_SetInterceptorCallback(InterceptorTailCallback callback) {
  43  i :    interceptor_tail_callback = callback;
  44  i :  }
  45    :  
  46    :  // Bring in the implementation of the system interceptors that have been
  47    :  // automatically generated.
  48    :  #include "syzygy/agent/asan/asan_system_interceptors_impl.gen"
  49    :  
  50    :  }  // extern "C"

Coverage information generated Thu Mar 26 16:15:41 2015.