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
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
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
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
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
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
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
ahm3dgg
762d732056
Format fix
2026-01-08 19:49:41 +02:00
ahm3dgg
871e249227
Safety check for api-set ValueCount
2026-01-08 19:46:51 +02:00
ahm3dgg
06cc62042c
Serialize and Deserialize KnownDLLs Tables
2026-01-08 00:36:53 +02:00
ahm3dgg
bb98f2cee3
no need to set maximum size for section
2026-01-07 21:03:52 +02:00
ahm3dgg
63fad67e8f
no need to set maximum size
2026-01-07 20:49:37 +02:00
ahm3dgg
f12766f027
use local path for fs ops
2026-01-07 20:34:33 +02:00
ahm3dgg
49ae9ef68a
Add dummy stub for NtFlushInstructionCache
2026-01-07 20:21:19 +02:00
ahm3dgg
fdcc7455a1
Separated KnownDLLs and KnownDLLs32
2026-01-07 19:37:36 +02:00
ahm3dgg
72ea3e0f0d
format fix
2026-01-07 09:35:13 +02:00
ahm3dgg
200b39359e
Fix
2026-01-07 09:33:06 +02:00
ahm3dgg
c92e7bff5f
fix cast
2026-01-07 09:15:57 +02:00
ahm3dgg
6958954f82
Fix another warning
2026-01-07 09:04:37 +02:00
ahm3dgg
741dadfced
Remove redundant code
2026-01-07 08:54:05 +02:00
ahm3dgg
4dadc42284
weird c++ moments
2026-01-07 08:36:01 +02:00
ahm3dgg
6c508eb15e
formatting fix
2026-01-07 08:30:13 +02:00
ahm3dgg
d4b59cc3cd
Fix
2026-01-07 08:27:25 +02:00
ahm3dgg
c3a760dace
Fixed Formatting
2026-01-07 08:23:00 +02:00
ahm3dgg
1806eeb2e0
Fix types
2026-01-07 08:18:08 +02:00
ahm3dgg
4f8745ce1b
Support for KnownDLLs and Some Refactoring
2026-01-07 08:06:19 +02:00
ahm3dgg
f54bc3467f
Support for KnownDLLs and Some Refactoring
2026-01-07 07:34:34 +02:00
Igor Pissolati
9fdc2a4ce6
Add support for user callbacks
2026-01-06 10:14:02 -03:00
Maurice Heumann
d3af3c781c
Add support for user_object/user_handle_table ( #677 )
...
Fixes #641
This PR is my attempt to add support for user32 objects and the user32
handle table. I also added a test, but as expected, it fails on Windows
2022. I’ll try to fix that another day, but feel free to review the code
😄
2026-01-06 10:21:58 +01:00
ahm3dgg
67e130a3b8
Check if the known dll path exists first
2026-01-06 09:57:33 +02:00
ahm3dgg
725c7e3e9c
Pass file_system to process_context::setup
2026-01-06 09:16:45 +02:00
ahm3dgg
b642486bc4
Add Support for KnownDLLs
2026-01-06 08:34:41 +02:00
Igor Pissolati
90b38b3bff
Fix user_handle_table initialization
2026-01-05 09:01:05 -03:00
Igor Pissolati
5d59700ec7
Remove parse_number
2026-01-05 09:00:45 -03:00
Igor Pissolati
7112d619b4
Fix clang tidy
2026-01-04 16:28:30 -03:00
Igor Pissolati
5302900a9d
Fix for older Windows builds
2026-01-04 16:01:13 -03:00