Loading...
#include "../kmod.h" __attribute__((visibility(("hidden")))) int startKext() { return 0; } __attribute__((visibility(("hidden")))) int endKext() { return 0; } KMOD_EXPLICIT_DECL(com.apple.foo, "1.0.0", (void*)startKext, (void*)endKext) __attribute__((used, section("__TEXT,__fips_hmacs"))) const unsigned char fipsGlobal[32] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, }; int foo() { return 0; } |