We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c00426 commit 650c672Copy full SHA for 650c672
1 file changed
samples/ntcall.py
@@ -159,7 +159,10 @@ def do_ntcall_from_args(args, subcall=False):
159
hinfo = [x for x in windows.current_process.handles if x.value == handle][0]
160
print(" * Name: {0}".format(hinfo.name))
161
print(" * Type: {0}".format(hinfo.type))
162
- print(" * Addr: {0:#x}".format(hinfo.pAddress))
+ if hinfo.pAddress is not None:
163
+ print(" * Addr: {0:#x}".format(hinfo.pAddress))
164
+ else:
165
+ print(" * Addr: None")
166
return handle
167
168
0 commit comments