Quick-and-dirty wrapper that tries to run 32-bit Windows command-line executables on Linux
Go to file
ConorB 3e2d84fa69
Force VirtualAlloc allocations to fall below the 2GB mark (#36)
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
2023-06-02 21:30:45 +02:00
.github/workflows Build static binary (#29) 2023-01-23 10:20:30 +09:00
cmake Explicitly link std::filesystem as needed (#14) 2022-07-08 02:02:27 +09:00
dll Force VirtualAlloc allocations to fall below the 2GB mark (#36) 2023-06-02 21:30:45 +02:00
test 3 funcs needed for some mwcc compilers (#22) 2022-09-24 23:59:30 +09:00
.dockerignore Add Dockerfile + build action (#3) 2022-06-30 20:42:24 +01:00
.gitignore Add CMakeLists.txt (#8) 2022-07-06 20:03:19 +09:00
CMakeLists.txt Use __attribute__((force_align_arg_pointer)) (#30) 2023-01-23 16:36:14 +01:00
Dockerfile Use __attribute__((force_align_arg_pointer)) (#30) 2023-01-23 16:36:14 +01:00
LICENSE first commit 2022-06-13 02:20:18 +02:00
README.md Add CMakeLists.txt (#8) 2022-07-06 20:03:19 +09:00
common.h Various fixes for mwcc/mwld (#32) 2023-01-23 21:22:50 +01:00
files.cpp Various fixes for mwcc/mwld (#32) 2023-01-23 21:22:50 +01:00
files.h Various fixes for mwcc/mwld (#32) 2023-01-23 21:22:50 +01:00
handles.cpp 3 funcs needed for some mwcc compilers (#22) 2022-09-24 23:59:30 +09:00
handles.h 3 funcs needed for some mwcc compilers (#22) 2022-09-24 23:59:30 +09:00
loader.cpp Clean up function resolution a little 2022-07-18 23:02:55 +02:00
main.cpp Force VirtualAlloc allocations to fall below the 2GB mark (#36) 2023-06-02 21:30:45 +02:00

README.md

WiBo

A minimal, low-fuss wrapper that can run really simple command-line 32-bit Windows binaries on Linux - with less faff and less dependencies than WINE.

Don't run this on any untrusted executables, I implore you. (Or probably just don't run it at all... :p)

cmake -B build
cmake --build build
build/wibo

Rough to-do list:

  • Implement more APIs
  • Do something intelligent with Windows HANDLEs
  • Convert paths in environment variables (and the structure of PATH itself, maybe) to Windows format
  • Implement PE relocations rather than just failing unceremoniously
  • Make the PE loader work for DLLs as well in case we ever want to load some

Related projects: