]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/lldbmacros/ipc.py
xnu-3248.50.21.tar.gz
[apple/xnu.git] / tools / lldbmacros / ipc.py
index d9c3745af92d27b94e1c0ffd03ad53ee07b82edd..f060873933704eb7d6b505dbacab49504a743c08 100644 (file)
@@ -1090,6 +1090,8 @@ def GetBankHandleSummary(handle_ptr):
         params: handle_ptr - uint64 number stored in handle of voucher.
         returns: str - summary of bank element
     """
+    if handle_ptr == 1 :
+        return "Bank task of Current task"
     elem = kern.GetValueFromAddress(handle_ptr, 'bank_element_t')
     if elem.be_type & 1 :
         ba = Cast(elem, 'struct bank_account *')