]>
git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/kext-vtable-patching-overrides/foo.cpp
4 OSDefineMetaClassAndStructors( Foo
, OSObject
)
6 // Index 0 has been replaced with a method
7 OSMetaClassDefineReservedUsed(Foo
, 0)
8 OSMetaClassDefineReservedUnused( Foo
, 1 )
9 OSMetaClassDefineReservedUnused( Foo
, 2 )
10 OSMetaClassDefineReservedUnused( Foo
, 3 )
16 int Foo::fooOverride() {
24 OSDefineMetaClassAndStructors( FooSub
, Foo
)
30 int FooSub::fooOverride() {
36 return foo
->foo() + foo
->fooUsed0();