我想在ios调试过程中查看当前所有模块在内存中的信息,比如起始位置/所占空间大小等。
求问xcode是否支持这个功能捏?
我想在ios调试过程中查看当前所有模块在内存中的信息,比如起始位置/所占空间大小等。
求问xcode是否支持这个功能捏?
(lldb) help image list
List current executable and dependent shared library images.
Syntax: target modules list <cmd-options>
Command Options Usage:
target modules list [-ghou] [-a <address-expression>] [-A[<width>]] [-t[<width>]] [-f[<width>]] [-d[<width>]] [-b[<width>]] [-s[<width>]] [-S[<width>]] [-m[<width>]] [-r[<width>]] [-p[<none>]]
-A[<width>] ( --arch=[<width>] )
Display the architecture when listing images.
-S[<width>] ( --symfile-unique=[<width>] )
Display the symbol file with optional width only if it is different from the executable object file.
-a <address-expression> ( --address <address-expression> )
Display the image at this address.
-b[<width>] ( --basename=[<width>] )
Display the basename with optional width for the image object file.
-d[<width>] ( --directory=[<width>] )
Display the directory with optional width for the image object file.
-f[<width>] ( --fullpath=[<width>] )
Display the fullpath to the image object file.
-g ( --global )
Display the modules from the global module list, not just the current target.
-h ( --header )
Display the image header address as a load address if debugging, a file address otherwise.
-m[<width>] ( --mod-time=[<width>] )
Display the modification time with optional width of the module.
-o ( --offset )
Display the image header address offset from the header file address (the slide amount).
-p[<none>] ( --pointer=[<none>] )
Display the module pointer.
-r[<width>] ( --ref-count=[<width>] )
Display the reference count if the module is still in the shared module cache.
-s[<width>] ( --symfile=[<width>] )
Display the fullpath to the image symbol file with optional width.
-t[<width>] ( --triple=[<width>] )
Display the triple when listing images.
-u ( --uuid )
Display the UUID when listing images.
'image' is an abbreviation for 'target modules'