restore-symbol
restore-symbol copied to clipboard
提示 Invalid parameter not satisfying: moduleName.length == length
➜ restore-symbol git:(master) ./restore-symbol /Applications/WeChat.app/Contents/MacOS/WeChat -o /Applications/WeChat.app/Contents/MacOS/WeChat_
=========== Start =============
Scan OC method in mach-o-file.
2021-03-19 22:07:48.900 restore-symbol[18374:183787] *** Assertion failure in -[CDObjectiveC2Processor loadClassAtAddress:], CDObjectiveC2Processor.m:258
2021-03-19 22:07:48.901 restore-symbol[18374:183787] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: moduleName.length == length'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff204f06af __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff202283c9 objc_exception_throw + 48
2 CoreFoundation 0x00007fff20519512 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff212d56c9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 restore-symbol 0x00000001098cc33f -[CDObjectiveC2Processor loadClassAtAddress:] + 2709
5 restore-symbol 0x00000001098ca09a -[CDObjectiveC2Processor loadClasses] + 224
6 restore-symbol 0x00000001098c753f -[CDObjectiveCProcessor process] + 381
7 restore-symbol 0x00000001098b5f69 -[CDClassDump processObjectiveCData] + 300
8 restore-symbol 0x00000001098abaa7 restore_symbol + 823
9 restore-symbol 0x00000001098b352a main + 514
10 libdyld.dylib 0x00007fff20399621 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
[1] 18374 abort ./restore-symbol /Applications/WeChat.app/Contents/MacOS/WeChat -o
same exception to me
same exception to me
It is estimated that the class-dump version used by restore-symbol is too old
same exception to me
It is estimated that the class-dump version used by restore-symbol is too old
git clone from this repo (branch: master)
you can try Issues #27 clone new class-dump code