Coder Social home page Coder Social logo

libelfmaster_examples's Introduction

libelfmaster_examples

Simple ELF tools written to demonstrate libelfmaster capabilities. The libelfmaster code base will be released in the very near future as a continuous work in progress. It is still in very early development phase, but could prove useful to people so I will be releasing it.

Features

  1. libelfmaster aims to be secure, robust, and performant
  2. seamlessly parse 32bit/64bit executables with high-level of encapsulation
  3. designed to forensically reconstruct malformed executables (i.e. works with bad section headers)
  4. Innovative API calls to perform complex tasks such as transitive shared object dependency resolution
  5. Various modes or flags to direct how libelfmaster should behave i.e. forensics, strict, or smart.
  6. Moving towards a unique debugging API based on a custom userland exec and userland ptrace
  7. Extremely easy to use.

Examples

Note: All programs are using the ELF_LOAD_F_FORENSICS flag so that all of these programs will work on ELF executables with corrupted section headers, missing section headers, etc.

checksec.c

A version of checksec to check binary security that works on stripped or malformed executables.

plt_dump.c/plt_dump2.c

two programs to get the PLT entries of an executable

ldd.c

A version of ldd written in just a few lines of code

elfparse.c

a simplified readelf like utility demonstrating many features

pltgot.c

A program to print each .got.plt entry of an executable

symbols.c

displays symbols from .symtab and .dynsym sections Even on prog

sections.c

displays section header data, even on programs with no section headers

eh_frame.c

Displays the function addresses and size of each function referred to by .eh_frame

libelfmaster_examples's People

Contributors

elfmaster avatar

Watchers

James Cloos avatar 江湖隐行客 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.