{"id":15426809,"url":"https://github.com/ranweiler/pete","last_synced_at":"2025-04-07T18:14:52.916Z","repository":{"id":39278358,"uuid":"264563572","full_name":"ranweiler/pete","owner":"ranweiler","description":"A friendly wrapper around ptrace(2)","archived":false,"fork":false,"pushed_at":"2024-11-11T08:15:17.000Z","size":93,"stargazers_count":17,"open_issues_count":11,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T16:15:59.049Z","etag":null,"topics":["debugging","linux","ptrace"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ranweiler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-05-17T01:51:33.000Z","updated_at":"2024-10-18T15:24:14.000Z","dependencies_parsed_at":"2024-12-24T18:11:20.257Z","dependency_job_id":null,"html_url":"https://github.com/ranweiler/pete","commit_stats":{"total_commits":77,"total_committers":5,"mean_commits":15.4,"dds":0.09090909090909094,"last_synced_commit":"e4597baba1989820628802889c50c13213a29b57"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranweiler%2Fpete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranweiler%2Fpete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranweiler%2Fpete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranweiler%2Fpete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranweiler","download_url":"https://codeload.github.com/ranweiler/pete/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247704571,"owners_count":20982298,"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":["debugging","linux","ptrace"],"created_at":"2024-10-01T17:58:06.608Z","updated_at":"2025-04-07T18:14:52.889Z","avatar_url":"https://github.com/ranweiler.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pete\n\nA friendly wrapper around the Linux `ptrace(2)` syscall.\n\n## Requirements\n\nThe current minimum supported OS and compiler versions are:\n\n- Linux 4.8\n- rustc 1.64\n\nContinuous testing is only run for `x86_64-unknown-linux-gnu`.\n\nSupport for earlier Linux versions is possible, but low priority. Eventually, we would\nlike to support any platform that provides `ptrace(2)`.\n\n## Summary\n\nThe `ptrace(2)` interface entails interpreting a series of `wait(2)` statuses. The context used to\ninterpret a status includes the attach options set on each tracee, previously-seen stops, recent\nptrace requests, and in some cases, extra event data that must be queried using additional ptrace\ncalls.\n\nPete is meant to instead permit reasoning directly about ptrace-stops, as described in the manual.\nWe hide the lowest-level contextual bookkeeping required to disambiguate ptrace-stops. Whenever we\ncan, we avoid extraneous ptrace calls, deferring to downstream tracers implemented on top of the\nlibrary. For example, Pete can distinguish a syscall-enter-stop and syscall-exit-stop, but does not\n_automatically_ query register state to identify the specific syscall.\n\n## License\n\nPete is licensed under the [ISC License](./LICENSE).\n\n## Contributing\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in\n`pete` by you, shall be licensed as ISC, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franweiler%2Fpete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franweiler%2Fpete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franweiler%2Fpete/lists"}