Is there a tool/script which can help me iterate over (or just count) all the selectors in a objective-c binary. I want to statically analyze objective c binaries and get that metric. I tried otool -tV but all it dumps is hex-data which I'm unable to parse. Some people suggest using lldb but I'm unsure how to do that.
Counting the number of selectors in an objective-c binary
491 Views Asked by A. K. At
2
There are 2 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in SELECTOR
- save selection in session and show in table
- jQuery select or hide deeply nested div within a div with a class
- When to use @objc in Swift?
- How to add a class via jQuery where the class has no name
- Reuse of Code by changing Selector
- Getting the error "unrecognized selector sent to instance" with core data and swift
- UIButton selector method with parameters or define the selector method on button creation
- What does the $ sign mean in css and how validate it?
- NSTimer firing more than it should
- If this element is the first one that doesn't have a class
- jquery how do i reach element id when element is stored in variable
- Jquery check all select elements selectedIndex is 0
- how can i use css selector to give style only to a first div between two divs of the same kind?
- Select first instance of class inside ancestor with class
- Selector drawable strange behavior: why does it get stuck in the middle of the screen?
Related Questions in LLDB
- How to call a C++ method from within an lldb summary format in XCode?
- How to set a breakpoint on UIView hidden property?
- How to import lldb in a python script
- How can I look up symbols in XCode archives?
- Function can only be called in the main thread, why?
- calling a function using expr during an LLDB session
- Why does LLDB refuse to break on compiled objective C methods?
- lldb won't print all characters in Terminal
- LLDB: process launch failed: Lost debug server connection
- c++ EXC_BAD_ACCESS error, how to debug
- Reading N bytes from a memory address using LLDB's Python API
- how do I use pyplot to display data when a breakpoint is hit in LLDB
- How to step over objc_msgSend function in lldb?
- How do i use the lldb '-s' flag (command source) properly
- LLDB — evaluate and continue
Related Questions in OBJECTIVE-C++
- Does compiler include global variables without static modifier in the global symbol table?
- How do I compile + link C++ code in Xcode in an Objective-C project?
- What does ::Instance() mean?
- How to do async work in C++ with std::function callback from an ObjC class?
- Qt Cannot access *ui pointer from inheriting class
- Do STL containers support ARC when storing Obj-C objects in Objective-C++?
- malloc: Invalid pointer dequeued from free list
- How to covert std::string to NSString?Look at the last picture
- Compiling external C++ library for use with iOS project
- Programmatically handle Cocoa events?
- Objective C++ lvalue required as unary '&' operand
- Use a std::shared_ptr as a global variable in Objective-C
- How to access global Array without using AppDelegate in ios
- Reference obj-c object in c++ code
- Errors in external libraries when I change Compile Source As Objective-C in Xcode
Related Questions in OTOOL
- C std library don't appear to be linked in object file
- Interpreting nm output after rejected app
- Symbolicating Crash Report ios
- Using nm(1) to list symbols from object file built for arm64 on OS X
- Is it possible to edit and recompile an iOS Binary?
- Matching up offsets in iOS crash dump to disassembled binary
- otool -l shows (0x80000022) Unknown load command on OSX 10.5 when framework was built from OSX 10.6
- otool is referencing an old version of libffi
- otool -L issue on jailbroken iPhone
- Building OSX App Bundle
- How can I determine the location of disassembled code within an executable?
- gdb backtrace output and otx (otool) output?
- Getting complete disassembly of an executable binary
- dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicuuc.68.dylib Reason: image not found
- Easily build a Mac OS X .app bundled with MacPorts
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can print all of the selectors like this:
If you want to count them, grep out the two header lines and pipe the rest into wc: