| 328 | |
| 329 | |
| 330 | struct DebugModule |
| 331 | { |
| 332 | std::string m_name {}, m_short_name {}; |
| 333 | std::uintptr_t m_address {}; |
| 334 | std::size_t m_size {}; |
| 335 | bool m_loaded {}; |
| 336 | |
| 337 | // These are useful for remote debugging. Paths can be different on the host and guest systems, e.g., |
| 338 | // /usr/bin/ls, and C:\Users\user\Desktop\ls. So we must compare the base file name, rather than the full path. |
| 339 | bool IsSameBaseModule(const DebugModule& other) const; |
| 340 | bool IsSameBaseModule(const std::string& name) const; |
| 341 | static bool IsSameBaseModule(const std::string& module, const std::string& module2); |
| 342 | static std::string GetPathBaseName(const std::string& path); |
| 343 | }; |
| 344 | |
| 345 | |
| 346 | struct DebugRegister |
nothing calls this directly
no outgoing calls
no test coverage detected