Coverage for /Syzygy/assm/unittest_util.h

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
0.0%0014.C++test

Line-by-line coverage:

   1    :  // Copyright 2015 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    :  // Declares some unittest helpers.
  16    :  
  17    :  #ifndef SYZYGY_ASSM_UNITTEST_UTIL_H_
  18    :  #define SYZYGY_ASSM_UNITTEST_UTIL_H_
  19    :  
  20    :  #include "base/basictypes.h"
  21    :  
  22  m :  namespace testing {
  23    :  
  24    :  // Definitions of various length NOP codes for 32-bit X86. We use the same
  25    :  // ones that are typically used by MSVC and recommended by Intel in
  26    :  // the Intel Architecture Software Developer's manual, page 4-8.
  27    :  
  28  m :  extern const uint8 kNop1[1];
  29  m :  extern const uint8 kNop2[2];
  30  m :  extern const uint8 kNop3[3];
  31  m :  extern const uint8 kNop4[4];
  32  m :  extern const uint8 kNop5[5];
  33  m :  extern const uint8 kNop6[6];
  34  m :  extern const uint8 kNop7[7];
  35  m :  extern const uint8 kNop8[8];
  36  m :  extern const uint8 kNop9[9];
  37  m :  extern const uint8 kNop10[10];
  38  m :  extern const uint8 kNop11[11];
  39    :  
  40    :  // Collect all of the various NOPs in an array indexable by their length.
  41  m :  extern const uint8* kNops[12];
  42    :  
  43  m :  }  // namespace testing
  44    :  
  45    :  #endif  // SYZYGY_ASSM_UNITTEST_UTIL_H_

Coverage information generated Thu Jan 14 17:40:38 2016.