Commit Graph

622 Commits

Author SHA1 Message Date
Maurice Heumann
a5073a6ddf Add path traversal unit test 2025-03-18 08:49:13 +01:00
Maurice Heumann
b746fc17ee Sanitize paths
This fixes #109
2025-03-18 08:49:13 +01:00
Maurice Heumann
f6fcfc0f82 Update reflect_type_info.hpp 2025-03-14 07:32:19 +01:00
CarlTSpeak
fca3e026b0 Added handling of 2 info_classes to NtQueryInformationProcess and ThreadTimes to NtQueryInformationThread 2025-03-05 09:51:00 +00:00
momo5502
0b3f3347dc Fix compilation with latest msvc 2025-02-15 09:19:24 +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
3218e26306 Small callback optimization and unification 2025-02-14 09:05:55 +01:00
Maurice Heumann
6b4e86073e added more callbacks (#141) 2025-02-14 08:06:26 +01:00
Elias Bachaalany
bcc8cd6eb6 formatting 2025-02-11 12:05:28 -08:00
Elias Bachaalany
b1960584cd i give up on formatting... 2025-02-11 10:31:20 -08:00
Elias Bachaalany
d399808b39 formatting 2025-02-11 10:28:24 -08:00
Elias Bachaalany
c0719651d3 minor changes 2025-02-11 10:25:02 -08:00
Maurice Heumann
8bd1fd5ad9 Add todo 2025-02-11 06:51:10 +01:00
Maurice Heumann
604edcafd1 Fix const 2025-02-11 06:51:06 +01:00
Elias Bachaalany
ab93de51d2 formatting 2025-02-10 16:44:39 -08:00
Elias Bachaalany
1d7f841ee4 added more callbacks 2025-02-10 11:25:04 -08:00
momo5502
934374c4bb Extract main module cache into module manager 2025-02-10 17:43:09 +01:00
momo5502
c1aa260f8f Cleanup process context 2025-02-10 17:28:00 +01:00
momo5502
04ca0981a1 Extract API set data 2025-02-10 17:21:34 +01:00
momo5502
2815a74a18 Setup PEB image base 2025-02-10 16:58:57 +01:00
momo5502
349ef9688a Move module manager into windows emulator 2025-02-10 16:49:33 +01:00
momo5502
7ae36a6452 Move registry manager into windows emulator 2025-02-10 16:37:33 +01:00
momo5502
adf632c64e Remove getters 2025-02-10 16:20:24 +01:00
Maurice Heumann
a28be3049b Separate application and emulator settings 2025-02-10 15:46:38 +01:00
Maurice Heumann
a5bae30e00 Rename context_frame to cpu_context 2025-02-10 14:28:53 +01:00
Maurice Heumann
2686251fde Cleanup windows-emulator and extract classes 2025-02-10 13:42:49 +01:00
momo5502
6263353438 Isolate memory manager 2025-02-09 18:19:32 +01:00
momo5502
11dbe6dfc1 Add basic stdin support 2025-02-09 15:27:01 +01:00
momo5502
07a86522cb Support ThreadTebInformation query 2025-02-09 12:54:28 +01:00
momo5502
d4fb81378f Fix path translation 2025-02-09 12:54:14 +01:00
momo5502
27e5ef0214 Support Nsi device 2025-02-09 12:54:01 +01:00
momo5502
f958791f35 Fix NtReadVirtualMemory 2025-02-09 12:53:40 +01:00
momo5502
d85c675070 Small fixes 2025-02-09 12:53:29 +01:00
momo5502
9d71a3bbf2 Make emulator_object bool operator explicit 2025-02-09 12:53:07 +01:00
momo5502
01093aa544 Forward unaltered stdout data 2025-02-09 11:15:39 +01:00
momo5502
148b2b19dc Add NtQueryDefaultLocale 2025-02-09 11:07:08 +01:00
momo5502
4c7450b937 Log allocations 2025-02-09 11:05:10 +01:00
momo5502
4e38ddc323 Ensure proper allocation granularity 2025-02-09 11:01:46 +01:00
momo5502
8a427ec368 Hack to skip nls/alpc communication
This is related to #128
2025-02-09 11:00:12 +01:00
momo5502
063d4590a5 Fix nibble parsing 2025-02-09 10:18:35 +01:00
momo5502
27f02c74c7 Support logging actions for interesting modules 2025-02-09 09:43:19 +01:00
momo5502
7f6bfa6cc0 Support fetching tag information 2025-02-08 20:41:03 +01:00
momo5502
40bcb097b1 Fix filepath I/O test 2025-02-08 19:06:14 +01:00
momo5502
0bcb18f52b Add working directory tests 2025-02-08 19:01:53 +01:00
momo5502
fe84448bf5 Reserve space for current directory 2025-02-08 18:55:19 +01:00
momo5502
2da494a370 Fix path concatenation 2025-02-08 18:35:51 +01:00
momo5502
edcc090181 Support silencing logging in analyzer 2025-02-08 18:05:47 +01:00
momo5502
9f4a80b42e Fix running relative applications 2025-02-08 17:52:11 +01:00
momo5502
7efe75ba97 Remove working directory translations 2025-02-08 17:31:53 +01:00