]> git.saurik.com Git - apple/dyld.git/blobdiff - testing/kernel-cache-tests/vtable-patching-metaclass-alias/main.c
dyld-832.7.1.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / vtable-patching-metaclass-alias / main.c
diff --git a/testing/kernel-cache-tests/vtable-patching-metaclass-alias/main.c b/testing/kernel-cache-tests/vtable-patching-metaclass-alias/main.c
new file mode 100644 (file)
index 0000000..e1e3eb5
--- /dev/null
@@ -0,0 +1,10 @@
+
+// This will be re-exported from a symbol set in bar with an alias
+int symbol_from_xnu() __asm("__ZN15OSMetaClassBase8DispatchE5IORPC");
+int symbol_from_xnu() {
+       return 0;
+}
+
+int _start() {
+       return 0;
+}
\ No newline at end of file