Skip to content

Native Windows Programs

buntatoes edited this page Nov 28, 2026 · 3 revisions

Native Windows Programs

Vodka cross-compiles 116 native Windows PE64 (x86_64-windows) programs and 24 live verification binaries (23 PE64 in x86_64-windows/ + 1 PE32 WoW64 in i386-windows/) directly from Zig (link_libc = false, sharing the lightweight PE64 runtime helper vodka/src/programs/win_rt.zig) into zig-out/lib/vodka/.

Every program is standalone Apache-2.0 Zig code linking strictly against Vodka's Windows PE DLLs (kernel32.dll, advapi32.dll, ws2_32.dll, iphlpapi.dll, winmm.dll, etc.) and executes directly under vodka or vodka-pe --run.


Native PE64 System Programs (116 Programs)

1. Shell, Console, Scripting & Administration (18)

Executable Description
chcp.exe Queries and sets the active console code page
cmd.exe Windows command interpreter (echo, dir, cd, set, cls, ver, type, copy, del, mkdir, rmdir, exit, /c, /k)
conhost.exe Console window host process for Win32 console applications
cscript.exe Console Windows Script Host engine
dism.exe Deployment Image Servicing and Management CLI
klist.exe Displays and purges Kerberos authentication tickets
mshta.exe HTML Application (.hta) host runner
netsh.exe Network shell configuration and diagnostics CLI
pnputil.exe Plug and Play driver package management utility
powershell.exe PowerShell command-line shell and script launcher
runas.exe Runs programs under alternate user credentials
schtasks.exe Scheduled task creation, query, and execution utility
secedit.exe Security configuration and policy analysis tool
start.exe Launches Windows programs or documents in a new process/window
timeout.exe Pauses command/batch execution for a specified interval (/t, /nobreak)
wevtutil.exe Windows Event Log query, export, and channel management CLI
winver.exe Reports Windows/Vodka version information
wscript.exe GUI Windows Script Host engine

2. File, Archive, ACL, Text & Storage Management (17)

Executable Description
attrib.exe Displays and modifies file attributes (+R/-R, +H/-H, +S/-S, +A/-A)
cabarc.exe Creates, lists, and extracts Microsoft Cabinet (.cab) archives
cacls.exe Displays and modifies file access control lists (legacy ACL CLI)
eject.exe Ejects removable media volumes
expand.exe Decompresses compressed Windows installation files
extrac32.exe Extracts files from Microsoft Cabinet (.cab) packages
fc.exe Compares two files or sets of files (text/binary diff)
find.exe Searches for a literal text string in files or stdin (/i, /c, /n, /v)
findstr.exe Searches files using literal and pattern/regex matching
fsutil.exe Filesystem and volume metadata/query utility
icacls.exe Modern Windows file/directory ACL inspection and modification utility
makecab.exe Packages files into Microsoft Cabinet (.cab) archives
robocopy.exe Robust directory/file mirroring and recursive copy utility
sort.exe Sorts input lines lexicographically (/r reverse, /+n column offset)
subst.exe Associates a local directory path with a virtual drive letter
where.exe Locates files matching a pattern across PATH and the current directory
xcopy.exe Recursive file and directory tree copy utility (/s, /e, /y)

3. Registry, Process, Security & DLL Administration (15)

Executable Description
certutil.exe Certificate, hash (-hashfile SHA-256/MD5/SHA-1), and Base64 encode/decode utility
dxdiag.exe DirectX / Vulkan / GPU / audio system diagnostic report generator
hostname.exe Prints the current host machine name
reg.exe CLI Windows Registry editor (query, add, delete, export, import) wired live to vodkaserver
regini.exe Scripted Registry permissions and key modification tool
regsvr32.exe Loads a PE DLL and invokes DllRegisterServer / DllUnregisterServer
rundll32.exe Loads a PE DLL and invokes a named entry point with command-line arguments
sc.exe Service Control Manager CLI (query, create, start, stop, delete, config)
setx.exe Persists user and system environment variables in the Registry
shutdown.exe Initiates prefix/session shutdown or reboot sequences
systeminfo.exe Displays OS, CPU, memory, and runtime environment summary
taskkill.exe Terminates processes by PID (/pid) or image name (/im)
tasklist.exe Lists running processes and PIDs
whoami.exe Displays current user name and domain/host identity
wmic.exe Windows Management Instrumentation CLI (os, cpu, computersystem, process, logicaldisk)

4. Networking Utilities (5)

Executable Description
arp.exe Displays and manages the IP-to-MAC Address Resolution Protocol table
ipconfig.exe Displays network adapter IP configuration via iphlpapi.dll
net.exe Windows network & service management command (user, use, start, stop, view)
netstat.exe Displays active TCP/UDP connections and listening ports
ping.exe Sends network reachability probes and reports round-trip latency via ws2_32.dll and winmm.dll

