pev is a full-featured, open source, multiplatform command line toolkit to work with PE (Portable Executables) binaries.
This is the current source for a likely unreleased version. Use at your own risk. For more information and stable releases, please refer to http://pev.sourceforge.net/
git clone --recursive https://github.com/merces/pev.git
cd pev
make
NOTE: You may need to install OpenSSL and PCRE using your package manager. Examples:
apt-get install libssl-dev libpcre3 libpcre3-dev
yum install openssl-devel pcre-devel
cd pev
CFLAGS="-I/usr/local/opt/openssl/include/" LDFLAGS="-L/usr/local/opt/openssl/lib/" make
NOTE: You may need to install OpenSSL and PCRE via Homebrew:
brew update
brew install openssl
brew link --force openssl
brew install pcre
How to build on Windows (via Cygwin)?
cd pev
make
make zip
NOTE: The following packages must be installed along with your Cygwin:
- gcc-core
- binutils
- make
- zip
- openssl-devel
- libpcre-devel
- git (just to clone the repository and make things easier)
Please check the online documentation for more details.