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