Commit Graph

276 Commits

Author SHA1 Message Date
Maurice Heumann
e20f1d277b Fix line breaks 2025-02-04 12:12:45 +01:00
Maurice Heumann
0029582d12 Support port and path mappings 2025-02-04 09:04:52 +01:00
momo5502
5387c45da2 Convert socket addresses 2025-01-26 16:35:39 +01:00
momo5502
b3d4d32fbd Assert relevant field equality 2025-01-26 16:12:08 +01:00
momo5502
5d9ecc4c01 Assert socket struct equality 2025-01-26 15:45:37 +01:00
momo5502
a6362b06dc Translate socket values 2025-01-26 12:09:45 +01:00
momo5502
454c9a267b Fix afd device serialization 2025-01-26 09:56:55 +01:00
momo5502
748574c7b4 Fix emulator resetting 2025-01-26 07:56:36 +01:00
momo5502
4597f3b6d6 Prevent failure when accessing stack 2025-01-26 07:30:04 +01:00
momo5502
e34a9e6468 Serialization fixes 2025-01-26 07:05:32 +01:00
momo5502
780ff47326 Fix ThreadZeroTlsCell 2025-01-25 19:17:47 +01:00
momo5502
13d7700060 Fix formatting 2025-01-25 19:17:37 +01:00
momo5502
043617915e Fix filesystem working directory 2025-01-25 18:08:56 +01:00
momo5502
c65636334e Small fixes 2025-01-25 17:02:12 +01:00
momo5502
d387477883 Support verbose logging during tests 2025-01-25 13:09:07 +01:00
momo5502
a3c6e9a5c0 Cleanup emulation root handling
This fixes #103
This fixes #105
2025-01-25 08:30:43 +01:00
momo5502
4cd098626e Support host/default apiset loc and empty emulation root 2025-01-25 08:09:00 +01:00
momo5502
0454120f45 Serialize file system
This fixes #108
2025-01-25 07:47:04 +01:00
momo5502
376015a84a This fixes #104 2025-01-25 07:24:02 +01:00
momo5502
2c1e6f10e0 Fix formatting 2025-01-25 07:24:02 +01:00
momo5502
aa162cc548 Fix debug tests 2025-01-25 07:24:02 +01:00
momo5502
22565683a7 Fix casing 2025-01-25 07:24:02 +01:00
momo5502
114d87cd5a Fix test 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
8854968256 Rename spawned thread count to prevent confusion 2025-01-25 07:24:01 +01:00
momo5502
df089e9e08 Fix current thread id 2025-01-25 07:24:01 +01:00
momo5502
0698120c71 Log caller 2025-01-25 07:24:01 +01:00
momo5502
f23fe935c1 Fix handle closing 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
638a720ab8 fixing CI errors 2025-01-22 05:55:46 -08:00
Elias Bachaalany
365e94d834 replaced puts() with logger calls 2025-01-21 21:50:47 -08:00
Elias Bachaalany
ebf563e313 fix1 2025-01-21 21:43:42 -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
fe36ea3f56 replace printf() with logger 2025-01-21 09:05:55 -08:00
momo5502
2e1fa4554a Extract windows-gdb-stub 2025-01-20 20:09:16 +01:00
momo5502
b3537cc2dd Report application exit 2025-01-19 18:19:11 +01:00
momo5502
6ad4a9b0a1 Yield thread when necessary 2025-01-19 16:43:26 +01:00
momo5502
4e80a8bf16 Support threads in gdb 2025-01-19 12:28:40 +01:00
momo5502
8afceeca6e Extract register mapping 2025-01-19 11:36:03 +01:00
momo5502
ce291728bd Support all registers 2025-01-19 11:30:32 +01:00
momo5502
77b4ee5e1e Properly read and write registers 2025-01-19 10:18:45 +01:00
momo5502
192d5687ff Provide x86_64 target descriptions 2025-01-19 09:37:59 +01:00
momo5502
270dbf000c Better thread exit check 2025-01-19 08:36:01 +01:00
momo5502
a0932e6803 Align register behaviour with implementation on main branch 2025-01-18 15:59:13 +01:00