MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / dumpMemELF

Method dumpMemELF

KittyMemoryEx/KittyMemoryMgr.cpp:191–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 return false;
190 }
191 }
192
193 bool dumpedAtLeastOne = false;
194
195 for (size_t i = 0; i < fileMappings.size(); ++i)
196 {
197 const auto &mapping = fileMappings[i];
198
199 std::string filePath = outPath;
200
201 if (fileMappings.size() > 1)
202 {
203 size_t dot = filePath.find_last_of('.');
204 if (dot != std::string::npos)
205 filePath.insert(dot, "_" + std::to_string(i));
206 else
207 filePath += "_" + std::to_string(i);
208 }
209
210 if (dumpMemRange(mapping.front().startAddress, mapping.back().endAddress, filePath))

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls 8

baseMethod · 0.80
loadSizeMethod · 0.80
endMethod · 0.80
isFixedBySoInfoMethod · 0.80
openMethod · 0.80
headerMethod · 0.80
pwriteMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected