Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSS-Fuzz Integration #1787

Open
ennamarie19 opened this issue Dec 17, 2023 · 1 comment
Open

OSS-Fuzz Integration #1787

ennamarie19 opened this issue Dec 17, 2023 · 1 comment
Labels
management Project governance, packaging, distribution, etc testing Issues with our test design and continuous integration services

Comments

@ennamarie19
Copy link

My name is McKenna Dallmeyer and I would like to submit librosa to OSS-Fuzz. If you are not familiar with the project, OSS-Fuzz is Google's platform for continuous fuzzing of Open Source Software. In order to get the most out of this program, it would be greatly beneficial to be able to merge-in my fuzz harness and build scripts into the upstream repository and contribute bug fixes if they come up. Is this something that you would support me putting the effort into?

Thank you!

@bmcfee bmcfee added testing Issues with our test design and continuous integration services management Project governance, packaging, distribution, etc labels Dec 17, 2023
@bmcfee
Copy link
Member

bmcfee commented Dec 17, 2023

Sure, seems like a worthwhile endeavor. Thanks!

We may need to be a bit strategic about prioritizing which functions to test though. The package is entirely Python (no c/cython extensions), but we do use make extensive use of numba, numpy stride tricks, and ufunc/vectorization. I expect these might require a bit of care to cook up proper tests.

The main other place where fuzzing is probably useful is the io wrappers for audioread and soundfile. Those would probably be worth testing independently as well. Sample rate conversion (soxr, libsamplerate) would also be worth digging into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
management Project governance, packaging, distribution, etc testing Issues with our test design and continuous integration services
Development

No branches or pull requests

2 participants