A basic dynamic loader for Linux and Windows.
- No standard libraries
All examples use Docker for compatibility, but should work on Linux machines with the necessary packages. See Dockerfile for necessary packages.
git clone https://github.com/Sharpiro/tiny-wine.git
cd tiny-wine
docker build -t tinywine $PWD
docker run --rm -v $PWD:/root/tiny_wine tinywine make
docker run --rm -v $PWD:/root/tiny_wine tinywine ./loader ./tinyfetch
root@3db29f0a588e
--------------
OS: Ubuntu 22.04.4 LTS armv7l
Kernel: 6.10.5-100.fc39.x86_64
Uptime: Uptime: 32 days, 21 hours, 29 minutes
Shell: /bin/bash
docker run --rm -v $PWD:/root/tiny_wine tinywine ./winloader ./windynamic.exe
docker run --rm -v $PWD:/root/tiny_wine tinywine ./test.sh
Miscellaneous tools that assist with debugging dynamic loaders.
Tool for reading the Windows PE format.
docker run --rm -v $PWD:/root/tiny_wine tinywine ./readwin ./windynamic.exe
This repo is currently experimental and thus not taking contributions at this time.