| 70 | }; |
| 71 | |
| 72 | class CoreFileExtractor |
| 73 | { |
| 74 | public: |
| 75 | // Constructors |
| 76 | explicit CoreFileExtractor(std::shared_ptr<CoreFileAnalyzer> analyzer); |
| 77 | |
| 78 | // Methods |
| 79 | std::vector<CoreVirtualMap> MemoryMaps() const; |
| 80 | std::vector<SimpleVirtualMap> ModuleInformation() const; |
| 81 | pid_t Pid() const; |
| 82 | std::string extractExecutable() const; |
| 83 | CoreCrashInfo extractFailureInfo() const; |
| 84 | CorePsInfo extractPSInfo() const; |
| 85 | const std::vector<CoreVirtualMap> extractMappedFiles() const; |
| 86 | std::vector<std::string> missingModules() const; |
| 87 | |
| 88 | private: |
| 89 | // Data members |
| 90 | std::shared_ptr<CoreFileAnalyzer> d_analyzer; |
| 91 | std::vector<SimpleVirtualMap> d_module_info; |
| 92 | std::vector<CoreVirtualMap> d_maps; |
| 93 | |
| 94 | // Methods |
| 95 | void populateMaps(); |
| 96 | uintptr_t findExecFn() const; |
| 97 | }; |
| 98 | } // namespace pystack |
nothing calls this directly
no outgoing calls
no test coverage detected