Bug 205968

Summary: Create post-build script which warns when Objective-C __objc_methtype's type is longer than usual case
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: Web Template FrameworkAssignee: Yusuke Suzuki <ysuzuki>
Status: NEW    
Severity: Normal CC: joepeck, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=205905
Attachments:
Description Flags
Script like this none

Yusuke Suzuki
Reported 2020-01-08 16:03:42 PST
We should start with something apparently wrong, like, 1KB.
Attachments
Script like this (1.76 KB, text/x-python-script)
2020-01-08 16:21 PST, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2020-01-08 16:21:33 PST
Created attachment 387157 [details] Script like this Super ad-hoc script.
Joseph Pecoraro
Comment 2 2020-01-14 10:32:47 PST
Seems there is a tuple in the binary (name, type, imp). So if a long type encoding string is found you could print the next line (of otool -oV) and get the full name of the ObjC method that it is associated with.
Note You need to log in before you can comment on or make changes to this bug.