{"id":21984024,"url":"https://github.com/libfirm/firmsmith","last_synced_at":"2026-04-29T22:03:30.047Z","repository":{"id":66789478,"uuid":"85823124","full_name":"libfirm/firmsmith","owner":"libfirm","description":"Testing with randomly generated FIRM graphs","archived":false,"fork":false,"pushed_at":"2017-04-11T10:20:26.000Z","size":211,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T01:43:23.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/libfirm.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":"2017-03-22T12:09:04.000Z","updated_at":"2021-12-23T17:15:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d6fc0a1-1175-4de2-8533-eed295251b7b","html_url":"https://github.com/libfirm/firmsmith","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/libfirm/firmsmith","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libfirm%2Ffirmsmith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libfirm%2Ffirmsmith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libfirm%2Ffirmsmith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libfirm%2Ffirmsmith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libfirm","download_url":"https://codeload.github.com/libfirm/firmsmith/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libfirm%2Ffirmsmith/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-29T18:07:06.958Z","updated_at":"2026-04-29T22:03:30.032Z","avatar_url":"https://github.com/libfirm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FirmSmith\n\nRandomly generates FIRM graphs and applies libFirm optimizations\nto check if they break.\n\nInspired by [CSmith](https://embed.cs.utah.edu/csmith/)\nand implemented by Jeff Wagner in his\n[bachelor thesis](http://pp.ipd.kit.edu/thesis.php?id=276).\n\n## Requirements\n\nRequires a C compiler and Make for building.\nUses LLDB via Python for investigating crashes.\n\nFor Ubuntu 16.04 the following works:\n\n    sudo apt install build-essential liblldb-3.8 python-lldb-3.8\n\nUnfortunately, the symlinks of the `python-lldb-3.8` are broken.\nSee [bug report](https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.8/+bug/1674926).\nFixing it with more symlinks:\n\n    sudo ln -s ../../x86_64-linux-gnu/liblldb-3.8.so.1 /usr/lib/llvm-3.8/lib/liblldb.so\n    sudo ln -s ../../x86_64-linux-gnu /usr/lib/llvm-3.8/lib/x86_64-linux-gnu\n\n## Building\n\n    make\n\nThis builds the `firmsmith` binary.\n\n## Executing\n\nYou can simply run it:\n\n    ./run-fuzzer.py\n\nUsually, you want to test a single optimization like `-fthread-jumps`.\nIn this case, run it like this:\n\n    ./run-fuzzer.py --cparser-options=\"-fthread-jumps\"\n\nThe fuzzer creates a lot of temporary files.\nFor cleanup run:\n\n    bash clean\n\n## Licence MIT\n\nCopyright (c) 2017 Jeff Wagner\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibfirm%2Ffirmsmith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibfirm%2Ffirmsmith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibfirm%2Ffirmsmith/lists"}