Coverage for /Syzygy/pdbfind/pdbfind_app.h

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
100.0%220.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    :  //
  15    :  // Defines the PdbFindApp class, which implements a command-line tool for
  16    :  // finding the PDB file associated with a given PE file. This uses the same
  17    :  // search mechanism as that employed by the decomposer but outputs meaningful
  18    :  // return code and easily parsable output.
  19    :  
  20    :  #ifndef SYZYGY_PDBFIND_PDBFIND_APP_H_
  21    :  #define SYZYGY_PDBFIND_PDBFIND_APP_H_
  22    :  
  23    :  #include "base/command_line.h"
  24    :  #include "base/files/file_path.h"
  25    :  #include "syzygy/application/application.h"
  26    :  
  27    :  namespace pdbfind {
  28    :  
  29    :  // Implements the "pdbfind" command-line application.
  30    :  //
  31    :  // Refer to kUsageFormatStr (referenced from PdbFindApp::Usage()) for
  32    :  // usage information.
  33    :  class PdbFindApp : public application::AppImplBase {
  34    :   public:
  35  E :    PdbFindApp()
  36    :        : application::AppImplBase("PdbFind") {
  37  E :    }
  38    :  
  39    :    // @name Implementation of the AppImplBase interface.
  40    :    // @{
  41    :    bool ParseCommandLine(const base::CommandLine* command_line);
  42    :    int Run();
  43    :    // @}
  44    :  
  45    :   protected:
  46    :    // @name Utility members.
  47    :    // @{
  48    :    bool Usage(const base::CommandLine* command_line,
  49    :               const base::StringPiece& message) const;
  50    :    // @}
  51    :  
  52    :    // @name Command-line parameters.
  53    :    // @{
  54    :    base::FilePath input_image_path_;
  55    :    // @}
  56    :  };
  57    :  
  58    :  }  // namespace pdbfind
  59    :  
  60    :  #endif  // SYZYGY_PDBFIND_PDBFIND_APP_H_

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