fe28241e8b
Fix crt prototypes using cstdint
2025-11-03 19:30:44 -07:00
8c39e06cca
Use CDECL_NO_CONV for va_list thunks; remove .globl
2025-11-03 19:25:20 -07:00
4dc599381f
Refactor memory management into wibo::heap
...
- Removes blockUpper2GB hack; we now start early in the process
and reserve all (available) space in the lower 2GB address
space, leaving the upper 2GB untouched for host code
- All virtual memory operations flow through wibo::heap for
bookkeeping
- All guest code uses a guest mimalloc area + thread-local heaps
reserved in the guest address space
2025-11-03 13:58:33 -07:00
52cdd7c811
Fully functional guest<->host trampolines
2025-10-31 00:45:32 -06:00
55a62a27c9
Initial guest-to-host trampoline generation
2025-10-30 02:23:09 -06:00
0c2c0f653b
Add Handles::clear() and run it on exit
2025-10-09 16:48:33 -06:00
e185629d19
Always use _exit to terminate (for now)
2025-10-09 13:14:59 -06:00
3078cef12b
Cleanup various lints and warnings
2025-10-09 12:33:13 -06:00
061228c971
Make liburing optional; rewrite CMakeLists.txt and enable LTO
2025-10-07 14:12:37 -06:00
df36de18bf
Implement async (overlapped) I/O with io_uring
2025-10-06 23:51:09 -06:00
0d76e541c1
Reorg headers, module_registry -> modules, remove ActCtx msvcr80.dll hack
2025-10-05 17:46:16 -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
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
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
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
c17953b318
Refactor main module resolution & HMODULE handle behavior
2025-09-29 13:50:27 -06:00
1a4944e619
More msvcrt, fix loading DLLs in program dir regression
2025-09-28 19:33:58 -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
b4ea1da959
Improve DLL loading and process launch handling
2025-09-26 15:04:55 -06:00
042a43ced1
DLL fixes; impl GetSystemInfo, __dllonexit, and more
2025-09-26 13:30:39 -06:00
a17a3c5413
Invoke dllMain with proper TIB selector
2025-09-26 13:09:27 -06:00
a27d5c2078
msvcrt: Implement strlen, strcmp, strncmp
2025-09-26 12:52:02 -06:00
b5da26aa48
msvcrt: Clean up __wgetmainargs, _wdupenv_s, _wgetenv_s; add __getmainargs
2025-09-26 11:40:36 -06:00
c14ad86d72
Implement version.dll properly
2025-09-26 09:49:21 -06:00
rjkiv
866dd6ddbb
implement _vswprintf_c_l
2025-09-03 14:21:33 -07:00
rjkiv
98f1548370
implement onexit and get_wpgmptr
2025-09-03 11:06:48 -07:00
rjkiv
9a98c29a59
implement _wfullpath
2025-09-02 17:49:50 -07:00
rjkiv
6b4f27a888
cleanup memory leak fix
2025-09-02 17:18:18 -07:00
rjkiv
d3e6da54e3
get memory leaked nerd
2025-09-02 15:33:19 -07:00
rjkiv
4c9918ff2a
more debug logs for wstr conversions
2025-09-02 14:21:05 -07:00
rjkiv
e92f6e911d
wideStringToString no longer cuts off wide chars
2025-09-02 12:04:40 -07:00
rjkiv
2650eaa946
no more unhandled funcs apparently
2025-09-01 15:10:11 -07:00
rjkiv
6f81e707ed
file ops
2025-09-01 14:59:03 -07:00
rjkiv
f45dd85be3
more wstr funcs
2025-09-01 14:10:25 -07:00
rjkiv
da17dd573d
bug fixes
2025-08-10 10:15:14 -07:00
rjkiv
f80d7dda62
FindFirstFileW
2025-08-09 14:53:56 -07:00
rjkiv
87c71a6763
implement itow_s
2025-08-09 14:21:33 -07:00
rjkiv
f6a2635e15
replace all wchar_t's with uint16_t's
2025-08-09 13:54:47 -07:00
rjkiv
c78171755d
looking over wide string funcs
2025-08-09 12:04:13 -07:00
rjkiv
051039fdcb
blocked again
2025-08-07 14:48:29 -07:00
rjkiv
61fa3084fb
more more more
2025-08-07 14:35:39 -07:00