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

Method AbstractProcessManager

src/pystack/_pystack/process.cpp:213–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213AbstractProcessManager::AbstractProcessManager(
214 pid_t pid,
215 std::vector<VirtualMap>&& memory_maps,
216 MemoryMapInformation&& map_info)
217: d_pid(pid)
218, d_memory_maps(memory_maps)
219, d_manager(nullptr)
220, d_unwinder(nullptr)
221, d_analyzer(nullptr)
222{
223 d_main_map = map_info.MainMap();
224 d_bss = map_info.Bss();
225 d_heap = map_info.Heap();
226 if (!d_main_map) {
227 throw std::runtime_error("The main interpreter map could not be located");
228 }
229}
230
231bool
232AbstractProcessManager::isValidDictionaryObject(remote_addr_t addr) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected