• Dmitry Vyukov's avatar
    nfc: Add KCOV annotations · 7e8cdc97
    Dmitry Vyukov authored
    Add remote KCOV annotations for NFC processing that is done
    in background threads. This enables efficient coverage-guided
    fuzzing of the NFC subsystem.
    
    The intention is to add annotations to background threads that
    process skb's that were allocated in syscall context
    (thus have a KCOV handle associated with the current fuzz test).
    This includes nci_recv_frame() that is called by the virtual nci
    driver in the syscall context.
    Signed-off-by: default avatarDmitry Vyukov <dvyukov@google.com>
    Cc: Bongsu Jeon <bongsu.jeon@samsung.com>
    Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Cc: netdev@vger.kernel.org
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7e8cdc97
core.c 37.5 KB