Skip to content
/ pev Public
forked from mentebinaria/readpe

The PE file analysis toolkit

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
LICENSE.OpenSSL
Notifications You must be signed in to change notification settings

fgarcia0x0/pev

This branch is 15 commits ahead of, 428 commits behind mentebinaria/readpe:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d29f5f3 · Mar 1, 2021
Jan 20, 2021
Mar 17, 2020
Mar 1, 2021
Feb 23, 2021
Mar 1, 2021
Jan 7, 2017
Feb 23, 2021
Oct 31, 2013
Aug 22, 2015
Sep 9, 2016
Mar 16, 2020
Mar 16, 2020
Jun 15, 2014
Mar 17, 2020

Repository files navigation

pev

Open source, full-featured, multiplatform command line toolkit to work with PE (Portable Executables) binaries.

Build Status

How to get the source code

git clone --recursive https://github.com/merces/pev.git

How to build on Linux

cd pev
make

NOTE: You may need to install OpenSSL using your package manager. Examples:

apt install libssl-dev
yum install openssl-devel

How to build on macOS

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

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
  • git (just to clone the repository and make things easier)

FAQ

I get a fatal error: 'openssl/evp.h' file not found. How can I fix that?

Please install OpenSSL for your system. Use a package manager to make things easier. If you're compiling pev in macOS, make sure you've set both CFLAGS and LDFLAGS environment variables according.

I get the one of the following errors when trying to compile with make command:

$ make
make[1]: *** No rule to make target 'all'.  Stop.
make[1]: Leaving directory '/home/user/pev/lib/libpe'
make: *** [Makefile:9: all] Error 2

$ make
cd lib/libpe && /Library/Developer/CommandLineTools/usr/bin/make all
make[1]: *** No rule to make target `all'.  Stop.
make: *** [all] Error 2

It seems libpe is missing. Have you forgot the --recursive switch of git clone command? Anyway, download libpe source code, put it in the right directoy and try again:

cd pev/lib
rmdir libpe
git clone https://github.com/merces/libpe.git
cd ..
make

Please check the online documentation for more details.

About

The PE file analysis toolkit

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
LICENSE.OpenSSL

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 93.7%
  • Makefile 4.6%
  • Shell 1.7%