This commit is contained in:
Simon Lindholm
2022-06-28 23:08:23 +02:00
parent d1a4fd35a7
commit 3fd1f6a30c
7 changed files with 140 additions and 6 deletions

View File

@@ -139,7 +139,7 @@ bool wibo::Executable::loadPE(FILE *file) {
printf("Image Base: %x / Size: %x\n", header32.imageBase, header32.sizeOfImage);
long pageSize = sysconf(_SC_PAGE_SIZE);
printf("Page size: %x\n", pageSize);
printf("Page size: %x\n", (unsigned int)pageSize);
// Build buffer
imageSize = header32.sizeOfImage;