Commit Graph

73 Commits

Author SHA1 Message Date
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
momo5502
ee0e2676f1 Add system time test 2024-11-24 11:27:10 +01:00
momo5502
5f49b30fe0 Cleanup KUSD MMIO 2024-11-24 10:37:26 +01:00
momo5502
2e2b4ffb2f KUSD MMIO 2024-11-23 19:32:14 +01:00
momo5502
84a0aed1d9 Small fixes and additions 2024-11-23 16:44:49 +01:00
momo5502
804f517e68 Fix tests and compilation 2024-11-17 09:43:02 +01:00
momo5502
a87bb85858 Support afd endpoint serialization 2024-11-17 09:23:45 +01:00
momo5502
d1493867fe Support relative and absolute time
This fixes #23
2024-11-10 15:34:21 +01:00
momo5502
5004857714 Get rid of thread blocker 2024-11-10 09:16:53 +01:00
momo5502
df70f29ba3 Prepare poll support 2024-11-09 22:51:05 +01:00
momo5502
8f5600bc7c Better thread yield support 2024-11-09 17:50:23 +01:00
momo5502
641d87cc60 Finish support for blocking UDP sockets 2024-11-09 15:21:18 +01:00