| 82 | } |
| 83 | |
| 84 | QString ProcessMemoryWindowsProvider::getSymbol(uint64_t addr) const |
| 85 | { |
| 86 | for (const auto& mod : m_modules) |
| 87 | { |
| 88 | if (addr >= mod.base && addr < mod.base + mod.size) |
| 89 | { |
| 90 | uint64_t offset = addr - mod.base; |
| 91 | return QStringLiteral("%1+0x%2") |
| 92 | .arg(mod.name) |
| 93 | .arg(offset, 0, 16, QChar('0')); |
| 94 | } |
| 95 | } |
| 96 | return {}; |
| 97 | } |
| 98 | |
| 99 | void ProcessMemoryWindowsProvider::cacheModules() |
| 100 | { |
nothing calls this directly
no outgoing calls
no test coverage detected