# hasherezade/libpeconv

A library to load, manipulate, dump PE files. See also: https://github.com/hasherezade/libpeconv_tpl

Repository: https://github.com/hasherezade/libpeconv
Canonical: https://ross.abutalabs.com/products/libpeconv
Homepage: https://hasherezade.github.io/libpeconv
Language: C++
License: BSD-2-Clause
License Family: permissive
Topics: pe-file, pe-format, libpeconv, pe-loader, manual-mapping
Last push: 2026-04-18T00:29:48+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 35, longevity 100
- inputs: {"age_days": 3214, "days_push": 138, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1385, forks 208 (observed 2026-08-28T04:04:34.836563+00:00)

## What it is
libPeConv is a C++ library for loading, manipulating, and dumping Windows PE (Portable Executable) files. It provides a 'swiss army knife' of helper functions for building custom PE loaders, including section remapping, relocations, import loading, IAT hooking, and memory PE dumping.

## Use cases
- manually map and execute a PE file in my own loader
- dump a PE from memory and rebuild its import table
- hook the import address table of a loaded PE
- build a PE binder that embeds and runs an executable from a resource
- parse and modify PE file sections and relocations
- write a custom PE loader for malware analysis

## When to choose
- you need fine-grained control over PE loading steps like relocations, imports, or IAT resolution
- you are doing malware analysis or reverse engineering on Windows binaries
- you want to dump and rebuild PEs from process memory
- you need to load PEs from memory buffers rather than disk

## When to avoid
- you need inline function hooking - use MS Detours or MinHook instead
- your application relies on MUI resources, which are unsupported
- you need a cross-platform PE parser that runs on non-Windows systems

## Facets
- artifact type: library
- maturity: active
- function: parser, security, reverse-engineering, developer-tools
- domain: security, reverse-engineering, windows, developer-tools
- platform: windows, cpp
- tags: pe-files, pe-loader, manual-mapping, iat-hooking, malware-analysis, pe-dumping

## Member repositories
- hasherezade/libpeconv (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.836563+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:57.144457+00:00, confidence not recorded.
  - readme: https://github.com/hasherezade/libpeconv (fetched 2026-08-28T04:04:34.836563+00:00, sha 552573e6076e)
  - homepage: https://hasherezade.github.io/libpeconv (fetched 2026-08-29T11:55:30.919299+00:00, sha 5dcd25adfff0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
