Cross-platform C library to read data from PE/PE+ files (the format of Windows .exe and .dll files).
The pedeps C library provides functions to retrieve data from Windows .exe and .dll files.
These files are in either PE (Windows 32-bit) or PE+ (Windows 64-bit) format, which are extensions of the COFF format.
Currently the library allows iterating through:
The library was written with the following goals in mind:
The following libraries are provided:
-lpedeps
- requires #include <pedeps.h>
(and optionally #include <pestructs.h>
)Some command line utilities are included:
listpedeps
- show information and list imported and exported symbolscopypedeps
- copy file(s) to a folder along with all dependency filesThe library has no depencancies.
The utilities have the following dependency:
make
make install
make install PREFIX=/usr/local
lib /def:pedeps.def /out:pedeps.lib /machine:X86
lib /def:pedeps.def /out:pedeps.lib /machine:X64
pedeps is released under the terms of the MIT License (MIT), see LICENSE.txt.
This means you are free to use pedeps in any of your projects, from open source to commercial.