Skip to content

Commit e07214c

Browse files
committed
Ignore some files and stub ZwQueryInformationToken
1 parent 7bffd6d commit e07214c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ venv/
55
.idea/
66
__pycache__/
77
*.pyc
8+
/tests/*.trace
9+
/tests/*.dd32
10+
/tests/*.dd64
11+
/tests/*.txt

src/dumpulator/native.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def make_global(t):
88

99
STATUS_SUCCESS = 0
1010
STATUS_NOT_IMPLEMENTED = 0xC0000002
11+
STATUS_ACCESS_DENIED = 0xC0000022
1112

1213
class MEMORY_INFORMATION_CLASS(Enum):
1314
MemoryBasicInformation = 0

src/dumpulator/syscalls.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,8 @@ def ZwQueryVolumeInformationFile(dp: Dumpulator,
128128
FsInformationClass: FS_INFORMATION_CLASS
129129
):
130130
# TODO: implement
131-
return STATUS_SUCCESS
131+
return STATUS_SUCCESS
132+
133+
@syscall
134+
def ZwQueryInformationToken(dp: Dumpulator):
135+
return STATUS_NOT_IMPLEMENTED

0 commit comments

Comments
 (0)