MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / readStringArray

Function readStringArray

source/kernel/syscall.cpp:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158static void readStringArray(KMemory* memory, U32 address, std::vector<BString>& results) {
159 while (true) {
160 U32 p = memory->readd(address);
161 if (!p)
162 break;
163 address += 4;
164 results.push_back(memory->readString(p));
165 }
166}
167
168static U32 syscall_execve(CPU* cpu, U32 eipCount) {
169 std::vector<BString> args;

Callers 1

syscall_execveFunction · 0.85

Calls 3

readdMethod · 0.45
push_backMethod · 0.45
readStringMethod · 0.45

Tested by

no test coverage detected