site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com
On Feb 14, 2018, at 12:33, Andrew Zui <andrew.zui@outlook.com> wrote:
Hi,
I'm trying to pin down a memory corruption in my kext, and I found out that the latest kernel supports KASAN. However, when trying to compile it I get the following error:
make[7]: *** No rule to make target `xnu-4570.41.2/san/kasan-blacklist-dynamic', needed by `xnu-4570.41.2/BUILD/obj/KASAN_X86_64/san/KASAN/kasan_blacklist_dynamic.h'. Stop.
I see that 'kasan_blacklist_dynamic.h' is generated via 'san/tools/generate_dynamic_blacklist.py', but for it to work the script has to be pointed to 'kasan-blacklist-dynamic' file, which is missing.
Is there any workaround available? Or is this functionality only for internal use?
This should do the trick: $ echo '__kernel__:_ZN6OSKext8copyInfoEP7OSArray:memld' > san/kasan-blacklist-dynamic _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Aaron Carroll