Commit Graph

413 Commits

Author SHA1 Message Date
Elias Bachaalany
0459a1d71a fix CI issues 2025-01-12 10:59:23 -08:00
Elias Bachaalany
f1f42b855b refactored into its own files ('time.hpp/.cpp') 2025-01-11 21:51:05 -08:00
Elias Bachaalany
57449b6f30 fixed formatting? 2025-01-11 21:35:10 -08:00
Elias Bachaalany
c98260aa04 fixed styles? 2025-01-11 21:35:10 -08:00
Elias Bachaalany
4129725c97 moved some time/sync funcs/consts out from syscall_utils 2025-01-11 21:35:10 -08:00
Maurice Heumann
32faf2ba1f renamed 'write_status' to 'write_syscall_status' (#70) 2025-01-11 16:43:10 +01:00
Elias Bachaalany
c143acae43 error log instead of printf() for syscall issues 2025-01-11 07:36:29 -08:00
Elias Bachaalany
6ea79021a0 renamed 'write_status' to 'write_syscall_status' 2025-01-11 06:28:10 -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
a31d074eb4 Move clang format into src 2025-01-10 20:44:45 +01:00
Elias Bachaalany
0516c1ad87 added missing syscall so that Windows 10 emulation works
For now, this is reports as not implemented but it seems to make the OS happy.
2025-01-10 11:27:04 -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
7993c9c8e8 Small formatting fixes 2025-01-08 11:14:08 +01:00
momo5502
73eb7d659c Get rid of explicit NtQuerySystemInformationEx syscall 2025-01-08 11:02:04 +01:00
momo5502
0585978157 Add dummy full information 2025-01-08 07:48:11 +01:00
momo5502
252ab1fed1 Fix hook deletions 2025-01-07 17:59:19 +01:00
momo5502
6a1da27afe Make installing and removing hooks thread safe 2025-01-07 16:43:28 +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
17860edc4c Fix most conversion warnings 2025-01-05 20:34:54 +01:00
momo5502
eeac915a55 Fix macOS warnings 2025-01-05 20:14:53 +01:00
momo5502
a8b4b69a8b Fix more format warnings 2025-01-05 20:09:28 +01:00
momo5502
69f82e5376 Fix compilation warnings on linux 2025-01-05 19:59:02 +01:00
momo5502
605d66c237 Fix ADL for serialize/deserialize 2025-01-05 19:31:51 +01:00
momo5502
3f00cdb181 Fix some compilation warnings 2025-01-05 19:27:17 +01:00
momo5502
d87466337f Generate formatting warnings for custom logger 2025-01-05 18:04:04 +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
f08a97eae6 Fix compilation after merge 2025-01-05 14:58:30 +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
24f53bc498 Fix more compilation issues 2025-01-05 13:25:28 +01:00
momo5502
05e75a20ba Fix some compilation issues 2025-01-05 13:11:32 +01:00
momo5502
6f736808ba Small cleanup 2025-01-05 10:19:19 +01:00
momo5502
d93120a122 Assert correct PE machine type 2025-01-05 10:19:05 +01:00
momo5502
5bfb1b06ee Show errors if module mapping fails 2025-01-05 09:42:14 +01:00
momo5502
ac16b4a727 Handle concise logging via options 2025-01-05 09:28:16 +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
d64e73ad6e Add test for illegal instructions 2025-01-04 11:06:10 +01:00
momo5502
912e9c9379 Log crafted out-of-line syscalls 2025-01-03 17:29:00 +01:00
momo5502
6da3f27da6 Fix .text logging 2025-01-03 16:43:07 +01:00