{"id":13420617,"url":"https://github.com/evilsocket/libpe","last_synced_at":"2025-09-17T23:31:49.489Z","repository":{"id":14353113,"uuid":"17062723","full_name":"evilsocket/libpe","owner":"evilsocket","description":"A C/C++ library to parse Windows portable executables written with speed and stability in mind.","archived":false,"fork":false,"pushed_at":"2015-02-17T16:24:44.000Z","size":418,"stargazers_count":66,"open_issues_count":1,"forks_count":18,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-07-31T22:56:04.332Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evilsocket.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":"2014-02-21T16:46:04.000Z","updated_at":"2023-12-25T12:18:42.000Z","dependencies_parsed_at":"2022-08-07T08:00:08.281Z","dependency_job_id":null,"html_url":"https://github.com/evilsocket/libpe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Flibpe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Flibpe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Flibpe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilsocket%2Flibpe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evilsocket","download_url":"https://codeload.github.com/evilsocket/libpe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233430271,"owners_count":18675061,"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-07-30T22:01:37.514Z","updated_at":"2025-09-17T23:31:44.047Z","avatar_url":"https://github.com/evilsocket.png","language":"C","readme":"# libpe\n\nA C/C++ library to parse Windows portable executables ( both PE32 and PE32+ ) written with **speed** and **stability** in mind.\n\nCopyleft of Simone Margaritelli \u003cevilsocket@gmail.com\u003e\n[http://www.evilsocket.net/](http://www.evilsocket.net/)\n\n## Features\n\n* Fully compatible with both x86 and AMD64 binaries.\n* Parse only what you are really interested into to reduce useless data parsing overhead.\n* Export directory parsing, lookup symbols by name or ordinal.\n* Import directory parsing with different configurations ( resolve ordinals, name demangling, etc ), fast modules and symbols lookup by name.\n* Fast strings extraction ( both ascii and unicode ).\n* Every RVA is returned as a structure with an absolute virtual address field ( base + RVA ), the corresponding raw offset into the file and a pointer to the data.\n* Clean and doxygen documented API.\n* Minimum speed and memory overhead.\n\n## Samples\n\n* **peview** a sample PE dumper tool that will print informations extracted from any portable executable.\n* **pefunctions** a proof of concept using libpe and distorm, analyzes and isolates functions from any portable executable.\n\n## TODO\n\n* Cross platform compatibilty.\n* Cross platform cmake files.\n* Parsing of other directories such as resources, debug info, etc.\n* Basic disassembly features.\n\n## License\n\nRelease under the GPL 3 license.\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/evilsocket/libpe/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilsocket%2Flibpe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilsocket%2Flibpe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilsocket%2Flibpe/lists"}