mirror of https://github.com/decompals/wibo.git
Luke Street
5a4af7d51b
* Ensure we don't reallocate during 2GB address space block * Use std::string_view and std::from_chars to avoid allocations * Use MAP_FIXED instead of MAP_FIXED_NOREPLACE * Use raw syscalls and stack buffer * Use exit(1) |
||
---|---|---|
.github/workflows | ||
cmake | ||
dll | ||
test | ||
.clang-format | ||
.clang-tidy | ||
.dockerignore | ||
.gitignore | ||
CMakeLists.txt | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
common.h | ||
files.cpp | ||
files.h | ||
handles.cpp | ||
handles.h | ||
loader.cpp | ||
main.cpp | ||
processes.cpp | ||
processes.h | ||
strutil.cpp | ||
strutil.h |
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
HANDLE
s - 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: