| 9 | } |
| 10 | |
| 11 | MemStatic::~MemStatic() { |
| 12 | // Clean up all allocated MemoryRegion objects |
| 13 | for (const auto& it : memoryRegions.ranges_) { |
| 14 | MemoryRegion* r = (MemoryRegion*)it.data_; |
| 15 | delete r; |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | |
| 20 | void MemStatic::AddMemoryRegion(uint64_t addr, MemoryRegion* region) { |
nothing calls this directly
no outgoing calls
no test coverage detected