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

Method isAddressValid

src/pystack/_pystack/mem.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322bool
323ProcessMemoryManager::isAddressValid(remote_addr_t addr, const VirtualMap& map) const
324{
325 if (addr == (uintptr_t) nullptr) {
326 return false;
327 }
328 return map.Start() <= addr && addr < map.End();
329}
330
331CorefileRemoteMemoryManager::CorefileRemoteMemoryManager(
332 std::shared_ptr<CoreFileAnalyzer> analyzer,

Callers 1

getFrameAddrMethod · 0.45

Calls 3

StartMethod · 0.80
EndMethod · 0.80
SizeMethod · 0.80

Tested by

no test coverage detected