MCPcopy Create free account
hub / github.com/dobin/RedEdr / ~MemStatic

Method ~MemStatic

RedEdrShared/process_mem_static.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11MemStatic::~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
20void MemStatic::AddMemoryRegion(uint64_t addr, MemoryRegion* region) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected