X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3e170ce000f1506b7b5d2c5c7faec85ceabb573d..ecc0ceb4089d506a0b8d16686a95817b331af9cb:/tools/lldbmacros/ipc.py diff --git a/tools/lldbmacros/ipc.py b/tools/lldbmacros/ipc.py index d9c3745af..f06087393 100644 --- a/tools/lldbmacros/ipc.py +++ b/tools/lldbmacros/ipc.py @@ -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 *')