zhangkn
(kunnan)
2018 年4 月 1 日 09:39
1
知道__NSMallocBlock__的地址,如何查看具体的内容?
cy# [#0x17a0a930 _ivarDescription].toString()
`<__NSMallocBlock__: 0x17a0a930>:
in __NSMallocBlock__:
in __NSMallocBlock:
in NSBlock:
in NSObject:
\tisa (Class): __NSMallocBlock__`
[#0x17a0a930 _methodDescription].toString()
cy# [#0x17a0a930 _methodDescription].toString()
`<__NSMallocBlock__: 0x17a0a930>:
in __NSMallocBlock__:
in __NSMallocBlock:
\tInstance Methods:
\t\t- (id) retain; (0x21b9a331)
\t\t- (unsigned int) retainCount; (0x21ca6285)
\t\t- (BOOL) _tryRetain; (0x21ca6289)
\t\t- (BOOL) _isDeallocating; (0x21ca6295)
\t\t- (oneway void) release; (0x21b8faa1)
in NSBlock:
\tClass Methods:
\t\t+ (id) allocWithZone:(_NSZone*)arg1; (0x21ca61c9)
\t\t+ (id) alloc; (0x21ca61e5)
\tInstance Methods:
\t\t- (id) cy\$toCYON:(bool)arg1 inSet:(set<void *, std::less<void *>, std::allocator<void *> >*)arg2; (0xbe5e590)
\t\t- (void) performAfterDelay:(double)arg1; (0x21ca6209)
\t\t- (id) copy; (0x21b89c79)
\t\t- (void) invoke; (0x21ca6201)
\t\t- (id) copyWithZone:(_NSZone*)arg1; (0x21ba495d)
in NSObject:
\tClass Methods:
\t\t+ (bool) cy\$hasImplicitProperties; (0xbe6018c)
\t\t+ (void) CTAddMethodForJSContext; (0x7e2f3d)
\t\t+ (id) CTObjectWithKeyValues:(id)arg1; (0x7ce9f5)
\t\t+ (id) CTPropertyKey:(id)arg1; (0x7cf7ad)
\t\t+ (id) CTObjectArrayWithValueArray:(id)arg1; (0x7cf585)
\t\t+ (id) CTFoundationClasses; (0x7a184f)
\t\t+ (id) CTModelPropertys; (0x7a1791)
\t\t+ (BOOL) CTIsClassFormFoundation:(Class)arg1; (0x7a1985)
\t\t+ (id) jpush_transferFromJSONValue:(id)arg1; (0x6b7edd)
\t\t+ (id) yy_modelWithDictionary:(id)arg1; (0x5a355d)
\t\t+ (id) yy_modelWithJSON:(id)arg1; (0x5a3511)
\t\t+ (id) _yy_dictionaryWithJSON:(id)arg1; (0x5a33c9)
\t\t+ (id) aspect_hookSelector:(SEL)arg1 withOptions:(unsigned int)arg2 usingBlock:(id)arg3 error:(id*)arg4; (0x4f1edd)
\t\t+ (id) __allocWithZone_OA:(_NSZone*)arg1; (0x21c705fd)
\t\t+ (id) _copyDescription; (0x21c704fd)
\t\t+ (void) dealloc; (0x21c7075d)
\t\t+ (id) init; (0x21c706b1)
\t\t+ (id) description; (0x21bd1595)
\t\t+ (id) methodSignatureForSelector:(SEL)arg1; (0x21beef8d)
\t\t+ (id) instanceMethodSignatureForSelector:(SEL)arg1; (0x21b9dea1)
\t\t+ (void) doesNotRecognizeSelector:(SEL)arg1; (0x21c70269)
\t\t+ (void) load; (0x21ba5a7d)
\t\t+ (void) finalize; (0x21c707f5)
\t\t+ (id) replacementObjectForPortCoder:(id)arg1; (0x22a68865)
\t\t+ (void) cancelPr
通过lldb 断点查看寄存器的值?有什么比较简单的方式?