GithubHelp home page GithubHelp logo

tubbz-alt / elfix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gentoo/elfix

0.0 1.0 0.0 1002 KB

[MIRROR] Utilities to fix Elf binaries

Home Page: https://gitweb.gentoo.org/proj/elfix.git

License: GNU General Public License v3.0

Shell 15.60% Makefile 3.12% C 41.47% Python 33.90% M4 2.97% Roff 2.94%

elfix's Introduction

Utilities to modify Elf binaries to work with PaX hardened kernel. There are several utilities in here, to help you navigate:

Directories src/ scripts/ doc/ test/ are integral parts of the elfix package. These are distributed as one source tarball with make dist run in the top diretory.

  • paxctl-ng - C utility for doing XT_PAX and/or PT_PAX markings.
  • pypaxctl - python utility for doing XT_PAX and/or PT_PAX markings. Depends on pax.so.
  • migrate-pax - python utility for migrating from XT_PAX flags to PT_PAX. Depends on pax.so.
  • revdep-pax - python utility for mapping ELF libraries to/from the ELF objects that link against them and migrating PAX flags between them. Depends on pax.so.
  • paxmark.sh - Bash script that does intelligent pax-marking like the pax-utils.eclass.
  • paxmodule.c - C code for python module pax.so

Directories under misc/ are independant packages from one another and from the elfix package. They are NOT distributed with elfix when running make dist in the top directory. Each directory supplies its own build system.

  • install-xattr - C wrapper to coreutils' install which preserves file system extended attributes.
  • fix-gnustack - query or clear any ELF GNU_STACK executable flag

Directory pocs/ - Very experimental stuff.

  • change-interp - C utility to the dynamic linker, INTERP as reported by readelf -l.
  • eclass - a local copy of the pax-utils.eclass
  • elf-manipulate - some dirty utilities to
    • clear-dt-path.c - remove RPATH and RUNPATH
    • parse-elf.c - print out the ELF header, sections headers and program headers.
    • print-sections.c - print out the contents of the section headers
    • remove-ptpax.c - change a PT_PAX_FLAGS phdr to PT_NULL
  • ldd - python script to reproduce ldd's output using pyelftools
  • link-maps - use VDB information to produce a full linkage map of the system
  • mangle-paxflags - printout old EI_PAX flags and PT_PAX flags
  • paxmark-libs - test how PAX flags migrate from libraries and plugins to their consumers
  • revdep-pax-ng - same as revdep-pax but using information obtained from ldd and not VDB information.

Build Status

Repoman Status

elfix's People

Contributors

blueness avatar chewi avatar draconx avatar fsvm88 avatar gmt avatar mkdesu avatar perfinion avatar prometheanfire avatar zmedico avatar

Watchers

 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.