Skip to content

[FEATURE] Add sof to oss-fuzz #3388

Closed
google/oss-fuzz
#4465

Description

@cujomalainey

Is your feature request related to a problem? Please describe.
Have fuzzing be an automated task so no one needs to do anything other than fix the bugs

Describe the solution you'd like
get project approved then integrate related infra

Describe alternatives you've considered
manual fuzzing is tedious

Additional context
Fuzzing found a fairly large number of bugs in a short period of time and has prove to be worth the time to integrate.

Activity

  1. cujomalainey commented on Sep 3, 2020

    @cujomalainey
    ContributorAuthor

    @ranj063 can you give me a google account email that I can use to add you.
    @xiulipan if we get approved we will need to start having jenkins uploading builds to a bucket and will probably need your help

  2. changed the title [-][FEATURE] Add fuzzer to oss-fuzz[/-] [+][FEATURE] Add sof to oss-fuzz[/+] on Sep 3, 2020
  3. xiulipan commented on Sep 4, 2020

    @xiulipan
    Contributor

    @cujomalainey Do you mean we will have a google cloud server or bucket to store build binary?

  4. cujomalainey commented on Sep 4, 2020

    @cujomalainey
    ContributorAuthor

    That is the idea from what I'm reading in the docs. CI would build what they need then they would run the fuzzers for us.

  5. cujomalainey commented on Sep 15, 2020

    @cujomalainey
    ContributorAuthor

    @ranj063 friendly ping so I can send the PR

  6. ranj063 commented on Sep 17, 2020

    @ranj063
    Collaborator
  7. cujomalainey commented on Sep 21, 2020

    @cujomalainey
    ContributorAuthor

    @xiulipan I was reading old documentation, CI is not needed

  8. cujomalainey commented on Sep 22, 2020

    @cujomalainey
    ContributorAuthor

    Project has been accepted into OSS-fuzz. I am working on a trimmed docker file (removing all the xtensa stuff) and a build script for fuzzing

  9. cujomalainey commented on Sep 23, 2020

    @cujomalainey
    ContributorAuthor

    So got it to a buildable stage, but this is going to be a challenge. oss-fuzz builds with clang and all our infra is built around gcc. Will need to make some changes.

  10. cujomalainey commented on Sep 23, 2020

    @cujomalainey
    ContributorAuthor

    So, buried deep within the closed issues of oss-fuzz is what I feared. It does not support the default method of fuzzing we are doing. It only supports persistent fuzzing using shims. To continue using the current fuzzing method we will have to do our own ad hoc system. As for oss-fuzz I am working to write a shim that it can work with.

  11. cujomalainey commented on Oct 28, 2020

    @cujomalainey
    ContributorAuthor

    oss-fuzz is going well, patches posted for all fuzzer bugs, few infra bugs to post and seed corpus is still missing. Once those are complete we can begin automated fuzzing.

    #3562
    #3561
    #3559
    #3558

  12. cujomalainey commented on Dec 28, 2020

    @cujomalainey
    ContributorAuthor

    this is done, but fuzzer scope is limited. Need cmake changes to expand it. mainly #3617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions