Skip to content

Commit

Permalink
Ignore some files and stub ZwQueryInformationToken
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexodia committed Nov 29, 2021
1 parent 7bffd6d commit e07214c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ venv/
.idea/
__pycache__/
*.pyc
/tests/*.trace
/tests/*.dd32
/tests/*.dd64
/tests/*.txt
1 change: 1 addition & 0 deletions src/dumpulator/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def make_global(t):

STATUS_SUCCESS = 0
STATUS_NOT_IMPLEMENTED = 0xC0000002
STATUS_ACCESS_DENIED = 0xC0000022

class MEMORY_INFORMATION_CLASS(Enum):
MemoryBasicInformation = 0
Expand Down
6 changes: 5 additions & 1 deletion src/dumpulator/syscalls.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,8 @@ def ZwQueryVolumeInformationFile(dp: Dumpulator,
FsInformationClass: FS_INFORMATION_CLASS
):
# TODO: implement
return STATUS_SUCCESS
return STATUS_SUCCESS

@syscall
def ZwQueryInformationToken(dp: Dumpulator):
return STATUS_NOT_IMPLEMENTED

0 comments on commit e07214c

Please sign in to comment.