{"id":15508523,"url":"https://github.com/jesperpedersen/libfaults","last_synced_at":"2025-03-28T18:46:31.713Z","repository":{"id":140121708,"uuid":"232620276","full_name":"jesperpedersen/libfaults","owner":"jesperpedersen","description":"Fault injection for system calls","archived":false,"fork":false,"pushed_at":"2020-04-06T11:43:38.000Z","size":42,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T19:46:14.995Z","etag":null,"topics":["c","fault","fault-injection","injection","shared-library","system-call"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jesperpedersen.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-08T17:31:18.000Z","updated_at":"2022-01-17T15:24:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"d437d882-e0bb-4e60-a98a-1cc5ce29081e","html_url":"https://github.com/jesperpedersen/libfaults","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/jesperpedersen%2Flibfaults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperpedersen%2Flibfaults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperpedersen%2Flibfaults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperpedersen%2Flibfaults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jesperpedersen","download_url":"https://codeload.github.com/jesperpedersen/libfaults/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246083273,"owners_count":20720935,"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":["c","fault","fault-injection","injection","shared-library","system-call"],"created_at":"2024-10-02T09:39:02.393Z","updated_at":"2025-03-28T18:46:31.688Z","avatar_url":"https://github.com/jesperpedersen.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libfaults\n\n`libfaults` is library that can generate a fault injection for system calls.\n\nSee [Getting Started](./doc/GETTING_STARTED.md) on how to get started with `libfaults`.\n\nSee [Configuration](./doc/CONFIGURATION.md) on how to configure `libfaults`.\n\nAlternative, take a look at [libfiu](https://blitiri.com.ar/p/libfiu/).\n\n## Tested platforms\n\n* [Fedora](https://getfedora.org/) 28+\n* [RHEL](https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux) 7.x/8.x\n\n## Compiling the source\n\n`libfaults` requires\n\n* [gcc](https://gcc.gnu.org)\n* [cmake](https://cmake.org)\n* [make](https://www.gnu.org/software/make/)\n\n```sh\ndnf install gcc cmake make\n```\n\nAlternative [clang](https://clang.llvm.org/) can be used.\n\n### Release build\n\nThe following commands will install `libfaults` in the `/usr/local` hierarchy\nand run the default configuration.\n\n```sh\ngit clone https://github.com/jesperpedersen/libfaults.git\ncd libfaults\nmkdir build\ncd build\ncmake -DCMAKE_INSTALL_PREFIX=/usr/local ..\nmake\nsudo make install\nLD_PRELOAD=/usr/local/lib/libfaults.so \u003cyour_application\u003e\n```\n\n### Debug build\n\nThe following commands will create a `DEBUG` version of `libfaults`.\n\n```sh\ngit clone https://github.com/jesperpedersen/libfaults.git\ncd libfaults\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Debug ..\nmake\ncd src\nLD_PRELOAD=libfaults.so \u003cyour_application\u003e\n```\n\nRemember to set the `log_level` configuration option to `debug5`.\n\n## Contributing\n\nContributions to `libfaults` are managed on [GitHub.com](https://github.com/jesperpedersen/libfaults/)\n\n* [Ask a question](https://github.com/jesperpedersen/libfaults/issues)\n* [Raise an issue](https://github.com/jesperpedersen/libfaults/issues)\n* [Feature request](https://github.com/jesperpedersen/libfaults/issues)\n* [Code submission](https://github.com/jesperpedersen/libfaults/pulls)\n\nContributions are most welcome !\n\n## License\n\n[BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesperpedersen%2Flibfaults","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesperpedersen%2Flibfaults","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesperpedersen%2Flibfaults/lists"}