{"id":13721298,"url":"https://github.com/pwaller/goupx","last_synced_at":"2025-04-07T12:09:22.318Z","repository":{"id":4586808,"uuid":"5728942","full_name":"pwaller/goupx","owner":"pwaller","description":"Fix golang compiled binaries on x86_64 so that they can be packed with UPX","archived":false,"fork":false,"pushed_at":"2017-01-20T16:35:14.000Z","size":14,"stargazers_count":332,"open_issues_count":0,"forks_count":20,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-02-15T05:34:33.730Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwaller.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}},"created_at":"2012-09-08T14:17:20.000Z","updated_at":"2024-01-25T17:52:54.000Z","dependencies_parsed_at":"2022-09-11T06:20:46.175Z","dependency_job_id":null,"html_url":"https://github.com/pwaller/goupx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwaller%2Fgoupx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwaller%2Fgoupx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwaller%2Fgoupx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwaller%2Fgoupx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwaller","download_url":"https://codeload.github.com/pwaller/goupx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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":"2024-08-03T01:01:15.145Z","updated_at":"2025-04-07T12:09:22.297Z","avatar_url":"https://github.com/pwaller.png","language":"Go","funding_links":[],"categories":["Packers / Obfuscators"],"sub_categories":[],"readme":"goupx - Fix golang Linux ELF executables to work with upx\n---------------------------------------------------\n\n## Update: 2016/03/10\n\nAs far as I (pwaller) know, goupx is no longer necessary for Linux binaries since it was fixed in\ngo1.6.\n\n## About\n\nInstallation: `go get github.com/pwaller/goupx`\n\n(or if you don't want to do it with root, `GOPATH=${HOME}/.local go get github.com/pwaller/goupx` will install it to `${HOME}/.local/bin/goupx`).\n\nUsage: `goupx [filename]`\n\nFixes the `PT_LOAD` offset of [filename] and then runs `upx`.\n\nThis is only necessary for Linux ELF executables (not Mach-O executables or windows binaries, for example).\n\nBased on [code found on the upx bugtracker](http://sourceforge.net/tracker/?func=detail\u0026atid=102331\u0026aid=3408066\u0026group_id=2331).\n\nMIT licensed.\n\nFixes the following issue\n=========================\n\n    $ upx [linux ELF go binary]\n                           Ultimate Packer for eXecutables\n                              Copyright (C) 1996 - 2011\n    UPX 3.08        Markus Oberhumer, Laszlo Molnar \u0026 John Reiser   Dec 12th 2011\n\n            File size         Ratio      Format      Name\n       --------------------   ------   -----------   -----------\n    upx: goupx: EOFException: premature end of file                                \n\n    Packed 1 file: 0 ok, 1 error.\n\nTypical compression ratio\n=========================\n\nResulting filesizes are typically 25% of the original go executable. Your mileage my vary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwaller%2Fgoupx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwaller%2Fgoupx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwaller%2Fgoupx/lists"}