{"id":20115504,"url":"https://github.com/asphaltt/trace-verifier-log","last_synced_at":"2026-06-12T07:33:40.732Z","repository":{"id":255037455,"uuid":"848347777","full_name":"Asphaltt/trace-verifier-log","owner":"Asphaltt","description":"Trace bpf verifier log with bpf. Apache 2.0 License","archived":false,"fork":false,"pushed_at":"2024-08-28T12:29:30.000Z","size":766,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T19:19:41.512Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Asphaltt.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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-27T15:42:31.000Z","updated_at":"2024-09-16T01:40:30.000Z","dependencies_parsed_at":"2024-11-13T18:48:31.798Z","dependency_job_id":null,"html_url":"https://github.com/Asphaltt/trace-verifier-log","commit_stats":null,"previous_names":["asphaltt/trace-verifier-log"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Asphaltt/trace-verifier-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Ftrace-verifier-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Ftrace-verifier-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Ftrace-verifier-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Ftrace-verifier-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asphaltt","download_url":"https://codeload.github.com/Asphaltt/trace-verifier-log/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Ftrace-verifier-log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34234557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":[],"created_at":"2024-11-13T18:35:29.606Z","updated_at":"2026-06-12T07:33:40.710Z","avatar_url":"https://github.com/Asphaltt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n Copyright 2024 Leon Hwang.\n SPDX-License-Identifier: Apache-2.0\n--\u003e\n\n# trace-verifier-log\n\n`trace-verifier-log` is a tool to trace bpf verifier log based on [bpf_trace_vprintk()](https://github.com/torvalds/linux/commit/10aceb629e198429c849d5e995c3bb1ba7a9aaa3) helper, which requires Linux kernel **5.16** or later.\n\n## Usage\n\n```bash\n$ sudo ./trace-verifier-log\n2024/08/28 12:18:25 Attached kprobe(bpf_log)\n2024/08/28 12:18:25 Attached kprobe(bpf_verifier_log_write)\n```\n\n## Use case\n\nIt's really useful to show the verifier log when fail to attach freplace program.\n\n```bash\n$ sudo ./freplace --freplace-failed\n2024/08/28 12:13:13 Failed to freplace(stub_handler_static): create link: invalid argument\n\n$ sudo ./trace-verifier-log\n2024/08/28 12:12:54 Attached kprobe(bpf_log)\n2024/08/28 12:12:54 Attached kprobe(bpf_verifier_log_write)\nstub_handler_static() is not a global function\n```\n\nIt's really annoying no error message when fail to attach freplace program, but now you can see the error message with `trace-verifier-log`.\n\n## License\n\n`trace-verifier-log` is licensed under the Apache License, Version 2.0. See [LICENSE](./LICENSE) for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasphaltt%2Ftrace-verifier-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasphaltt%2Ftrace-verifier-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasphaltt%2Ftrace-verifier-log/lists"}