]> git.saurik.com Git - apple/xnu.git/blob - .lldbinit
xnu-4903.270.47.tar.gz
[apple/xnu.git] / .lldbinit
1 # Import python macros
2 script import lldbmacros
3
4 # Basic types
5 type summary add --regex --summary-string "${var%s}" "char \[[0-9]*\]"
6 type summary add --summary-string "${var[0]%y}${var[1]%y}${var[2]%y}${var[3]%y}-${var[4]%y}${var[5]%y}-${var[6]%y}${var[7]%y}-${var[8]%y}${var[9]%y}-${var[10]%y}${var[11]%y}${var[12]%y}${var[13]%y}${var[14]%y}${var[15]%y}" uuid_t
7
8 # Kexts
9 type summary add --summary-string "${var->loadTag%u} ${var->address%x} ${var->size%x} ${var->version%u} ${var->name%s}" OSKextLoadedKextSummary
10 type summary add -v --python-function lldbmacros.showallkexts_summary OSKextLoadedKextSummaryHeader
11 command script add -f lldbmacros.showallkexts_command showallkexts
12
13 #KGMacros
14 command script add -f lldbmacros.zprint_command zprint
15 command script add -f lldbmacros.memstats_command memstats
16 command script add -f lldbmacros.showioalloc_command showioalloc
17