]>
git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/vtable-patching-metaclass-alias/foo.c
2 // This is the symbol xnu now exports
3 extern int symbol_from_xnu() __asm("__ZN15OSMetaClassBase8DispatchE5IORPC");
5 // And this is the old symbol it needs to implicitly alias to the above symbol
6 extern int symbol_from_xnu_implicit_alias() __asm("__ZN15OSMetaClassBase25_RESERVEDOSMetaClassBase3Ev");
9 return symbol_from_xnu() + symbol_from_xnu_implicit_alias();