Skip to content

Repository files navigation

LibPE

Module VersionHex DocsTotal DownloadLicenseLast Updated

Library and mix tasks to read and update Windows PE file resources. Based on https://docs.microsoft.com/en-us/windows/win32/debug/pe-format

Only tested/needed with .exe files so far.

Example Usage

To check an existing PE file (.exe)

 mix pe.checksum <filename.exe>

To update the checksum:

 mix pe.update <filename.exe>

To list all resources in a file:

 mix pe.dump <filename.exe>

To set an icon resource (and update the checksum):

 mix pe.update --set-icon <icon.png><filename.exe>

Installation

To add LibPE to your build steps and make the tasks availabe add libpe to your list of dependencies in mix.exs:

defdepsdo[{:libpe,"~> 1.0.0",only: :dev,runtime: false}]end

About

Library and tasks to read and update Windows PE file resources

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages