Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示 Invalid parameter not satisfying: moduleName.length == length #36

Open
Dx-zuo opened this issue Mar 19, 2021 · 4 comments
Open

Comments

@Dx-zuo
Copy link

Dx-zuo commented Mar 19, 2021

➜  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
@CNKCQ
Copy link

CNKCQ commented Apr 8, 2021

same exception to me

@logic-flutter
Copy link

same exception to me

It is estimated that the class-dump version used by restore-symbol is too old

@CNKCQ
Copy link

CNKCQ commented Apr 11, 2021

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)

@songzhongz
Copy link

you can try Issues #27 clone new class-dump code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants