]>
Commit | Line | Data |
---|---|---|
1f20c7a7 A |
1 | # Functions and variables explicitly exported from ObjC. |
2 | # GrP 2002-2-4 | |
3 | # Note that some commonly used functions are *not* listed in the | |
4 | # ObjC headers (e.g. objc_flush_caches()) | |
5 | # List.h | |
6 | .objc_class_name_List | |
7 | # objc-class.h | |
8 | _object_setInstanceVariable | |
9 | _object_getInstanceVariable | |
10 | _class_createInstance | |
11 | _class_createInstanceFromZone | |
12 | _class_setVersion | |
13 | _class_getVersion | |
14 | _class_getInstanceVariable | |
15 | _class_getInstanceMethod | |
16 | _class_getClassMethod | |
17 | _class_addMethods | |
18 | _class_removeMethods | |
19 | _class_poseAs | |
20 | _method_getNumberOfArguments | |
21 | _method_getSizeOfArguments | |
22 | _method_getArgumentInfo | |
23 | _class_nextMethodList | |
2bfd4448 A |
24 | # objc-auto.h - actually, everything possible for now |
25 | _objc_collect | |
26 | _objc_collect_generation | |
27 | _objc_numberAllocated | |
28 | _objc_isAuto | |
29 | _objc_collecting_enabled | |
30 | _objc_allocate_object | |
31 | _objc_assign_strongCast | |
32 | _objc_assign_global | |
33 | _objc_assign_ivar | |
34 | _objc_assign_strongCast_generic | |
35 | _objc_assign_global_generic | |
36 | _objc_assign_ivar_generic | |
37 | _objc_assign_strongCast_CF | |
38 | _objc_assign_ivar_address_CF | |
39 | _objc_collect_init | |
40 | _objc_is_finalized | |
41 | _objc_memmove_collectable | |
42 | _objc_collect_if_needed | |
390d5862 A |
43 | # objc-exception.h |
44 | _objc_exception_throw | |
45 | _objc_exception_try_enter | |
46 | _objc_exception_try_exit | |
47 | _objc_exception_extract | |
48 | _objc_exception_match | |
49 | _objc_exception_get_functions | |
50 | _objc_exception_set_functions | |
51 | # objc-sync.h | |
52 | _objc_sync_enter | |
53 | _objc_sync_exit | |
54 | _objc_sync_wait | |
55 | _objc_sync_notify | |
56 | _objc_sync_notifyAll | |
1f20c7a7 A |
57 | # objc-load.h |
58 | _objc_loadModules | |
59 | _objc_loadModule | |
60 | _objc_unloadModules | |
61 | # objc-runtime.h | |
1f20c7a7 A |
62 | _objc_getClass |
63 | _objc_getMetaClass | |
64 | _objc_msgSend | |
390d5862 A |
65 | # non-nil entry points disabled for now |
66 | # _objc_msgSendNonNil | |
809271e4 | 67 | _objc_msgSend_fpret |
1f20c7a7 | 68 | _objc_msgSend_stret |
390d5862 | 69 | # _objc_msgSendNonNil_stret |
1f20c7a7 A |
70 | _objc_msgSendSuper |
71 | _objc_msgSendSuper_stret | |
72 | _objc_msgSendv | |
809271e4 | 73 | _objc_msgSendv_fpret |
1f20c7a7 A |
74 | _objc_msgSendv_stret |
75 | _objc_getClassList | |
76 | _objc_getClasses | |
77 | _objc_lookUpClass | |
2bfd4448 | 78 | _objc_getRequiredClass |
1f20c7a7 A |
79 | _objc_addClass |
80 | _objc_setClassHandler | |
81 | _objc_setMultithreaded | |
82 | __alloc | |
83 | __copy | |
84 | __realloc | |
85 | __dealloc | |
86 | __zoneAlloc | |
87 | __zoneRealloc | |
88 | __zoneCopy | |
89 | __error | |
90 | # objc.h | |
91 | _sel_isMapped | |
92 | _sel_getName | |
93 | _sel_getUid | |
94 | _sel_registerName | |
95 | _object_getClassName | |
96 | _object_getIndexedIvars | |
97 | # Object.h | |
98 | .objc_class_name_Object | |
99 | _object_dispose | |
100 | _object_copy | |
101 | _object_copyFromZone | |
102 | _object_realloc | |
103 | _object_reallocFromZone | |
104 | # Protocol.h | |
105 | .objc_class_name_Protocol | |
106 | # error.h | |
107 | # everything inside is declared but no longer defined?! | |
108 | # hashtable2.h | |
109 | _NXCreateHashTableFromZone | |
110 | _NXCreateHashTable | |
111 | _NXFreeHashTable | |
112 | _NXEmptyHashTable | |
113 | _NXResetHashTable | |
114 | _NXCompareHashTables | |
115 | _NXCopyHashTable | |
116 | _NXCountHashTable | |
117 | _NXHashMember | |
118 | _NXHashGet | |
119 | _NXHashInsert | |
120 | _NXHashInsertIfAbsent | |
121 | _NXHashRemove | |
122 | _NXInitHashState | |
123 | _NXNextHashState | |
124 | _NXPtrHash | |
125 | _NXStrHash | |
126 | _NXPtrIsEqual | |
127 | _NXStrIsEqual | |
128 | _NXNoEffectFree | |
129 | _NXReallyFree | |
130 | _NXPtrPrototype | |
131 | _NXStrPrototype | |
132 | _NXPtrStructKeyPrototype | |
133 | _NXStrStructKeyPrototype | |
134 | _NXUniqueString | |
135 | _NXUniqueStringWithLength | |
136 | _NXUniqueStringNoCopy | |
137 | _NXCopyStringBuffer | |
138 | _NXCopyStringBufferFromZone | |
139 | # maptable.h | |
140 | _NXCreateMapTableFromZone | |
141 | _NXCreateMapTable | |
142 | _NXFreeMapTable | |
143 | _NXResetMapTable | |
144 | _NXCompareMapTables | |
145 | _NXCountMapTable | |
146 | _NXMapMember | |
147 | _NXMapGet | |
148 | _NXMapInsert | |
149 | _NXMapRemove | |
150 | _NXInitMapState | |
151 | _NXNextMapState | |
152 | _NXPtrValueMapPrototype | |
153 | _NXStrValueMapPrototype | |
154 | _NXObjectMapPrototype | |
155 | # | |
156 | # Functions that aren't in the headers but are used or are useful. | |
157 | # | |
158 | # sudo find / -xdev -type f -perm -0111 \! -name "libobjc*dylib" -print -exec nm -u {} \; > /tmp/all-used-symbols | |
159 | # (repeat with any other disks you want checked, appending to the same file) | |
160 | # nm /usr/lib/libobjc.dylib | awk '$2 ~ /^[ADST]$/' | colrm 1 11 | sort -u > /tmp/objc-exports | |
161 | # (note that you need an unstripped, un-nmedited libobjc.dylib) | |
162 | # grep -f /tmp/objc-exports /tmp/all-used-symbols | sort -u > /tmp/used-objc-symbols | |
163 | # grep -v -f /tmp/used-objc-symbols /tmp/objc-exports | sort -u > /tmp/unused-objc-symbols | |
164 | # | |
165 | __class_printDuplicateCacheEntries | |
166 | __class_printMethodCaches | |
167 | __class_printMethodCacheStatistics | |
168 | __objc_create_zone | |
169 | __objc_error | |
170 | __objc_flush_caches | |
171 | __objc_msgForward | |
390d5862 A |
172 | __objc_resolve_categories_for_class |
173 | __objc_setClassLoader | |
174 | __objc_setNilReceiver | |
175 | __objc_getNilReceiver | |
1f20c7a7 A |
176 | __objcInit |
177 | _class_lookupMethod | |
178 | _class_respondsToMethod | |
179 | _instrumentObjcMessageSends | |
180 | _objc_getOrigClass | |
181 | # magic, or garbage? | |
182 | __dummy | |
183 | _do_not_remove_this_dummy_function | |
184 | # used by debugging tools like heap | |
185 | __objc_debug_class_hash | |
390d5862 | 186 | # used by Foundation's NSAutoreleaseFreedObjectCheckEnabled |
2bfd4448 | 187 | __objc_getFreedObjectClass |