{"id":24527610,"url":"https://github.com/offlinehacker/buildid","last_synced_at":"2025-03-15T16:33:22.864Z","repository":{"id":247012083,"uuid":"824601757","full_name":"offlinehacker/buildid","owner":"offlinehacker","description":"Go package to extract build ID from ELF binaries","archived":false,"fork":false,"pushed_at":"2024-07-05T15:08:06.000Z","size":4042,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T04:46:18.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/offlinehacker.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-07-05T13:38:21.000Z","updated_at":"2024-07-07T19:19:48.000Z","dependencies_parsed_at":"2024-07-06T05:12:53.988Z","dependency_job_id":"37ac7112-2f75-475b-b2d6-e908251fa8ab","html_url":"https://github.com/offlinehacker/buildid","commit_stats":null,"previous_names":["offlinehacker/buildid"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offlinehacker%2Fbuildid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offlinehacker%2Fbuildid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offlinehacker%2Fbuildid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offlinehacker%2Fbuildid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offlinehacker","download_url":"https://codeload.github.com/offlinehacker/buildid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243760345,"owners_count":20343626,"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":[],"created_at":"2025-01-22T06:19:42.547Z","updated_at":"2025-03-15T16:33:22.842Z","avatar_url":"https://github.com/offlinehacker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ELF Build ID Extractor\n\nThis project provides a Go package for extracting the build ID from ELF binaries on Linux systems.\n\n## Description\n\nThe `buildid` package allows you to retrieve the build ID from an ELF binary file. It supports extracting the build ID using the following methods:\n\n1. Reading the `.note.go.buildid` section for Go binaries.\n2. Reading the `.note.gnu.build-id` section for binaries with GNU build ID.\n3. Hashing the `.text` section if no build ID is found.\n\n## Usage\n\n```go\nimport \"github.com/offlinehacker/buildid\"\n\nbuildID, err := buildid.FromPath(\"path/to/binary\")\nif err != nil {\n    // Handle the error\n}\n\nfmt.Println(\"Build ID:\", buildID)\n```\n\n## Platform Support\n\nPlease note that this package is intended for use on Linux systems only, as it relies on the ELF binary format.\n\n## License\n\nThis project is licensed under the Apache License, Version 2.0. See the LICENSE file for more information.\n\n## Contributing\n\nContributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the project's GitHub repository.\n\n## Acknowledgments\n \nThis project is based on code from [parca-agent](https://github.com/parca-dev/parca-agent/tree/main/pkg/buildid)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofflinehacker%2Fbuildid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofflinehacker%2Fbuildid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofflinehacker%2Fbuildid/lists"}