| 156 | } |
| 157 | |
| 158 | static 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 | |
| 168 | static U32 syscall_execve(CPU* cpu, U32 eipCount) { |
| 169 | std::vector<BString> args; |
no test coverage detected