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

Method readMemStr

KittyMemoryEx/KittyMemoryMgr.cpp:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 return false;
108 }
109
110 KittyIOFile destIO(destination, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0666);
111 if (!destIO.open())
112 {
113 KITTY_LOGE("dumpMemRange: failed opening destination (%s).", destIO.lastStrError().c_str());
114 return false;
115 }
116
117 std::vector<char> buffer(KT_IO_CHUNK_SIZE);
118 uintptr_t current = start;

Callers

nothing calls this directly

Calls 1

ReadStrMethod · 0.80

Tested by

no test coverage detected