Giter Site home page Giter Site logo

fgarcia0x0 / pev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mentebinaria/readpe

0.0 0.0 0.0 1.87 MB

The PE file analysis toolkit

Home Page: https://pev.sourceforge.io

License: GNU General Public License v2.0

Makefile 4.61% C 93.64% Shell 1.73% Batchfile 0.02%

pev's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.