Coverage for /Syzygy/pdb/pdb_constants.h

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

Line-by-line coverage:

   1    :  // Copyright 2012 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    :  #ifndef SYZYGY_PDB_PDB_CONSTANTS_H_
  15    :  #define SYZYGY_PDB_PDB_CONSTANTS_H_
  16    :  
  17    :  #include <stdint.h>
  18    :  
  19  m :  namespace pdb {
  20    :  
  21    :  // The index of the Pdb old directory stream.
  22  m :  const size_t kPdbOldDirectoryStream = 0;
  23    :  
  24    :  // The index of the Pdb info header stream.
  25  m :  const size_t kPdbHeaderInfoStream = 1;
  26    :  
  27    :  // The version we've observed in the Pdb info header.
  28  m :  const uint32_t kPdbCurrentVersion = 20000404;
  29    :  
  30    :  // The signature we've observed in the section contribs substream of the Pdb Dbi
  31    :  // stream.
  32  m :  const uint32_t kPdbDbiSectionContribsSignature = 0xF12EBA2D;
  33    :  
  34    :  // The signature we've observed for the string tables of the Pdb.
  35  m :  const uint32_t kPdbStringTableSignature = 0xEFFEEFFE;
  36    :  
  37    :  // The version we've observed for the string tables of the Pdb.
  38  m :  const uint32_t kPdbStringTableVersion = 1;
  39    :  
  40    :  // The index of the Tpi (Type info) stream.
  41  m :  const size_t kTpiStream = 2;
  42    :  
  43    :  // The index of the Ipi (ID info) stream. This is of the same layout as the
  44    :  // Tpi stream.
  45  m :  const size_t kIpiStream = 4;
  46    :  
  47    :  // The version we've observed for the Tpi stream.
  48  m :  const uint32_t kTpiStreamVersion = 0x0131CA0B;
  49    :  
  50    :  // The index of the first user-defined type.
  51    :  // Indexes in range 0x0-0xFFF are reserved.
  52    :  // See http://www.openwatcom.org/ftp/devel/docs/CodeView.pdf, section 5.
  53  m :  const uint32_t kTpiStreamFirstUserTypeIndex = 0x1000;
  54    :  
  55    :  // The values we've observed for the hash key and hash buckets fields in the
  56    :  // header of an empty Tpi stream. See the pdb::TypeInfoHashHeader struct.
  57  m :  const uint32_t kTpiStreamEmptyHashKey = 0x4;
  58  m :  const uint32_t kTpiStreamEmptyHashBuckets = 0x8003;
  59    :  
  60    :  // The index of the Dbi info stream.
  61  m :  const size_t kDbiStream = 3;
  62    :  
  63    :  // The version we've observed for the Dbi stream.
  64  m :  const uint32_t kDbiStreamVersion = 0x01310977;
  65    :  
  66    :  // The signature we've observed in the header of the public stream.
  67  m :  const uint32_t kPublicStreamSignature = 0xF12F091A;
  68    :  
  69    :  // The named PDB stream containing the history of Syzygy transformations applied
  70    :  // to an image. This consists of a sequence of Metadata objects.
  71  m :  extern const char kSyzygyHistoryStreamName[];
  72    :  
  73    :  // The version of the Syzygy history stream. This needs to be incremented
  74    :  // whenever the format of the stream has changed.
  75  m :  const uint32_t kSyzygyHistoryStreamVersion = 0;
  76    :  
  77    :  // The named PDB stream containing the serialized BlockGraph of an image.
  78  m :  extern const char kSyzygyBlockGraphStreamName[];
  79    :  
  80    :  // The version of the Syzygy BlockGraph data stream. This needs to be
  81    :  // incremented whenever the format of the stream has changed.
  82  m :  const uint32_t kSyzygyBlockGraphStreamVersion = 1;
  83    :  
  84  m :  }  // namespace pdb
  85    :  
  86    :  #endif  // SYZYGY_PDB_PDB_CONSTANTS_H_

Coverage information generated Fri Jul 29 11:00:21 2016.