Commit Graph

99 Commits

Author SHA1 Message Date
momo5502
8a427ec368 Hack to skip nls/alpc communication
This is related to #128
2025-02-09 11:00:12 +01:00
momo5502
27f02c74c7 Support logging actions for interesting modules 2025-02-09 09:43:19 +01:00
momo5502
fe84448bf5 Reserve space for current directory 2025-02-08 18:55:19 +01:00
momo5502
9f4a80b42e Fix running relative applications 2025-02-08 17:52:11 +01:00
momo5502
7efe75ba97 Remove working directory translations 2025-02-08 17:31:53 +01:00
momo5502
72e88d30d4 Use working directory provider 2025-02-08 17:22:17 +01:00
momo5502
3347667948 Prevent unmapping core modules 2025-02-07 19:56:23 +01:00
Maurice Heumann
c94370cc5d Support relative files on windows 2025-02-07 07:21:30 +01:00
Maurice Heumann
83edab3564 Fix bad objects 2025-02-04 20:05:11 +01:00
Maurice Heumann
b56a4bd162 Log singlestep 2025-02-04 19:48:33 +01:00
momo5502
f2c5df5139 Support hardware breakpoints 2025-02-04 19:08:38 +01:00
Maurice Heumann
0029582d12 Support port and path mappings 2025-02-04 09:04:52 +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
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
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
0698120c71 Log caller 2025-01-25 07:24:01 +01:00
momo5502
32d91bd139 Fix semaphores and mutexes 2025-01-25 07:24:01 +01: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
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
270dbf000c Better thread exit check 2025-01-19 08:36:01 +01:00
Maurice Heumann
d8fd9d3e69 Exposing high level callbacks (#79)
The idea here is to start exposing various high level callbacks from
various sub components (syscalls, device io, etc.).

Consumer of `windows_emulator` can then hook into any callback.


Please give your feedback on this initial commit.
2025-01-17 07:15:13 +01:00
robert-yates
7773ea6794 add apiset selection code 2025-01-15 20:55:15 +01:00
Elias Bachaalany
e50eb96470 exposing high level callbacks to win_emu 2025-01-14 22:59:41 -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
2a3baa3987 fixed allocate_object_on_stack() 2025-01-10 17:36:40 -08:00
momo5502
d57678dbea Some win10 progress 2025-01-10 12:51:55 +01:00
momo5502
cad5e674e4 Refactor emulator interface 2025-01-09 19:18:20 +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
momo5502
69f82e5376 Fix compilation warnings on linux 2025-01-05 19:59:02 +01:00
momo5502
6b172f5e78 Add macOS support 2025-01-05 17:43:17 +01:00
momo5502
968c46f975 Fix printing 2025-01-05 15:58:16 +01:00
momo5502
7b1285f177 Fix format specifiers 2025-01-05 15:50:19 +01:00
momo5502
71913b2db0 Even more compilation fixes 2025-01-05 15:23:44 +01:00
momo5502
ec6e25787e Fix naming collisions 2025-01-05 15:02:00 +01:00
momo5502
f75f95cc61 Merge remote-tracking branch 'origin/main' into multi-platform-support
# Conflicts:
#	src/analyzer/main.cpp
#	src/emulator/memory_region.hpp
#	src/windows-emulator/io_device.cpp
#	src/windows-emulator/module/module_mapping.cpp
#	src/windows-emulator/process_context.hpp
#	src/windows-emulator/syscalls.cpp
#	src/windows-emulator/windows_emulator.cpp
2025-01-05 14:44:17 +01:00
momo5502
6435e65caa Small cleanup 2025-01-05 09:04:19 +01:00
momo5502
1b3bb07657 Thread switches are uninteresting 2025-01-04 11:21:45 +01:00
momo5502
41285169d9 Dispatch illegal instruction 2025-01-04 11:18:50 +01:00