Commit Graph

180 Commits

Author SHA1 Message Date
Elias Bachaalany
bcc8cd6eb6 formatting 2025-02-11 12:05:28 -08:00
Elias Bachaalany
b1960584cd i give up on formatting... 2025-02-11 10:31:20 -08:00
Elias Bachaalany
d399808b39 formatting 2025-02-11 10:28:24 -08:00
Elias Bachaalany
c0719651d3 minor changes 2025-02-11 10:25:02 -08:00
Elias Bachaalany
1d7f841ee4 added more callbacks 2025-02-10 11:25:04 -08:00
momo5502
934374c4bb Extract main module cache into module manager 2025-02-10 17:43:09 +01:00
momo5502
349ef9688a Move module manager into windows emulator 2025-02-10 16:49:33 +01:00
momo5502
7ae36a6452 Move registry manager into windows emulator 2025-02-10 16:37:33 +01:00
momo5502
adf632c64e Remove getters 2025-02-10 16:20:24 +01:00
Maurice Heumann
a5bae30e00 Rename context_frame to cpu_context 2025-02-10 14:28:53 +01:00
Maurice Heumann
2686251fde Cleanup windows-emulator and extract classes 2025-02-10 13:42:49 +01:00
momo5502
6263353438 Isolate memory manager 2025-02-09 18:19:32 +01:00
momo5502
11dbe6dfc1 Add basic stdin support 2025-02-09 15:27:01 +01:00
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