On Sat, Jan 1, 2022 at 8:02 AM Ovidiu Panait
<ovidiu.pan...@windriver.com> wrote:
>
> Hi Bruce,
>
>
> Any feedback on this patch? Not sure if this slipped through the cracks :)
>

I don't have any record of the original patch.

The feature fragment looks ok to me, but can you resend a v2, so I can
grab the mbox and apply it ?

Bruce

>
> Enabling these debug configs is useful when trying to fuzz the yocto kernel 
> using google syzkaller.
>
>
> Thanks,
>
> Ovidiu
>
> On 12/9/21 12:16 PM, Ovidiu Panait wrote:
>
> KCOV exposes kernel code coverage information in a form suitable for
> coverage-guided fuzzing. This debug feature can be enabled to add support for
> kernel fuzzing (with tools such as syzkaller).
>
> Signed-off-by: Ovidiu Panait <ovidiu.pan...@windriver.com>
> ---
>  cfg/debug/kcov/debug-kcov.cfg | 4 ++++
>  cfg/debug/kcov/debug-kcov.scc | 5 +++++
>  2 files changed, 9 insertions(+)
>  create mode 100644 cfg/debug/kcov/debug-kcov.cfg
>  create mode 100644 cfg/debug/kcov/debug-kcov.scc
>
> diff --git a/cfg/debug/kcov/debug-kcov.cfg b/cfg/debug/kcov/debug-kcov.cfg
> new file mode 100644
> index 00000000..9cdd37ce
> --- /dev/null
> +++ b/cfg/debug/kcov/debug-kcov.cfg
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: MIT
> +CONFIG_KCOV=y
> +CONFIG_KCOV_ENABLE_COMPARISONS=y
> +CONFIG_KCOV_INSTRUMENT_ALL=y
> diff --git a/cfg/debug/kcov/debug-kcov.scc b/cfg/debug/kcov/debug-kcov.scc
> new file mode 100644
> index 00000000..325c6f99
> --- /dev/null
> +++ b/cfg/debug/kcov/debug-kcov.scc
> @@ -0,0 +1,5 @@
> +# SPDX-License-Identifier: MIT
> +define KFEATURE_DESCRIPTION "Enable kernel code coverage support"
> +define KFEATURE_COMPATIBILITY all
> +
> +kconf non-hardware debug-kcov.cfg
>
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10766): 
https://lists.yoctoproject.org/g/linux-yocto/message/10766
Mute This Topic: https://lists.yoctoproject.org/mt/87609326/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to