Loading...
testing/kernel-cache-tests/kernel-vtable-patching/bar.cpp dyld-955 dyld-1066.10
--- dyld/dyld-955/testing/kernel-cache-tests/kernel-vtable-patching/bar.cpp
+++ dyld/dyld-1066.10/testing/kernel-cache-tests/kernel-vtable-patching/bar.cpp
@@ -1,3 +1,18 @@
+
+
+#include "../kmod.h"
+
+__attribute__((visibility(("hidden"))))
+int startKext() {
+	return 0;
+}
+
+__attribute__((visibility(("hidden"))))
+int endKext() {
+	return 0;
+}
+
+KMOD_EXPLICIT_DECL(com.apple.bar, "1.0.0", (void*)startKext, (void*)endKext)
 
 #include "foo.h"