Commit Graph

2548 Commits

Author SHA1 Message Date
momo5502
8f2547cceb Some fixes 2024-09-20 17:33:09 +02:00
momo5502
8130d12089 Better output 2024-09-20 15:17:43 +02:00
momo5502
92df2ffc28 Test forwarding arguments 2024-09-18 20:29:27 +02:00
momo5502
eafd1e517e Demo stuff 2024-09-18 19:48:24 +02:00
momo5502
7ccad76fef separate emulator from executable
# Conflicts:
#	src/windows_emulator/main.cpp
2024-09-18 18:12:22 +02:00
momo5502
acf5673dfa Better event support 2024-09-16 20:55:00 +02:00
momo5502
1ee0b15c4e More syscalls 2024-09-16 20:08:31 +02:00
momo5502
eb87353553 More syscalls 2024-09-15 12:13:36 +02:00
momo5502
45970c9000 Add sys dir 2024-09-14 19:28:22 +02:00
momo5502
469052b467 Fix windows dir 2024-09-14 18:54:43 +02:00
momo5502
911449ab65 GDI init can't return 0? 2024-09-14 16:46:21 +02:00
momo5502
7e6731be9a GDI progress 2024-09-14 16:12:48 +02:00
momo5502
8cd283617a More progress 2024-09-14 15:38:02 +02:00
momo5502
a58c1f9aad More alpc support 2024-09-14 15:26:50 +02:00
momo5502
5406447934 Small progress 2024-09-13 21:01:45 +02:00
momo5502
2be89d0ae2 Fix warning 2024-09-13 19:40:05 +02:00
momo5502
f1127ce170 Fix commandline args 2024-09-13 19:06:10 +02:00
momo5502
370665b520 Introduce windows emulation context
This fixes #6
2024-09-13 13:48:21 +02:00
momo5502
53eeb988a7 Remove emulator from process context 2024-09-13 11:23:06 +02:00
momo5502
6d84604c82 Support serializing syscall handlers 2024-09-13 11:13:35 +02:00
momo5502
68cffae5c4 Implement serialization as a concept 2024-09-13 10:03:23 +02:00
momo5502
bdf179b0c2 Remove unused util 2024-09-13 10:02:26 +02:00
momo5502
b68892ceca Support saving and restoring snapshots 2024-09-13 09:52:11 +02:00
momo5502
b1cbc5a7ad Finish context saving/restoration 2024-09-12 17:53:41 +02:00
momo5502
d94a92df45 More serialization support 2024-09-12 13:21:52 +02:00
momo5502
cef85295af Prepare serialization support 2024-09-12 13:05:02 +02:00
momo5502
70400547ff Properly map locale file 2024-09-12 09:50:13 +02:00
momo5502
08cc6932d8 Progress 2024-09-11 19:44:48 +02:00
momo5502
d8cea9a373 Support more syscalls 2024-09-11 19:14:20 +02:00
momo5502
6aaceca7de Progress 2024-09-11 17:09:55 +02:00
momo5502
ddee229fca More syscall features 2024-09-11 13:22:52 +02:00
momo5502
46302df864 Support win32k syscalls 2024-09-11 12:52:24 +02:00
momo5502
920bc9dec6 More syscalls 2024-09-10 12:43:56 +02:00
momo5502
c4164f460a Some progress 2024-09-10 09:39:05 +02:00
momo5502
a2c344db53 Some progress 2024-09-09 20:28:24 +02:00
momo5502
c23da4484b Fix module mapping 2024-09-09 19:09:38 +02:00
momo5502
fad1721cba Better image information 2024-09-09 18:54:17 +02:00
momo5502
e054702ebd Small fixes and adjustments 2024-09-09 18:38:25 +02:00
momo5502
29ad787b6b Fix relocation handling 2024-09-09 17:16:31 +02:00
momo5502
9d21fd83d5 Safely access buffer when mapping modules 2024-09-09 14:41:09 +02:00
momo5502
73b15557e8 Cleanup gdb stub and module mapping 2024-09-09 12:14:22 +02:00
momo5502
9472ee4feb Enable LTO 2024-09-08 16:12:19 +02:00
momo5502
01b1d422d9 Implement more efficient export logging
Unicorn hooks are expensive. It seems to iterate all hooks every
time an instruction is executed. Therefore more hooks -> slower execution.

Instead, we'll have one hook. Within that hook we'll check if the address
is within a mapped binary. If so, we then check if it is and export and
log when true. That's far more efficient than checking all hooks every time.
2024-09-08 16:10:03 +02:00
momo5502
9c5b65b103 Count executed instructions 2024-09-08 15:18:57 +02:00
momo5502
4d0d197376 Better handle abstraction 2024-09-08 13:09:10 +02:00
momo5502
9f437657ad Prepare handle cleanup 2024-09-07 21:41:00 +02:00
momo5502
d7dd64f896 Small adjustments 2024-09-07 15:07:51 +02:00
momo5502
f44f4777da Fix exception dispatching 2024-09-07 12:52:20 +02:00
momo5502
2022513bbe Fix stack alignment 2024-09-06 19:44:35 +02:00
momo5502
daeea58c91 Fix release build 2024-09-06 08:49:31 +02:00