Coder Social home page Coder Social logo

libpebliss's Introduction

libpebliss

Evolved from portable-executable-library

Original Author: rukaimi (kaimi.ru)

Thanks to his really great work!

PE Bliss

Cross-Platform PE(Portable Executable) Manipulating Library

  • C++

  • Compatibility

    • Little-endian systems only, might not support big-endian ones.
    • Windows, tested on Visual Studio 2013 Express
    • Linux, tested on GCC 4.8.4
    • OSX, tested on LLVM 7.0.0
  • Useful usage samples and well unit-tested.

Features

  • Read 32- and 64-bit PE files (PE, PE+) for Windows, work similar with both formats
  • Create PE/PE+ binaries from scratch
  • Rebuild 32- and 64-bit PE files
  • Work with directories and headers
  • Convert addresses
  • Read and write PE sections
  • Read and write imports
  • Read and write exports (forwarders supported)
  • Read and write relocations
  • Read and write resources
  • Read and write TLS (including callbacks and raw data)
  • Read and write image config (including SE Handlers and Lock Prefix addresses)
  • Read basic .NET information
  • Read and write bound imports
  • Read exception directory (PE+ only)
  • Read debug directory and extended debug information
  • Calculate entropy
  • Change file alignment
  • Change base address
  • Work with DOS Stub and Rich overlay
  • High-level resource reading: bitmaps, icons, cursors, version info, string and message tables
  • High-level resource editing: bitmaps, icons, cursors, version info

Library doesn't use WinAPI and doesn't execute PE files, so it's safe to use it with suspicious binaries.

TODO

  • Unit-test

    • test on big-endian
  • use CMake instead ???

libpebliss's People

Contributors

asinbow avatar se2dev avatar tacixat avatar zhuangxiu avatar

Stargazers

 avatar

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.