5. MSI, Package Installers & .NET Tooling (12)

Executable Description
aspnet_regiis.exe ASP.NET IIS scriptmap and runtime registration utility
dotnetfx35.exe .NET Framework 3.5 installer/runtime compatibility stub
msidb.exe Windows Installer .msi database table import/export CLI
msiexec.exe Windows Installer package installation, repair, and uninstall engine
ngen.exe .NET Native Image Generator CLI
regasm.exe .NET Assembly Registration Tool (COM interop)
regsvcs.exe .NET Services Installation Tool
sdbinst.exe Application Compatibility Shim Database (.sdb) installer
servicemodelreg.exe WCF ServiceModel registration utility
uninstaller.exe Prefix installed application listing and uninstaller CLI/GUI
vodkamsibuilder.exe Standalone Windows Installer .msi package builder
wusa.exe Windows Update Standalone Installer (.msu) runner

6. System Services & Performance Counters (12)

Executable Description
dllhost.exe COM+ Surrogate host process
lodctr.exe Registers performance counter names and explain text
plugplay.exe Plug and Play device manager service
presentationfontcache.exe WPF Presentation Font Cache service
rpcss.exe RPC Endpoint Mapper & DCOM Server Process Launcher service
services.exe Windows Service Control Manager (SCM) daemon
spoolsv.exe Print Spooler background service
svchost.exe Generic Host Process for Win32 Services
termsv.exe Remote Desktop / Terminal Services host
unlodctr.exe Removes registered performance counter definitions
winmgmt.exe Windows Management Instrumentation (WMI) service host
wuauserv.exe Windows Update Agent service

7. Diagnostics, DirectPlay & 16-Bit Compatibility (12)

Executable Description
belauncher.exe BattlEye compatibility launcher shim
dplaysvr.exe DirectPlay network session helper daemon
dpnsvr.exe DirectPlay8 lobby/session enumeration server
dpvsetup.exe DirectPlay Voice audio hardware test and setup utility
getminidump.exe Captures Windows Minidump (.dmp) crash snapshots
icinfo.exe Lists installed Video for Windows (VFW) / Installable Compression Manager codecs
mofcomp.exe Managed Object Format (.mof) compiler for WMI schemas
msinfo32.exe System Information hardware/software inventory tool
rundll16.exe 16-bit NE DLL entry-point runner
vodkavdm.exe Virtual DOS Machine (VDM) 16-bit execution compatibility host
winhelp16.exe Legacy 16-bit Windows Help (.hlp) viewer
winoldap16.exe 16-bit WinOldAp DOS application bridge

8. Desktop GUI, Shell & Viewers (12)

Executable Description
clock.exe Desktop analog/digital clock utility
control.exe Windows Control Panel applet (.cpl) launcher
explorer.exe Windows Desktop shell, taskbar, and virtual desktop host
hh.exe Compiled HTML Help (.chm) viewer
notepad.exe Plain-text editor
oleview.exe COM/OLE type library and interface viewer
progman.exe Classic Program Manager shell compatibility host
regedit.exe Interactive and .reg import/export Registry Editor
taskmgr.exe Task Manager process and performance monitor
winhlp32.exe 32-bit Windows Help (.hlp) viewer
wordpad.exe Rich Text (.rtf) document editor
write.exe Legacy Windows Write launcher forwarding to WordPad

9. Media & Vodka Native Apps (13)

Executable Description
iexplore.exe Internet Explorer / MSHTML browser compatibility host
tabtip.exe Touch Keyboard and Handwriting Panel host
view.exe Windows Metafile (.wmf / .emf) viewer
vodkabrowser.exe Vodka prefix web/HTML browser helper
vodkacfg.exe Vodka prefix configuration utility (Windows version, DLL overrides, graphics/audio/drives)
vodkaconsole.exe Vodka standalone Win32 console terminal emulator
vodkadbg.exe Vodka interactive Win32/Win64 debugger
vodkadevice.exe Vodka kernel driver & device host process
vodkafile.exe Vodka desktop file manager
vodkamenubuilder.exe Translates Windows .lnk Start Menu shortcuts into XDG desktop entries
vodkamine.exe Native Minesweeper GUI game
vodkatest.exe Automated Vodka conformance test suite runner
wmplayer.exe Windows Media Player compatibility host

Live Verification Executables (24 Test Binaries: 23 PE64 + 1 PE32 WoW64)

Cross-compiled test executables in vodka/src/dlls/ exercise Vodka's real PE64 & hardware CS=0x23 PE32/WoW64 loaders (including forwarders, static TLS, SEH/VEH, and futex sync), all 731 PE modules, 43-opcode vodkaserver RPC, Wayland driver, audio probes, and Vulkan GPU stack end-to-end:

