Compile KASAN kernel
Compile KASAN kernel
- Subject: Compile KASAN kernel
- From: Andrew Zui <email@hidden>
- Date: Wed, 14 Feb 2018 20:33:41 +0000
- Thread-topic: Compile KASAN kernel
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?
Regards,
Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden