question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

https://alexgaynor.net/2015/apr/13/introduction-to-fuzzing-in-python-with-afl/

Fuzzing is a technique in computer testing and security where you generate a bunch of random inputs, and see how some program handles it. For example, if you had a JPEG parser, you might create a bunch of valid images and broken images, and make sure it either parses them or errors out cleanly. In C (and other memory unsafe languages) fuzzing can often be used to discover segfaults, invalid reads, and other potential security issues. Fuzzing is also useful in Python, where it can discover uncaught exceptions, and other API contract violations.

Goal: No interaction with cwltool should run forever, produce a segfault, or quit with just a plain Python exception traceback.

Another resource is https://www.fuzzingbook.org/

https://github.com/DRMacIver/structureshrink/commits/master might be useful for reducing CWL test cases

Adding property based testing may also be useful https://hypothesis.readthedocs.io/en/latest/

https://pypi.org/project/pythonfuzz/

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mr-ccommented, Mar 8, 2020

Hello @Shubhupatel, thanks for your interest. As I suggested to @kunal12298 , please work through the CWL user guide and the other linked resources. I’ve also updated the first post above as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add cwltool · google/oss-fuzz@f3e2283 · GitHub
OSS-Fuzz - continuous fuzzing for open source software. - Add cwltool · google/oss-fuzz@f3e2283.
Read more >
common-workflow-language/common-workflow-language
Hello, I am Kritika Gupta and am looking forward to contribute to the project Fuzzing CWL tool for GSOC 2020, kindly guide me...
Read more >
[Fuzzing with honggfuzz] How to Fuzz with ... - YouTube
This videos will show:1. how to install pwntools on kali linux2. how to use checksec utility to test if an executable is compiled...
Read more >
Debian -- Software Packages in "bullseye"
... afl++ (2.68c-1+b1): instrumentation-driven fuzzer for binary formats ... cwltool (3.0.20210124104916-3): Common Workflow Language reference ...
Read more >
Software Packages in "bionic" - Ubuntu
... afl (2.52b-2) [universe]: instrumentation-driven fuzzer for binary formats ... package provided by cwltool · cwltool (1.0.20180302231433-1) [universe] ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found