frida-objc-bridge
frida-objc-bridge copied to clipboard
Objective-C runtime interop from Frida
I dump the class by dsdump: ``` 0x00000bee8e8 WAJID : NSObject /usr/lib/libobjc.A.dylib { +0x0008 AQ _stringRepresentation (0x8) } @property (readonly) unsigned long statusType @property (readonly, ) unsigned long internalDomain @property...
Frida 14.2.13 - A world-class dynamic instrumentation toolkit ____ / _ | | (_| | > _ | Commands: /_/ |_| help -> Displays the help system . . ....
the only way I can find to get the types of arguments to functions in hooks (or from the function signature in general) is using the argumentTypes property. this property...
Consider the following sample code (from the frida-objc-playground): ```javascript 'use strict'; const ObjC = require('frida-objc'); global.run = function () { const clazz = "NSString"; return ObjC.chooseSync(ObjC.classes[clazz]).map((instance) => { return {...
[class_getName](https://developer.apple.com/documentation/objectivec/1418635-class_getname) returns mangled names if class is Swift. This PR will try to demangle the class using `swift_demangle` if available.
This allows for class_getName to fail and be gracefully handled by objc-bridge. Swift versions prior to 5.10 had an issue causing the process to crash when attempting to resolve names...