| OLD | NEW |
| 1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 // | 2 // |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 // you may not use this file except in compliance with 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 | 5 // You may obtain a copy of the License at |
| 6 // | 6 // |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 // | 8 // |
| 9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "util/misc/initialization_state_dcheck.h" | 30 #include "util/misc/initialization_state_dcheck.h" |
| 31 | 31 |
| 32 namespace crashpad { | 32 namespace crashpad { |
| 33 | 33 |
| 34 class MachOImageReader; | 34 class MachOImageReader; |
| 35 struct UUID; | 35 struct UUID; |
| 36 | 36 |
| 37 namespace internal { | 37 namespace internal { |
| 38 | 38 |
| 39 //! \brief A ModuleSnapshot of a code module (binary image) loaded into a | 39 //! \brief A ModuleSnapshot of a code module (binary image) loaded into a |
| 40 //! running (or crashed) process on a Mac OS X system. | 40 //! running (or crashed) process on a macOS system. |
| 41 class ModuleSnapshotMac final : public ModuleSnapshot { | 41 class ModuleSnapshotMac final : public ModuleSnapshot { |
| 42 public: | 42 public: |
| 43 ModuleSnapshotMac(); | 43 ModuleSnapshotMac(); |
| 44 ~ModuleSnapshotMac() override; | 44 ~ModuleSnapshotMac() override; |
| 45 | 45 |
| 46 //! \brief Initializes the object. | 46 //! \brief Initializes the object. |
| 47 //! | 47 //! |
| 48 //! \param[in] process_reader A ProcessReader for the task containing the | 48 //! \param[in] process_reader A ProcessReader for the task containing the |
| 49 //! module. | 49 //! module. |
| 50 //! \param[in] process_reader_module The module within the ProcessReader for | 50 //! \param[in] process_reader_module The module within the ProcessReader for |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 ProcessReader* process_reader_; // weak | 89 ProcessReader* process_reader_; // weak |
| 90 InitializationStateDcheck initialized_; | 90 InitializationStateDcheck initialized_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(ModuleSnapshotMac); | 92 DISALLOW_COPY_AND_ASSIGN(ModuleSnapshotMac); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace internal | 95 } // namespace internal |
| 96 } // namespace crashpad | 96 } // namespace crashpad |
| 97 | 97 |
| 98 #endif // CRASHPAD_SNAPSHOT_MAC_MODULE_SNAPSHOT_MAC_H_ | 98 #endif // CRASHPAD_SNAPSHOT_MAC_MODULE_SNAPSHOT_MAC_H_ |
| OLD | NEW |