Skip to content

Close to zero coverage in oss-fuzz #2940

@phi-go

Description

@phi-go

Hey, I'm currently looking into projects that have low coverage in oss-fuzz. (You can find an overview of this project here: https://introspector.oss-fuzz.com/project-profile?project=tpm2-tss.)

This project seems to have close to zero covered lines. Running some fuzz targets manually it seems that there is just a configuration/environment error:

ERROR:test:test/integration/test-common.c:320:test_sys_setup() TCTI module not specified. Use environment variable: TPM20TEST_TCTI

example coverage report

I tried a little bit to fix this by setting: TPM20TEST_TCTI=libtpms but it seems I'm failing to install libpms correctly, which is probably just my missing familiarity with this project.

I'm happy to help but before spending more time I wanted to ask: Is this issue already known and should it be fixed? If yes, how would you want to approach the fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions