We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bce372 + 8dfec4c commit a64ba39Copy full SHA for a64ba39
1 file changed
tools/exe2elf/exe2elf.cc
@@ -76,7 +76,7 @@ Usage: {} input.ps-exe [-h] -o output.elf
76
77
std::vector<uint8_t> dataIn;
78
dataIn.resize(memory->actualSize());
79
- memory->readAt(dataIn.data(), dataIn.size(), memory->actualSize());
+ memory->readAt(dataIn.data(), dataIn.size(), memory->lowestAddress());
80
while ((dataIn.size() & 3) != 0) dataIn.push_back(0);
81
ELFIO::elfio writer;
82
0 commit comments