Commit Graph

485 Commits

Author SHA1 Message Date
Igor Pissolati
d75d70e5ec Move new code out of network::socket 2025-05-21 12:15:18 -03:00
Igor Pissolati
4b83b20e19 Handle connect & Fix polling 2025-05-21 12:15:18 -03:00
Igor Pissolati
f5ed0752e3 Handle listen/accept/send/receive in afd_endpoint 2025-05-21 12:15:18 -03:00
Igor Pissolati
5b4193cf92 Fix failing checks 2025-05-20 22:25:31 -03:00
Igor Pissolati
3e1f206bc0 Fixes to file syscalls 2025-05-20 21:44:40 -03:00
Igor Pissolati
4888142d22 Better handling of NtCreateKey 2025-05-20 21:44:18 -03:00
Igor Pissolati
75ee63803c Add new device to create_device 2025-05-20 21:43:49 -03:00
momo5502
86dbd11008 Fix serialization of atoms 2025-05-18 12:48:17 +02:00
momo5502
beea923a15 Fix warning 2025-05-18 10:52:52 +02:00
momo5502
67031b40ea More UI syscalls 2025-05-18 10:35:22 +02:00
momo5502
836262f3d7 Stub NtUserChangeWindowMessageFilterEx 2025-05-18 10:03:56 +02:00
momo5502
6241c10f02 Support window props 2025-05-18 09:51:46 +02:00
momo5502
0fbd563e8c Support window creation 2025-05-18 09:51:28 +02:00
momo5502
d08bcbae9c Add window object 2025-05-18 09:13:26 +02:00
momo5502
b89000aae9 Fix warnings 2025-05-17 20:45:24 +02:00
momo5502
153fcc3691 Return display 2025-05-17 20:27:56 +02:00
momo5502
bd4e27469f Add more ui syscall stubs 2025-05-17 18:28:53 +02:00
momo5502
ab4ee84339 Support arbitrary return types 2025-05-17 17:05:57 +02:00
momo5502
a2b3b5f1c2 Prepare UI support 2025-05-17 17:05:57 +02:00
momo5502
e0ee80bade Prepare window support 2025-05-17 08:11:45 +02:00
Maurice Heumann
3e7f6e5fc1 Redirect zero base memory image requests to main exe 2025-05-08 18:30:50 +02:00
Soham Nandy
cff2feee75 Add rdtscp instruction with stub IA32_TSC_AUX values 2025-05-02 07:20:36 +05:30
Maurice Heumann
6cb571f496 Prepare web debugger (#247) 2025-04-29 09:51:15 +02:00
momo5502
1beb95c2b2 Support thread-switch callback 2025-04-29 09:25:45 +02:00
Igor Pissolati
bab8c55ed3 Disable Trap Test on icicle 2025-04-28 19:27:56 -03:00
Igor Pissolati
7a8e6dd459 Fix Windows 2019 Time Zone Test 2025-04-28 18:47:24 -03:00
Igor Pissolati
b67a512ea6 Properly expand REG_EXPAND_SZ keys 2025-04-28 15:24:49 -03:00
Igor Pissolati
05a965fe54 Fix non-windows builds 2025-04-28 12:55:01 -03:00
Igor Pissolati
a629f77e31 Miscellaneous fixes 2025-04-28 12:48:28 -03:00
Igor Pissolati
9d5338b168 Load environment variables from registry 2025-04-28 12:46:36 -03:00
Maurice Heumann
be9d0164d7 Improvements to NtQueryDirectoryFileEx (#235)
This PR aims to:
- [Stub FileBasicInformation in
NtSetInformationFile](6d0ad1dd61)
- [Make sure a root `windows_path` have slash at the
end](02ed4fbb03),
this was necessary because `directory_iterator` fails when the path is
`C:` (without slash)..
- [Improve
NtQueryDirectoryFileEx](f6ec1fc9cc)
by adding filename filtering support, including more basic file
information in the struct, and fixing an issue that prevented the last
chunk of files from being enumerated correctly.
2025-04-25 08:32:47 +02:00
Igor Pissolati
61c6ecb65b Fix small oversight 2025-04-24 18:01:17 -03:00
Igor Pissolati
97ec131c50 Improvements to NtQueryDirectoryFileEx 2025-04-24 17:31:49 -03:00
Igor Pissolati
02ed4fbb03 Make sure root windows_path have slash at the end 2025-04-24 01:02:27 -03:00
Igor Pissolati
6d0ad1dd61 Stub FileBasicInformation in NtSetInformationFile 2025-04-24 01:01:09 -03:00
Igor Pissolati
0474eef373 Fix failing test 2025-04-23 19:38:19 -03:00
Igor Pissolati
a3a786c6ec Fix failing check 2025-04-23 18:41:56 -03:00
Igor Pissolati
3b918f2d5c Stub SystemFirmwareTableInformation in NtQuerySystemInformation 2025-04-23 18:24:12 -03:00
Igor Pissolati
7fef4ebc24 Handle TokenGroups in NtQueryInformationToken 2025-04-23 18:22:06 -03:00
Igor Pissolati
44fcc9970d Fix failing checks 2025-04-23 01:51:37 -03:00
Igor Pissolati
134b45d1e8 Fix vm crash when teb.ThreadLocalStoragePointer is null 2025-04-23 01:16:31 -03:00
Igor Pissolati
39d40a7f2f Simplify TimeZone query fix 2025-04-23 01:14:35 -03:00
Igor Pissolati
8dfcf2755c Add stub for NtAreMappedFilesTheSame and modify NtSetInformationKey to return success 2025-04-23 01:03:42 -03:00
Igor Pissolati
16e7cac48a Retry loading using normal path when wow6432node path is not found 2025-04-23 01:00:30 -03:00
robert-yates
b2296930d3 prepare 32bit support with name and class inheritance modifications 2025-04-22 12:01:40 +02: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
8970c4b1e6 Fix x86 build (again) 2025-04-22 03:54:13 -03:00
Igor Pissolati
b5abcce65d Fix NtUserGetAtomName signature 2025-04-22 03:45:52 -03:00
Igor Pissolati
657bf6121a Apply suggested changes 2025-04-22 03:44:45 -03:00
Igor Pissolati
5f2c15e642 Fix x86 build 2025-04-22 02:51:19 -03:00