* @brief Converts the map to a string representation.. */
| 79 | * @brief Converts the map to a string representation.. |
| 80 | */ |
| 81 | inline std::string toString() const |
| 82 | { |
| 83 | return KittyUtils::String::fmt("%" PRIxPTR "-%" PRIxPTR " %c%c%c%c %" PRIxPTR " %s %lu %s", |
| 84 | startAddress, |
| 85 | endAddress, |
| 86 | readable ? 'r' : '-', |
| 87 | writeable ? 'w' : '-', |
| 88 | executable ? 'x' : '-', |
| 89 | is_private ? 'p' : 's', |
| 90 | offset, |
| 91 | dev.c_str(), |
| 92 | inode, |
| 93 | pathname.c_str()); |
| 94 | } |
| 95 | }; |
| 96 | |
| 97 | /** |
no outgoing calls
no test coverage detected