Commit Graph

67 Commits

Author SHA1 Message Date
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
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
6d84604c82 Support serializing syscall handlers 2024-09-13 11:13:35 +02:00
momo5502
b1cbc5a7ad Finish context saving/restoration 2024-09-12 17:53:41 +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
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
73b15557e8 Cleanup gdb stub and module mapping 2024-09-09 12:14:22 +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
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
2022513bbe Fix stack alignment 2024-09-06 19:44:35 +02:00
momo5502
e5b3dc953e Prepare exception dispatching 2024-09-05 19:01:55 +02:00
momo5502
7c6e4a23da More exception progress 2024-09-05 16:10:11 +02:00
momo5502
679fecda4e Finish emulating hello world 2024-09-01 20:32:45 +02:00
momo5502
fb0c740b89 More syscalls 2024-09-01 20:10:24 +02:00
momo5502
93f8f7b18e Query memory info 2024-09-01 09:13:50 +02:00
momo5502
164e9b737d Almost running application 2024-08-31 21:43:05 +02:00
momo5502
3ead613d2c More syscalls 2024-08-31 21:20:20 +02:00
momo5502
477eef2d6a Add console support 2024-08-31 20:28:54 +02:00
momo5502
d0e79f51bd Progress with kernelbase initialization 2024-08-31 19:43:27 +02:00
momo5502
2d23abc9e5 More fixes and progress 2024-08-31 17:37:30 +02:00
momo5502
f57e925499 Fix formatting 2024-08-31 16:41:55 +02:00
momo5502
99ede9529d Ignore ProcessTlsInformation 2024-08-31 16:41:47 +02:00
momo5502
c5010761d8 Fix log 2024-08-31 16:41:38 +02:00
momo5502
3e5b82a5b5 Add new syscall 2024-08-31 16:41:15 +02:00
momo5502
e36ed03720 Fix classic alignment mistake 2024-08-31 16:40:55 +02:00
momo5502
903227b699 Fix compilation 2024-08-31 09:31:32 +02:00
momo5502
d74897a413 Oof 2024-08-31 09:30:09 +02:00
momo5502
01bced1b53 Handle api-ms DLLs 2024-08-31 08:45:12 +02:00
momo5502
48581ff048 More progress 2024-08-30 21:35:56 +02:00
momo5502
0d9f71f913 Fix warnings 2024-08-30 18:17:15 +02:00
momo5502
ce7fc8b07d Prepare module mapping 2024-08-28 20:26:22 +02:00