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 Framework | Assignee: | 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
Yusuke Suzuki
2020-01-08 16:03:42 PST
Created attachment 387157 [details]
Script like this
Super ad-hoc script.
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. |