| 34 | static const size_t CACHE_CAPACITY = 5e+7; // 50MB |
| 35 | |
| 36 | VirtualMap::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 | |
| 56 | bool |
| 57 | VirtualMap::containsAddr(remote_addr_t addr) const |
nothing calls this directly
no outgoing calls
no test coverage detected