Skip to content

A script which allows a developer to identify all of the methods in the specified library L which message a specified selector S

Notifications You must be signed in to change notification settings

nonnumericdave/FindMethodsWhichMessageSelector-ObjectiveC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

FindMethodsWhichMessageSelector-ObjectiveC

Introduce a script which allows a developer to identify all of the methods in the specified library L which message a specified selector S.

Usage

./FindMethodsWhichMessageSelector-i386.pl /Path/To/Library selectorName

Example

./FindMethodsWhichMessageSelector-i386.pl /System/Library/Frameworks/AppKit.framework/AppKit "addFontTrait:"

Selector "addFontTrait:" implementation found at:
  00c7febc  __TEXT:__cstring:addFontTrait:

Selector "addFontTrait:" appears to be called from the following methods:
  -[NSFontManager fontMenu:]:
  -[NSFontManager modifyFontTrait:]:

Notes

Note that this uses heuristics to determine if the S is called from a method M. Furthermore, it only works for i386 libraries for Mac OS X and iOS Simulator at the moment.

About

A script which allows a developer to identify all of the methods in the specified library L which message a specified selector S

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages