I’m looking for a way to find the offset ( relative ) of open of /usr/lib/libc.dylib.
Not sure which one is correct.
open some.txt
dyld: warning, unknown environment variable: DYLD_PRINT_BINDING
dyld: bind: open:0x101D26000 = Foundation:_NSCocoaErrorDomain, *0x101D26000 = 0x7FFF740C24B0
dyld: bind: open:0x101D26008 = Foundation:_NSFilePathErrorKey, *0x101D26008 = 0x7FFF740C2440
dyld: bind: open:0x101D26010 = Foundation:_NSPOSIXErrorDomain, *0x101D26010 = 0x7FFF740C2498
dyld: bind: open:0x101D26018 = Foundation:_NSURLErrorKey, *0x101D26018 = 0x7FFF740C2438
dyld: bind: open:0x101D26020 = Foundation:_NSUnderlyingErrorKey, *0x101D26020 = 0x7FFF740C2400
dyld: bind: open:0x101D26670 = Foundation:_OBJC_CLASS_$_NSAutoreleasePool, *0x101D26670 = 0x7FFF7408DE30
dyld: bind: open:0x101D266B8 = Foundation:_OBJC_CLASS_$_NSCharacterSet, *0x101D266B8 = 0x7FFF7408E178
dyld: bind: open:0x101D266D0 = Foundation:_OBJC_CLASS_$_NSError, *0x101D266D0 = 0x7FFF7408F208
dyld: bind: open:0x101D26688 = Foundation:_OBJC_CLASS_$_NSFileManager, *0x101D26688 = 0x7FFF7408F668
dyld: bind: open:0x101D266D8 = Foundation:_OBJC_CLASS_$_NSMutableString, *0x101D266D8 = 0x7FFF74091A58
dyld: bind: open:0x101D266A8 = Foundation:_OBJC_CLASS_$_NSNumber, *0x101D266A8 = 0x7FFF74095360
dyld: bind: open:0x101D266C0 = Foundation:_OBJC_CLASS_$_NSScanner, *0x101D266C0 = 0x7FFF74092D18
dyld: bind: open:0x101D26678 = Foundation:_OBJC_CLASS_$_NSString, *0x101D26678 = 0x7FFF74093F38
dyld: bind: open:0x101D266F0 = libobjc.A.dylib:_OBJC_CLASS_$_NSObject, *0x101D266F0 = 0x7FFF73F8B810
dyld: bind: open:0x101D26710 = libobjc.A.dylib:_OBJC_METACLASS_$_NSObject, *0x101D26710 = 0x7FFF73F8B838
dyld: bind: open:0x101D26718 = libobjc.A.dylib:_OBJC_METACLASS_$_NSObject, *0x101D26718 = 0x7FFF73F8B838
dyld: bind: open:0x101D266F8 = libobjc.A.dylib:__objc_empty_cache, *0x101D266F8 = 0x7FFF88F17A10
dyld: bind: open:0x101D26720 = libobjc.A.dylib:__objc_empty_cache, *0x101D26720 = 0x7FFF88F17A10
dyld: bind: open:0x101D26700 = libobjc.A.dylib:__objc_empty_vtable, *0x101D26700 = 0x00000000
dyld: bind: open:0x101D26728 = libobjc.A.dylib:__objc_empty_vtable, *0x101D26728 = 0x00000000