{"id":17219413,"url":"https://github.com/andreafioraldi/afl-qemu-cov","last_synced_at":"2025-06-23T18:04:01.793Z","repository":{"id":86884894,"uuid":"190423029","full_name":"andreafioraldi/afl-qemu-cov","owner":"andreafioraldi","description":"Measure Basic Blocks coverage of all testcases in the AFL queue using a patched QEMU","archived":false,"fork":false,"pushed_at":"2024-01-15T11:22:02.000Z","size":51,"stargazers_count":22,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T13:11:14.977Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreafioraldi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-06-05T15:43:09.000Z","updated_at":"2024-05-20T04:30:13.000Z","dependencies_parsed_at":"2023-03-23T07:42:53.571Z","dependency_job_id":null,"html_url":"https://github.com/andreafioraldi/afl-qemu-cov","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/andreafioraldi%2Fafl-qemu-cov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreafioraldi%2Fafl-qemu-cov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreafioraldi%2Fafl-qemu-cov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreafioraldi%2Fafl-qemu-cov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreafioraldi","download_url":"https://codeload.github.com/andreafioraldi/afl-qemu-cov/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248790805,"owners_count":21162092,"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":[],"created_at":"2024-10-15T03:49:48.412Z","updated_at":"2025-04-13T22:32:52.463Z","avatar_url":"https://github.com/andreafioraldi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# afl-qemu-cov\n\nThis is an utility to measure the basic blocks coverage of all testcases in the\nAFL/AFL++ queue using a patched QEMU.\n\nWritten and maintained by Andrea Fioraldi \u003candreafioraldi@gmail.com\u003e\n\n## Usage\n\nTo count the number of basic blocks covered by all the testcases in the queue\nrun bb_cov.py:\n\n`./afl-qemu-cov -i /path/to/AFL/queue -o output1.csv -- ./binary \u003cargs\u003e`\n\nThis output.csv file contains tuples in the format\n(testcase id, basic block address). Of course the testcase id not no unique as\na testcase may discover more than one basic block.\n\n`./afl-qemu-total-cov -l output1.csv`\n\nThis script outputs the Basic Blocks coverage from the output of the previous\nscript.\n\n`./afl-qemu-ts-cov -i /path/to/AFL/queue -l output1.csv -o output2.csv`\n\nThis script will create output2.csv that contains the tuples\n(unix timestamp, testcase id, number of new basic blocks discovered).\n\nThis script uses the time fields in the name of the testcase and so cannot be\nused with AFL but only with AFL++.\n\n## Option\n\nUse AFL_QEMU_INST_RANGES / AFL_QEMU_EXCLUDE_RANGES as in AFL++\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreafioraldi%2Fafl-qemu-cov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreafioraldi%2Fafl-qemu-cov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreafioraldi%2Fafl-qemu-cov/lists"}