MCPcopy Create free account
hub / github.com/dobin/RedEdr / PrintMemoryRegions

Method PrintMemoryRegions

RedEdrShared/process_mem_static.cpp:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66void MemStatic::PrintMemoryRegions() {
67 printf("Memory Regions: \n");
68 for (const auto& it : memoryRegions.ranges_) {
69 MemoryRegion* r = (MemoryRegion*)it.data_;
70 printf(" %s 0x%llx 0x%llx %s\n",
71 r->name.c_str(),
72 r->addr,
73 r->size,
74 r->protection.c_str()
75 );
76 }
77}
78
79
80nlohmann::json MemStatic::ToJson() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected