{"id":26120739,"url":"https://github.com/ligurio/tarantool-corpus","last_synced_at":"2025-08-01T00:32:29.286Z","repository":{"id":273987694,"uuid":"529512895","full_name":"ligurio/tarantool-corpus","owner":"ligurio","description":"Fuzzing seed corpus for Tarantool","archived":false,"fork":false,"pushed_at":"2025-02-01T09:09:00.000Z","size":22485,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T13:46:00.910Z","etag":null,"topics":["fuzzing","libfuzzer","lua","luajit","tarantool"],"latest_commit_sha":null,"homepage":"https://www.tarantool.io","language":"Lua","has_issues":false,"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/ligurio.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-27T07:19:25.000Z","updated_at":"2025-02-01T09:09:04.000Z","dependencies_parsed_at":"2025-01-31T11:19:11.817Z","dependency_job_id":null,"html_url":"https://github.com/ligurio/tarantool-corpus","commit_stats":null,"previous_names":["ligurio/tarantool-corpus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ligurio/tarantool-corpus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Ftarantool-corpus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Ftarantool-corpus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Ftarantool-corpus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Ftarantool-corpus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ligurio","download_url":"https://codeload.github.com/ligurio/tarantool-corpus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligurio%2Ftarantool-corpus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268146981,"owners_count":24203278,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fuzzing","libfuzzer","lua","luajit","tarantool"],"created_at":"2025-03-10T13:44:00.817Z","updated_at":"2025-08-01T00:32:27.199Z","avatar_url":"https://github.com/ligurio.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"### How-to build\n\n```sh\n$ git clone https://github.com/tarantool/tarantool\n$ cd tarantool\n$ git clone https://github.com/ligurio/tarantool-corpus test/static\n$ CC=clang CXX=clang++ cmake -S . -B build -G Ninja -DENABLE_FUZZER=ON -DENABLE_UB_SANITIZER=ON\n$ cmake --build build/ --parallel --target fuzzers\n```\n\n### How-to run\n\n```\n$ ctest --test-dir build -L fuzzing\n```\n\n### How-to merge corpuses\n\n```sh\n$ ./build/test/fuzz/lua_fuzzer/lua_fuzzer -set_cover_merge=1 corpus new_corpus\n$ ./build/test/fuzz/lua_fuzzer/lua_fuzzer -merge=1 corpus new_corpus\n```\n\n### Code coverage\n\nCompile and link with `-fprofile-instr-generate -fcoverage-mapping` options. When\nusing `-fsanitize=address`, no `.profraw` will be written on crash or abort, so\nonce the fuzzing test is finished, a second run is needed by passing only files\nin corpus, run: `./fuzzer -runs=0 ./corpora_minimized`:\n\n```\n$ CFLAGS=\"-fprofile-instr-generate -fcoverage-mapping\" CC=clang CXX=clang++ cmake -S . -B build -G Ninja -DENABLE_FUZZER=ON\n$ cmake --build build --parallel\n$ ./build/test/fuzz/http_parser_fuzzer -runs=0\n```\n\nThen to generate an html view:\n\n```sh\n$ llvm-profdata merge -sparse default.profraw -o default.profdata\n$ llvm-cov show --format=html ./build/src/tarantool -instr-profile=default.profdata \u003e coverage.html\n```\n\nShow code coverage for a single function with a name `http_parser`:\n\n```sh\n$ llvm-cov show ./build/src/tarantool -instr-profile=default.profdata -name=http_parser\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligurio%2Ftarantool-corpus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fligurio%2Ftarantool-corpus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligurio%2Ftarantool-corpus/lists"}