206 Commits

Author SHA1 Message Date
ff04eb9f41 Fix OpenProcessToken pseudo-handle regression 2025-10-05 18:16:15 -06:00
0d76e541c1 Reorg headers, module_registry -> modules, remove ActCtx msvcr80.dll hack 2025-10-05 17:46:16 -06:00
b87fb5e472 Implement some ActCtx functions for msvcr80.dll 2025-10-05 15:52:38 -06:00
5a2f8e2926 Docker build fixes 2025-10-05 14:37:45 -06:00
0bc80b6618 Split into HostContextGuard/GuestContextGuard 2025-10-05 14:32:06 -06:00
cd7baffc5e Save/restore fs/gs segments when re-entering host code 2025-10-05 13:58:40 -06:00
04516b246c More logging & some hacks 2025-10-04 21:26:46 -06:00
cf7ea70fac Some Atom function impls 2025-10-04 14:58:35 -06:00
ffdfa38591 Actually add to ProcessManager when spawning 2025-10-04 14:12:24 -06:00
f4cd59b4e0 Update README.md 2025-10-04 13:55:08 -06:00
166399f143 Move main source files into src/ 2025-10-04 13:34:31 -06:00
390f26b28d New handles, threading and processes subsystems 2025-10-04 13:31:26 -06:00
704dfd90ec WIP file handles refactor 2025-10-03 10:57:43 -06:00
072b3e1da9 New handle system headers 2025-10-03 00:13:29 -06:00
a9581423a8 VirtualQuery rework 2025-10-02 17:11:28 -06:00
d8150e33b9 Rework thread TIB handling & DLL initialization handling 2025-10-02 16:40:23 -06:00
8330f27479 Add CreatePipe, CON* support for CreateFileA, more for cygwin 2025-10-02 09:47:41 -06:00
694eb85deb Remove advapi32/internal.cpp; move to relevant source files 2025-10-02 09:15:25 -06:00
3249ebf4bf Split advapi32 into separate files (part 2) & more impls for ee-gcc/cygwin 2025-10-02 09:05:27 -06:00
79e1dbf523 Split advapi32 into separate files (part 1) 2025-10-02 01:20:51 -06:00
2cbd624119 Split kernel32 into separate files (part 3) 2025-10-02 01:02:26 -06:00
fa3ed4893a Split kernel32 into separate files (part 2) 2025-10-02 00:20:28 -06:00
9ea5b24b67 Split kernel32 into separate files (part 1) 2025-10-01 18:18:13 -06:00
c099a1b577 Improve current thread handles 2025-10-01 16:56:51 -06:00
41f8388bac Totally rework VirtualAlloc and friends 2025-10-01 15:35:57 -06:00
aee35ee0da A few more kernel32 stubs for MSVC versions 2025-10-01 15:20:55 -06:00
ccd79a256a Reimplement kernel32 time functions, fix HeapReAlloc, debug log improvements 2025-10-01 00:59:11 -06:00
02d26c7bb9 Add msvcr71/80/90 aliases to msvcrt 2025-09-29 23:37:21 -06:00
705607fcfb Remove now-redundant .dll names from module stubs 2025-09-29 23:35:16 -06:00
62d8daccac Overlapped I/O support (fixes ProDG compilers) 2025-09-29 23:32:17 -06:00
cb154f3118 Fix up some kernel32 logging 2025-09-29 22:30:57 -06:00
7f9d141a20 Add --cmdline arg; rework wibo subprocess spawn 2025-09-29 22:05:33 -06:00
9dd65bc70a More msvcrt (WIP quality) and various fixes 2025-09-29 20:07:19 -06:00
f09e6a3986 Reimplement GetFullPathName and GetCurrentDirectory 2025-09-29 15:22:55 -06:00
d69fc8a422 Implement kernel32 Heap* funcs using mimalloc 2025-09-29 14:54:38 -06:00
c17953b318 Refactor main module resolution & HMODULE handle behavior 2025-09-29 13:50:27 -06:00
4a2ba45620 Resolve own absolute path for subprocess spawn 2025-09-29 09:25:57 -06:00
195f6c1408 Un-stub FileTime functions; impl TerminateProcess, HeapDestroy 2025-09-29 09:25:19 -06:00
f941a1e642 Initial threading support & more impls for compilers 2025-09-28 22:44:35 -06:00
d1ed0662d1 Also add ca-certificates 2025-09-28 21:08:29 -06:00
d54ff9b9c6 Add git to Dockerfile.ubuntu 2025-09-28 20:41:40 -06:00
8884c9597e Merge remote-tracking branch 'origin/main' into dll 2025-09-28 20:40:26 -06:00
1c35da4801 Implement GetComputerNameW 2025-09-28 19:52:15 -06:00
1a4944e619 More msvcrt, fix loading DLLs in program dir regression 2025-09-28 19:33:58 -06:00
3d22538590 Add command line arguments (--chdir/--debug, ...) 2025-09-28 18:43:09 -06:00
fd47411fff Rework CI into a build matrix; update Dockerfiles 2025-09-28 18:04:36 -06:00
8cac50e50e Rewrite BCryptGenRandom and add tests 2025-09-28 17:20:43 -06:00
bc33bae659 Formatting, fixes, deduplication 2025-09-28 17:00:38 -06:00
2732bd584a More msvcrt impls for Ubuntu mingw 2025-09-28 15:09:13 -06:00
2c5fdd6c72 msvcrt: export calloc 2025-09-28 13:17:43 -06:00