Commit Graph

1383 Commits

Author SHA1 Message Date
ahm3dgg
b8c10e0961 Fix regex 2026-01-14 08:05:32 +02:00
ahm3dgg
7482a95ea1 Fix Address santizer bug with std::regex 2026-01-14 07:38:44 +02:00
ahm3dgg
301117ef9e Very weird std::regex bugs 2026-01-14 07:37:43 +02:00
ahm3dgg
3cf6bb6eb6 Move string to std::regex 2026-01-14 07:02:01 +02:00
ahm3dgg
d49347627a Pass a copy of string to std::regex 2026-01-14 06:52:56 +02:00
ahm3dgg
2146959122 Use utf8 strings for regex matching 2026-01-14 06:33:30 +02:00
ahm3dgg
bec14a34d4 Clang Format Fix 2026-01-14 06:17:42 +02:00
ahm3dgg
86beff2867 Remove redundant code 2026-01-14 06:14:45 +02:00
ahm3dgg
90a9f66021 Remove unused header 2026-01-14 06:12:55 +02:00
ahm3dgg
34b4bc1609 Correctly build transitive dll list 2026-01-14 06:10:11 +02:00
ahm3dgg
1dfbb9fe7e Consistent return type alias 2026-01-13 22:43:09 +02:00
ahm3dgg
6b88a76a4b Better naming 2026-01-13 20:58:34 +02:00
ahm3dgg
9304d2ff57 Move get_apiset_namespace_table to apiset namespace 2026-01-13 20:56:37 +02:00
ahm3dgg
3db0eacc92 Better names and Fixing a Potential Race condition while reading File 2026-01-13 19:41:12 +02:00
ahm3dgg
df8c093dd1 Clang Tidy Fix: Remove unused variable 2026-01-13 02:08:06 +02:00
ahm3dgg
f9fccedf4f Merge branch 'main' of https://github.com/momo5502/sogen into knowndlls-patch 2026-01-13 01:58:32 +02:00
ahm3dgg
0438b7a62b Update module_load_count when unmapping 2026-01-13 01:44:36 +02:00
Igor Pissolati
271fb0f270 Add useful comment to user_callback_dispatch header 2026-01-11 17:12:40 -03:00
Igor Pissolati
2c93915ecc Make Atom case-insensitive 2026-01-11 17:12:15 -03:00
Igor Pissolati
f5fe795028 Fix inadvertent stack pointer overwriting in callback hook 2026-01-11 17:11:17 -03:00
Igor Pissolati
fc036ca2c5 Fix wrong return value of user_handle_table::get_server_info 2026-01-11 17:08:45 -03:00
Igor Pissolati
ffd7058bec Fix NtCreateFile's create_disposition behavior 2026-01-11 17:07:34 -03:00
ahmed
0eae0cac56 Merge branch 'main' into knowndlls-patch 2026-01-11 01:47:34 +02:00
ahm3dgg
92e3ec33cb fix 2026-01-11 01:46:29 +02:00
ahm3dgg
73d82d9ee9 NtOpenSection: Do Case-Insensitive String Comparison And Some Refactoring 2026-01-11 01:41:17 +02:00
ahm3dgg
d54c8bf9ca NtOpenSection: Do Case-Insensitive String Comparison 2026-01-11 01:37:55 +02:00
ahm3dgg
5b03324342 Formatting 2026-01-11 00:32:00 +02:00
ahm3dgg
d9fc7ce614 Formatting 2026-01-11 00:26:44 +02:00
ahm3dgg
8dc54d7816 Clang Tidy Fix 2026-01-11 00:22:35 +02:00
ahm3dgg
fc0853aab6 NtOpenSection: Do Case-Insensitive String Comparison 2026-01-11 00:15:22 +02:00
Maurice Heumann
d70ab2607e Add support for user callbacks (#691)
This PR is my attempt to add support for user callbacks in the emulator.
User callbacks allow the emulator to call guest callbacks from syscalls,
and when the callback finishes running, control returns to the syscall
through the completion method. I've also added a test and implemented
the NtUserEnumDisplayMonitors syscall.

One thing to note is that this implementation isn't faithful to how the
Windows kernel does it, since the kernel uses the KernelCallbackTable
and the `ntdll!KiUserCallbackDispatch` method, and this implementation
currently just calls the callback directly.
2026-01-10 13:59:24 +01:00
ssvine
c49226d7c1 Fix memory_manager serialization 2026-01-10 14:13:09 +03:00
ahm3dgg
6cd94b7f4d Simplify code and remove uncessary comments 2026-01-09 13:36:26 +02:00
ahm3dgg
58d6a10837 Simplify code and remove uncessary comments 2026-01-09 13:35:38 +02:00
ssvine
dd31b6344f Fix user_handle_table memory handling 2026-01-09 10:51:09 +03:00
ahm3dgg
f41e7bf881 Exclude win32u.dll from module_load_count 2026-01-09 06:45:32 +02:00
ahm3dgg
974defb080 Translate FilePath before getting it from module_load_count 2026-01-09 06:00:18 +02:00
ahm3dgg
9161d04417 Clang Format fix 2026-01-09 05:48:35 +02:00
ahm3dgg
ee051fad92 Clang Tidy Fix 2026-01-09 05:45:47 +02:00
ahm3dgg
80fc959221 Formatting Fix 2026-01-09 05:33:35 +02:00
ahm3dgg
0b99e11f99 We can only wish 2026-01-09 05:29:19 +02:00
ahm3dgg
f0b8e56933 We can only wish 2026-01-09 04:56:23 +02:00
ahm3dgg
c58ad0153e We can only wish 2026-01-09 03:41:22 +02:00
ahm3dgg
48cb637571 Workaround win32u only 2026-01-09 03:29:50 +02:00
ahm3dgg
a728db63de Workaround win32u only 2026-01-09 03:28:35 +02:00
ahm3dgg
37db1c635f Formatting 2026-01-09 03:14:53 +02:00
ahm3dgg
80db2420e6 Formatting 2026-01-09 03:10:21 +02:00
ahm3dgg
8481cdfb5d Use std::map instead of std::unordered_map for data that will be serialized 2026-01-09 03:09:42 +02:00
ahm3dgg
833fd610da Test CI/CD 2026-01-09 00:23:35 +02:00
Igor Pissolati
d33ef2d93f Avoid memory hook being triggered twice for the same callback 2026-01-08 16:59:09 -03:00