Executable Architecture Scope Verified
vodka_smoke.exe x86_64-windows Minimal PE64 load, TEB64/GS setup, kernel32.dll stdout write, clean exit code
vodka_wow64_smoke.exe i386-windows Live hardware CS=0x23 <-> CS=0x33 32-bit PE32/WoW64 mapping (MAP_32BIT), HIGHLOW relocations, TEB32/PEB32, and 32-bit stdcall API bridging
vodka_dll_test.exe x86_64-windows Recursive multi-DLL loading (kernel32.dll + ntdll.dll), LoadLibrary, GetProcAddress
vodka_os_test.exe x86_64-windows Filesystem I/O, virtual memory, heaps, environment variables, command line, timers, pipes
vodka_gui_smoke.exe x86_64-windows user32.dll + gdi32.dll window creation and Wayland libvodkawayland.so surface bridge
vodka_reg_test.exe x86_64-windows Live advapi32.dll Registry roundtrip (RegCreateKeyEx, RegSetValueEx, RegQueryValueEx, RegDeleteValue) over AF_UNIX to vodkaserver
vodka_server_rpc_test.exe x86_64-windows Live end-to-end verification of vodkaserver's 43-opcode NT kernel subsystems (atoms, IOCP, jobs, named pipes, mailslots, clipboard, byte-range file locks, tokens, mappings, processes)
vodka_vk_test.exe x86_64-windows Live Vulkan 1.4 instance, physical device, VRAM heap, and logical device verification via vulkan-1.dll
vodka_vk_compute.exe x86_64-windows Live SPIR-V GPU compute shader dispatch on host GPU and DMA buffer readback
vodka_vk_triangle.exe x86_64-windows Live SPIR-V 2D triangle graphics render pipeline and RGBA8 pixel verification
vodka_vk_3d.exe x86_64-windows Live SPIR-V 3D depth-buffered indexed mesh render (D32_SFLOAT depth rejection + MVP push constants)
vodka_dxgi_d3d11_test.exe x86_64-windows Live D3D11-over-Vulkan & DXGI adapter enumeration (DXGI_ADAPTER_DESC1) and D3D11CreateDevice COM vtable verification
vodka_net_test.exe x86_64-windows WinSock2 (ws2_32.dll), WinMM (winmm.dll), and XInput (xinput1_4.dll) live thunks
vodka_desktop_test.exe x86_64-windows bcrypt.dll, ole32.dll, shell32.dll, shlwapi.dll, and psapi.dll API verification
vodka_wave8_test.exe x86_64-windows crypt32.dll, iphlpapi.dll, setupapi.dll, winhttp.dll, and audio/DXGI DLL checks
vodka_wave9_test.exe x86_64-windows Extended DLL export & runtime integration checks (d3d11, d3d12, opengl32, vcruntime140, msvcp140, rpcrt4, combase, sechost)
vodka_phase1_dll_test.exe x86_64-windows Recursive PE Export Directory forwarder resolution (dll.symbol), apisetschema, metadata/TypeLib/theme, and 99 PE modules
vodka_phase2_nt_test.exe x86_64-windows nt_core.zig, sec_core.zig, WoW64, ntoskrnl.exe, hal.dll, and .sys kernel drivers
vodka_phase3_crt_test.exe x86_64-windows PE64 IMAGE_TLS_DIRECTORY64 (GS:[0x58] / _tls_index), crt_core.zig/crt_compat.zig, stl_core.zig, and concrt_core.zig
vodka_phase4_gfx_test.exe x86_64-windows Graphics, DirectX 8–12, D3DX, DXBC compiler, Direct2D/DirectWrite, WIC, and GDI+ modules
vodka_phase5_media_test.exe x86_64-windows Windowing (win32u, uxtheme, dwmapi), printing, audio/XAudio2, DirectInput, and Media Foundation/DirectShow modules
vodka_phase6_sys_test.exe x86_64-windows COM/OLE, Shell, Networking, Cryptography, Security, and WMI modules
vodka_phase7_winrt_web_test.exe x86_64-windows WinRT (wintypes, gameinput, windows.*), XML/Web/Scripting, and Extended Gaming/Display/Font modules
vodka_phase8_final_dll_test.exe x86_64-windows Enterprise/ODBC/LDAP, System Services/SNMP/Power, and 16-bit/VDM/VxD compatibility modules

Running Native Programs

# Execute any PE64 program or 32-bit WoW64 binary directly with vodka-pe
./zig-out/bin/vodka-pe --run ./zig-out/lib/vodka/x86_64-windows/hostname.exe
./zig-out/bin/vodka-pe --run ./zig-out/lib/vodka/x86_64-windows/cmd.exe /c echo Hello from Vodka
./zig-out/bin/vodka-pe --run ./zig-out/lib/vodka/x86_64-windows/systeminfo.exe
./zig-out/bin/vodka-pe --run ./zig-out/lib/vodka/i386-windows/vodka_wow64_smoke.exe

Clone this wiki locally