1 # Functions and variables explicitly exported from ObjC.
3 # Note that some commonly used functions are *not* listed in the
4 # ObjC headers (e.g. objc_flush_caches())
8 _object_setInstanceVariable
9 _object_getInstanceVariable
11 _class_createInstanceFromZone
14 _class_getInstanceVariable
15 _class_getInstanceMethod
20 _method_getNumberOfArguments
21 _method_getSizeOfArguments
22 _method_getArgumentInfo
26 _objc_exception_try_enter
27 _objc_exception_try_exit
28 _objc_exception_extract
30 _objc_exception_get_functions
31 _objc_exception_set_functions
46 # non-nil entry points disabled for now
49 # _objc_msgSendNonNil_stret
51 _objc_msgSendSuper_stret
59 _objc_setMultithreaded
74 _object_getIndexedIvars
76 .objc_class_name_Object
81 _object_reallocFromZone
83 .objc_class_name_Protocol
85 # everything inside is declared but no longer defined?!
87 _NXCreateHashTableFromZone
110 _NXPtrStructKeyPrototype
111 _NXStrStructKeyPrototype
113 _NXUniqueStringWithLength
114 _NXUniqueStringNoCopy
116 _NXCopyStringBufferFromZone
118 _NXCreateMapTableFromZone
130 _NXPtrValueMapPrototype
131 _NXStrValueMapPrototype
132 _NXObjectMapPrototype
134 # Functions that aren't in the headers but are used or are useful.
136 # sudo find / -xdev -type f -perm -0111 \! -name "libobjc*dylib" -print -exec nm -u {} \; > /tmp/all-used-symbols
137 # (repeat with any other disks you want checked, appending to the same file)
138 # nm /usr/lib/libobjc.dylib | awk '$2 ~ /^[ADST]$/' | colrm 1 11 | sort -u > /tmp/objc-exports
139 # (note that you need an unstripped, un-nmedited libobjc.dylib)
140 # grep -f /tmp/objc-exports /tmp/all-used-symbols | sort -u > /tmp/used-objc-symbols
141 # grep -v -f /tmp/used-objc-symbols /tmp/objc-exports | sort -u > /tmp/unused-objc-symbols
143 __class_printDuplicateCacheEntries
144 __class_printMethodCaches
145 __class_printMethodCacheStatistics
150 __objc_resolve_categories_for_class
151 __objc_setClassLoader
152 __objc_setNilReceiver
153 __objc_getNilReceiver
156 _class_respondsToMethod
157 _instrumentObjcMessageSends
161 _do_not_remove_this_dummy_function
162 # used by debugging tools like heap
163 __objc_debug_class_hash
164 # used by Foundation's NSAutoreleaseFreedObjectCheckEnabled
165 __objc_getFreedObjectClass