MCPcopy Create free account
hub / github.com/bloomberg/pystack / CoreFileExtractor

Class CoreFileExtractor

src/pystack/_pystack/corefile.h:72–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70};
71
72class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected