8bd15bd272
Fix heapapi ownership checks
...
`mi_heap_check_owned` does not work for allocations that span
multiple blocks; `mi_is_in_heap_region` is a less precise but
working way for us to check if a pointer is in our heap.
See https://github.com/microsoft/mimalloc/issues/298
2025-10-27 17:04:57 -06:00
27860f0300
Implement ntdll NtWriteFile
2025-10-27 14:56:51 -06:00
ac0c6214d0
Support per-module TLS slots (ThreadLocalStoragePointer)
2025-10-27 13:49:15 -06:00
a240e3dc4b
Support TlsExpansionSlots (>64 TLS slots)
2025-10-27 12:27:26 -06:00
50a457c5e3
Begin reworking TLS impl & add TLS loader support
2025-10-27 01:03:30 -06:00
1500a4f815
ReadFile/WriteFile: Require overlapped I/O on overlapped handles ( #99 )
2025-10-23 23:07:56 -07:00
5597da607a
Fix GetOverlappedResult without event & improve overlapped handling
2025-10-23 11:33:09 -06:00
4d5caf91e1
Implement ConnectNamedPipe
2025-10-23 11:31:35 -06:00
8e532ccf78
Implement CreateNamedPipeA
2025-10-23 11:31:35 -06:00
24fa3ef419
Implement ole32 CLSIDFromString ( #95 )
2025-10-22 08:46:53 -07:00
df36de18bf
Implement async (overlapped) I/O with io_uring
2025-10-06 23:51:09 -06:00
f366e77956
Rewrite FindFirstFile/FindNextFile (again), add comprehensive tests
2025-10-06 17:57:54 -06:00
f52ca2803f
Tests for handleapi, synchapi, processes
2025-10-06 10:14:03 -06:00
166b9036fd
Dont set ERROR_SUCCESS generally
...
Turns out we should only be setting this in a select few cases.
2025-10-06 00:03:10 -06:00
01ed50c4b4
Fix pipe reads; add tests for NtReadFile & pipes
2025-10-05 23:24:50 -06:00
b87fb5e472
Implement some ActCtx functions for msvcr80.dll
2025-10-05 15:52:38 -06:00
390f26b28d
New handles, threading and processes subsystems
2025-10-04 13:31:26 -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
41f8388bac
Totally rework VirtualAlloc and friends
2025-10-01 15:35:57 -06:00
ccd79a256a
Reimplement kernel32 time functions, fix HeapReAlloc, debug log improvements
2025-10-01 00:59:11 -06:00
62d8daccac
Overlapped I/O support (fixes ProDG compilers)
2025-09-29 23:32:17 -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
f941a1e642
Initial threading support & more impls for compilers
2025-09-28 22:44:35 -06:00
8cac50e50e
Rewrite BCryptGenRandom and add tests
2025-09-28 17:20:43 -06:00
104e9e869d
Add proper testing framework & integrate with CI
2025-09-26 10:39:09 -06:00
c14ad86d72
Implement version.dll properly
2025-09-26 09:49:21 -06:00
01ddf95d36
Add proper resource implementation
2025-09-26 01:51:25 -06:00
836f485d66
Initial external DLL support
2025-09-26 00:55:35 -06:00
Ethan Roseman
6de4e9a163
3 funcs needed for some mwcc compilers ( #22 )
...
* 3 funcs needed for some mwcc compilers
* some PR feedback
* lots more via pair programming with Simon
* cleanup, add test dir as an include dir for tests
* bugfix
2022-09-24 23:59:30 +09:00
Ethan Roseman
d92f0d1d08
Readme changes, github actions ci, test ( #1 )
...
* Readme changes, github actions ci, test
* Std flag change for older GCC versions"
* Install gcc multilib
* test fix and formatting
* Don't segfault on nonexistant file and show error instead
* Update ci.yml
* PR comments
* remove silly bit
2022-07-01 04:23:00 +09:00