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

Demo or sample project for Python? #128

Open
heitorlessa opened this issue Jul 5, 2023 · 2 comments
Open

Demo or sample project for Python? #128

heitorlessa opened this issue Jul 5, 2023 · 2 comments

Comments

@heitorlessa
Copy link

Hey, firstly, thank you for this. I've just discovered it through OSSF Scorecard -- are there any demo in Python or known project adopting this project I could learn more from?

The only bit I'm confused is defining the target - docs were mostly focused on C, and the Python build integration didn't cover the target bit.

What I've tried so far (no target yet): aws-powertools/powertools-lambda-python#2684.

I also noticed you seem to have integration with hypothesis, any working sample would be much appreciated!

Thank you!

@jonathanmetzman
Copy link
Collaborator

jonathanmetzman commented Jul 10, 2023

Hi,
I'm not so familiar with the Python fuzzing, but there are a bunch of OSS-Fuzz examples you can take a look at for inspiration:
https://github.com/search?q=repo%3Agoogle%2Foss-fuzz+python+language%3Ayaml&type=code
This is one that uses hypothesis.

Actually, OSS-Fuzz itself uses ClusterFuzzLite for python fuzzing and can be learned from: https://github.com/google/oss-fuzz/tree/master/.clusterfuzzlite though it is a bit weird and may not be the best example.

Please let me know if you have more questions or how I can help.

@heitorlessa
Copy link
Author

This is great (should've tried using GH Search 🤦🏻 ) -- the main area I got confused is how to define a target, since the docs didn't cover that piece.

I'll take look at these examples and would happily make a PR to improve the docs once I get it working.

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants