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

Description Yusuke Suzuki 2020-01-08 16:03:42 PST
We should start with something apparently wrong, like, 1KB.
Comment 1 Yusuke Suzuki 2020-01-08 16:21:33 PST
Created attachment 387157 [details]
Script like this

Super ad-hoc script.
Comment 2 Joseph Pecoraro 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.