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

Method VirtualMap

src/pystack/_pystack/mem.cpp:36–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34static const size_t CACHE_CAPACITY = 5e+7; // 50MB
35
36VirtualMap::VirtualMap(
37 uintptr_t start,
38 uintptr_t end,
39 unsigned long filesize,
40 std::string flags,
41 unsigned long offset,
42 std::string device,
43 unsigned long inode,
44 std::string pathname)
45: d_start(start)
46, d_end(end)
47, d_filesize(filesize)
48, d_flags(std::move(flags))
49, d_offset(offset)
50, d_device(std::move(device))
51, d_inode(inode)
52, d_path(std::move(pathname))
53{
54}
55
56bool
57VirtualMap::containsAddr(remote_addr_t addr) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected