{"id":18928482,"url":"https://github.com/nathan-osman/win32pe","last_synced_at":"2026-03-15T20:30:18.570Z","repository":{"id":143058435,"uuid":"112038154","full_name":"nathan-osman/win32pe","owner":"nathan-osman","description":"C++ library for working with Win32 PE files","archived":false,"fork":false,"pushed_at":"2019-07-18T05:59:14.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T19:16:15.940Z","etag":null,"topics":["cpp","pe-file","win32"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/nathan-osman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-11-25T22:16:49.000Z","updated_at":"2019-07-18T05:59:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"636abd8d-4b10-45ce-843c-bc45c60d2e44","html_url":"https://github.com/nathan-osman/win32pe","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/nathan-osman%2Fwin32pe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-osman%2Fwin32pe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-osman%2Fwin32pe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathan-osman%2Fwin32pe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathan-osman","download_url":"https://codeload.github.com/nathan-osman/win32pe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239923694,"owners_count":19719177,"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":["cpp","pe-file","win32"],"created_at":"2024-11-08T11:26:01.895Z","updated_at":"2026-03-15T20:30:18.507Z","avatar_url":"https://github.com/nathan-osman.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## win32pe\n\n[![Build Status](https://travis-ci.org/nathan-osman/win32pe.svg?branch=master)](https://travis-ci.org/nathan-osman/win32pe)\n[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://opensource.org/licenses/MIT)\n\nThis library simplifies the task of working with PE files.\n\n### Example\n\nThis snippet demonstrates how to retrieve the machine type of an executable on disk.\n\n    #include \u003cwin32pe/file.h\u003e\n    #include \u003cwin32pe/fileheader.h\u003e\n\n    win32pe::File file;\n    if (!file.load(\"test.exe\")) {\n        // error handling\n    }\n    switch (file.fileHeader().machine()) {\n    case win32pe::FileHeader::arch_i386:\n        std::cout \u003c\u003c \"i386 file\\n\";\n        break;\n    case win32pe::FileHeader::arch_amd64:\n        std::cout \u003c\u003c \"amd64 file\\n\";\n        break;\n    default:\n        std::cout \u003c\u003c \"unknown file\\n\";\n        break;\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathan-osman%2Fwin32pe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathan-osman%2Fwin32pe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathan-osman%2Fwin32pe/lists"}