Commit Graph

84 Commits

Author SHA1 Message Date
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
momo5502
912e9c9379 Log crafted out-of-line syscalls 2025-01-03 17:29:00 +01:00
momo5502
010fbb2120 Support concise debugger output 2025-01-03 13:22:51 +01:00
momo5502
022ed72807 Fix syscall mappings 2025-01-02 13:48:28 +01:00
robert-yates
c07fb2ca86 enable refactored api_set for windows platform 2024-12-24 21:10:09 +01:00
robert-yates
8e049a2650 migrate to platform structures 2024-12-24 21:08:39 +01:00
robert-yates
12c80f159e add explicit 16bit unicode 2024-12-24 21:08:39 +01:00
momo5502
4766e164e0 Move emulator settings 2024-12-24 09:26:19 +01:00
momo5502
6111f2fad3 Fix silencing 2024-12-24 09:23:38 +01:00
momo5502
98265ce2a9 Support silencing the logging until the main function gets executed 2024-12-24 09:14:35 +01:00
momo5502
4deb007a8e Remove outdated comment 2024-12-24 09:13:55 +01:00
momo5502
e40a6d1c51 Fix path canonicalization
This fixes #34
2024-12-24 07:14:24 +01:00
momo5502
ed0ced76f9 Progress on tokens 2024-12-22 21:47:43 +01:00
momo5502
5122b55661 Support recursive mutants 2024-12-22 16:34:28 +01:00
momo5502
4be39b1fe7 Prepare mutant support 2024-12-22 16:34:28 +01:00
momo5502
ce6cb0116b Support more syscalls 2024-12-21 20:18:59 +01:00