{"id":17325393,"url":"https://github.com/alexreinking/fuzz-and-minimize","last_synced_at":"2025-03-27T04:26:46.104Z","repository":{"id":67236306,"uuid":"156302628","full_name":"alexreinking/fuzz-and-minimize","owner":"alexreinking","description":"Fuzz and minimize bad test cases for encoder/decoder style programs.","archived":false,"fork":false,"pushed_at":"2018-11-06T00:46:14.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T09:42:21.153Z","etag":null,"topics":["fuzz","test-automation","testing-tools"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexreinking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-06T00:31:50.000Z","updated_at":"2019-04-28T22:02:33.000Z","dependencies_parsed_at":"2023-06-02T07:00:19.798Z","dependency_job_id":null,"html_url":"https://github.com/alexreinking/fuzz-and-minimize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexreinking%2Ffuzz-and-minimize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexreinking%2Ffuzz-and-minimize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexreinking%2Ffuzz-and-minimize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexreinking%2Ffuzz-and-minimize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexreinking","download_url":"https://codeload.github.com/alexreinking/fuzz-and-minimize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245781631,"owners_count":20671092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fuzz","test-automation","testing-tools"],"created_at":"2024-10-15T14:13:15.403Z","updated_at":"2025-03-27T04:26:46.087Z","avatar_url":"https://github.com/alexreinking.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Find bad inputs and minimize test cases\n\nHere's some (updated) code I used back in undergrad to find bugs\nin an assignment we had to write an encoder / decoder for a popular\ncompression format.\n\nRequires Python 3.\n\nTests that an input that can be passed through both encoder and\ndecoder phases without corruption (ie. it's an identity function).\nGenerates random inputs from a command-line supplied alphabet.\n\nUse like so:\n\n    ./random_input.py ./example/bad_encoder.sh ./example/bad_decoder.sh 'ABC' \u003e bad_input\n    ./bisect_input.py ./example/bad_encoder.sh ./example/bad_decoder.sh bad_input \u003e bad_input_min\n\nThis is all wrapped up into a bash script:\n\n    ./find_and_minimize.sh ./example/bad_encoder.sh ./example/bad_decoder.sh 'ABC'\n    cat bad_input ; echo\n    cat bad_input_min ; echo\n\nYMMV\n\nLicensed under GPL v3.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexreinking%2Ffuzz-and-minimize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexreinking%2Ffuzz-and-minimize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexreinking%2Ffuzz-and-minimize/lists"}