Commit Graph

167 Commits

Author SHA1 Message Date
momo5502
07a86522cb Support ThreadTebInformation query 2025-02-09 12:54:28 +01:00
momo5502
d4fb81378f Fix path translation 2025-02-09 12:54:14 +01:00
momo5502
27e5ef0214 Support Nsi device 2025-02-09 12:54:01 +01:00
momo5502
f958791f35 Fix NtReadVirtualMemory 2025-02-09 12:53:40 +01:00
momo5502
d85c675070 Small fixes 2025-02-09 12:53:29 +01:00
momo5502
01093aa544 Forward unaltered stdout data 2025-02-09 11:15:39 +01:00
momo5502
148b2b19dc Add NtQueryDefaultLocale 2025-02-09 11:07:08 +01:00
momo5502
4c7450b937 Log allocations 2025-02-09 11:05:10 +01:00
momo5502
7f6bfa6cc0 Support fetching tag information 2025-02-08 20:41:03 +01:00
momo5502
2da494a370 Fix path concatenation 2025-02-08 18:35:51 +01:00
momo5502
b5a0f73113 Fix path syscalls 2025-02-08 14:07:51 +01:00
momo5502
3347667948 Prevent unmapping core modules 2025-02-07 19:56:23 +01:00
momo5502
a2f795f33c Add dummy syscall 2025-02-07 18:52:37 +01:00
momo5502
8457a0ce5a "Fix" NtUserGetThreadState 2025-02-07 18:37:43 +01:00
momo5502
dbf39fce0a Support more features 2025-02-05 19:24:36 +01:00
Maurice Heumann
a182657733 Fix more handles 2025-02-05 07:01:06 +01:00
Maurice Heumann
85180a51f0 Prevent destroying active thread 2025-02-04 20:43:43 +01:00
Maurice Heumann
cc4064611f Fix thread handles 2025-02-04 20:34:53 +01:00
momo5502
94e65bbecf Add new syscalls 2025-02-04 19:08:38 +01:00
Maurice Heumann
1fad315029 Fix debug register logging 2025-02-04 13:47:30 +01:00
Maurice Heumann
3d3bc3914d Add NtSetContext thread and fix context frame saving/restoring 2025-02-04 13:45:25 +01:00
Maurice Heumann
e87650f3b5 Add more syscalls 2025-02-04 13:04:49 +01:00
Maurice Heumann
e20f1d277b Fix line breaks 2025-02-04 12:12:45 +01:00
momo5502
780ff47326 Fix ThreadZeroTlsCell 2025-01-25 19:17:47 +01:00
momo5502
a3c6e9a5c0 Cleanup emulation root handling
This fixes #103
This fixes #105
2025-01-25 08:30:43 +01:00
momo5502
aa162cc548 Fix debug tests 2025-01-25 07:24:02 +01:00
momo5502
4300422b77 Fix path key 2025-01-25 07:24:02 +01:00
momo5502
ec1333278b Implement root fs handling 2025-01-25 07:24:01 +01:00
momo5502
24bebc4ee2 Prepare filesystem support 2025-01-25 07:24:01 +01:00
momo5502
df089e9e08 Fix current thread id 2025-01-25 07:24:01 +01:00
momo5502
32d91bd139 Fix semaphores and mutexes 2025-01-25 07:24:01 +01:00
momo5502
5160bacd1e Correctly handle existing objects 2025-01-25 07:24:01 +01:00
momo5502
98c29ba75a Use u16string in NtAddAtomEx 2025-01-25 07:19:22 +01:00
momo5502
8adb479cf3 Fix NtWaitForMultipleObjects
This fixes #97
2025-01-24 08:53:05 +01:00
Maurice Heumann
e5830e5a64 some refactoring with optional_function (#96)
- wrapped std::function into utils::optional_function 
  - cleaned the code accordingly in windows_emulator
- using the 'emulator'/'windows_emulator' dependency implies the
emulator_common as well.
2025-01-23 18:07:27 +01:00
Elias Bachaalany
365e94d834 replaced puts() with logger calls 2025-01-21 21:50:47 -08:00
Elias Bachaalany
5bf325c77f some refactoring with optional_function
- wrapped std::function into utils::optional_function
-- cleaned the code accordingly in windows_emulator
- using the 'emulator'/'windows_emulator' dependency implies the emulator_common as well.
2025-01-21 19:25:51 -08:00
Elias Bachaalany
f1f42b855b refactored into its own files ('time.hpp/.cpp') 2025-01-11 21:51:05 -08:00
Elias Bachaalany
4129725c97 moved some time/sync funcs/consts out from syscall_utils 2025-01-11 21:35:10 -08:00
Elias Bachaalany
c143acae43 error log instead of printf() for syscall issues 2025-01-11 07:36:29 -08:00
momo5502
b2b2ffd6be Cleanup exception handling and prepare UI support 2025-01-11 09:55:48 +01:00
Maurice Heumann
ff6fd79dd5 More win 10 fixes (#67) 2025-01-11 09:12:36 +01:00
momo5502
55e2462206 Small fixes 2025-01-11 09:05:27 +01:00
momo5502
f2ab2a48df Fix ltsc2019 execution 2025-01-11 09:01:14 +01:00
Elias Bachaalany
0516c1ad87 added missing syscall so that Windows 10 emulation works
For now, this is reports as not implemented but it seems to make the OS happy.
2025-01-10 11:27:04 -08:00
momo5502
7993c9c8e8 Small formatting fixes 2025-01-08 11:14:08 +01:00
momo5502
73eb7d659c Get rid of explicit NtQuerySystemInformationEx syscall 2025-01-08 11:02:04 +01:00
momo5502
0585978157 Add dummy full information 2025-01-08 07:48:11 +01:00
momo5502
bff8420ffd Format all the code 2025-01-06 17:19:26 +01:00
momo5502
fdb0fafa56 Reformat code + small fixes 2025-01-06 09:36:37 +01:00