Commit Graph

58 Commits

Author SHA1 Message Date
momo5502
bd4e27469f Add more ui syscall stubs 2025-05-17 18:28:53 +02:00
momo5502
6a6f2fa0bc Fix linter warnings 2025-05-17 17:05:57 +02:00
momo5502
549d9e4625 Fix compilation 2025-05-17 17:05:57 +02:00
momo5502
a2b3b5f1c2 Prepare UI support 2025-05-17 17:05:57 +02:00
Igor Pissolati
496fbd3a40 Fix TimeZoneInformation 2025-04-28 12:45:07 -03:00
Igor Pissolati
7fef4ebc24 Handle TokenGroups in NtQueryInformationToken 2025-04-23 18:22:06 -03:00
Maurice Heumann
1b9e114737 Improvements to locale syscalls, fix TimeZone query and add more syscalls (#223)
This PR aims to do the following:
- Add the `NtUserGetAtomName` syscall.
- Add stub handlers for `NtUserSetWindowsHookEx`,
`NtUserUnhookWindowsHookEx`, and `NtUserCreateWindowEx`.
- Implement `NtGetNlsSectionPtr` (for Code Pages), add
`NtQueryDefaultUILanguage`, and improve `NtQueryInstallUILanguage`.
- Handle `SystemTimeZoneInformation`,
`SystemCurrentTimeZoneInformation`, and
`SystemDynamicTimeZoneInformation` in `NtQuerySystemInformation`.
- Skip `ThreadAffinityMask` in `NtSetInformationThread`.
- Fix `NtConnectPort` to allow TimeZone queries to work properly. This
is probably the most problematic change here because it required messing
with the shared section and hardcoding an offset (2504). Initializing
the data in this offset seems necessary for calls like
`GetTimeZoneInformation` to succeed, so maybe there's no other way
around it.
2025-04-22 09:08:42 +02:00
Igor Pissolati
bd8818c335 Fix failing checks 2025-04-22 02:35:54 -03:00
Igor Pissolati
7e93f5d7f6 Improvements to locale syscalls and fix TimeZone query 2025-04-22 01:48:52 -03:00
Igor Pissolati
763b8fc760 Improvements to registry syscalls 2025-04-20 16:09:04 -03:00
momo5502
cd348e0095 Add padding 2025-04-17 18:54:46 +02:00
momo5502
68022ef501 Fixes 2025-04-14 20:16:24 +02:00
Maurice Heumann
f3caea91de Fix remaining structs 2025-04-14 15:03:05 +02:00
Maurice Heumann
0e9cffa5cb More 32 bit fixes 2025-04-14 14:34:06 +02:00
Maurice Heumann
a6dd9251b8 Prepare 32 bit support 2025-04-14 13:57:54 +02:00
RektInator
90256895c1 fix: add missing #define for SEC_RESERVE 2025-04-14 12:51:02 +02:00
RektInator
7bf0b67167 wip 2025-04-14 12:23:08 +02:00
momo5502
52d4e7e281 Fix region info query 2025-04-14 07:46:53 +02:00
momo5502
2ed35d94b9 Set correct status 2025-04-13 15:00:39 +02:00
momo5502
7910021124 Fix apc dispatching 2025-04-13 14:28:35 +02:00
momo5502
30e77f5f9a Fix NtQueueApcThreadEx 2025-04-13 14:12:14 +02:00
momo5502
71e8aab913 Ignore linter warnings 2025-04-13 13:39:08 +02:00
momo5502
c0252a5f71 Add partial NtContinueEx support 2025-04-13 13:39:08 +02:00
Maurice Heumann
67d34b3988 Small fix 2025-04-08 10:17:05 +02:00
Maurice Heumann
66a529cf43 More logging 2025-04-07 15:36:25 +02:00
momo5502
0dea8260cc Fix SystemLogicalProcessorInformation 2025-03-22 21:07:39 +01:00
momo5502
53fb2f9116 Support more syscalls 2025-03-22 19:53:53 +01:00
Maurice Heumann
1a640ed6d2 Dump emulation state in analyzer (#168) 2025-03-22 14:13:58 +01:00
momo5502
ef8a9dae6e Fix warnings 2025-03-18 20:08:54 +01:00
momo5502
665ff99504 Some GDI fixes 2025-02-14 14:10:35 +01:00
momo5502
39ffa6c87b Fix volume information queries 2025-02-14 09:14:08 +01:00
momo5502
2815a74a18 Setup PEB image base 2025-02-10 16:58:57 +01:00
momo5502
07a86522cb Support ThreadTebInformation query 2025-02-09 12:54:28 +01:00
momo5502
7f6bfa6cc0 Support fetching tag information 2025-02-08 20:41:03 +01:00
momo5502
b5a0f73113 Fix path syscalls 2025-02-08 14:07:51 +01:00
momo5502
dbf39fce0a Support more features 2025-02-05 19:24:36 +01:00
momo5502
f2c5df5139 Support hardware breakpoints 2025-02-04 19:08:38 +01:00
Maurice Heumann
e87650f3b5 Add more syscalls 2025-02-04 13:04:49 +01:00
momo5502
d836567db1 Fix PE parsing 2025-01-25 07:24:01 +01:00
momo5502
24bebc4ee2 Prepare filesystem support 2025-01-25 07:24:01 +01:00
momo5502
32d91bd139 Fix semaphores and mutexes 2025-01-25 07:24:01 +01:00
momo5502
e79d919bbb More fixes 2025-01-18 09:28:23 +01:00
momo5502
b2b2ffd6be Cleanup exception handling and prepare UI support 2025-01-11 09:55:48 +01:00
momo5502
55e2462206 Small fixes 2025-01-11 09:05:27 +01:00
momo5502
d57678dbea Some win10 progress 2025-01-10 12:51:55 +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
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