Giter Site home page Giter Site logo

erik-the-read / ruby-elf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flameeyes/ruby-elf

0.0 1.0 0.0 5 MB

Ruby-Elf is a pure-Ruby library for parse and fetch information about ELF format used by Linux, FreeBSD, Solaris and other Unix-like operating systems, and include a set of analysis tools helpful for both optimisations and verification of compiled ELF files.

Home Page: http://www.flameeyes.eu/projects/ruby-elf

License: GNU General Public License v2.0

ruby-elf's Introduction

Ruby-Elf

Flattr this!

Ruby-Elf is a pure-Ruby library for parse and fetch information about ELF format used by Linux, FreeBSD, Solaris and other Unix-like operating systems, and include a set of analysis tools helpful for both optimisations and verification of compiled ELF files.

The library allows access to all the details of the ELF files (class, type, architecture OS), and also implements Ruby-style access to the most important sections in ELF files, such as symbol and string tables, as well as dynamic information. Furthermore it implements support for accessing extensions specifics for instance to the GNU loader such as symbol version information.

Tools

To complement the library raw access, the project also ships with a number of tools, designed to analyse compiled code, in either relocated object or final (executable or shared object) form. These include both optimisation and verification tools:

  • cowstats: allows identification and assessment of CoW data objects inside ELF relocatable files. Should be used to reduce the memory impact of a shared library used by many processes on the system.

  • rbelf-size: implements an alternative approach for the size command available on standard Unix systems (as provided by binutils or elfutils packages in most Linux distributions), that focus more on relocation caused by PIC than the actual shared memory sizes.

  • rbelf-nm: implements a quasi-compatible nm(1) command, more resilient than GNU nm and more informative than the elfutils variant.

  • verify-lfs: checks executables and shared objects, or alternatively relocatable object files, for LFS compliancy, reporting those that don't make use of the largefile-compatible interfaces or that mix old and new ones.

  • elfgrep: looks for defined or required symbols in dynamic executables and shared objects, with a command syntax similar to the standard grep tool.

License

Due to derivation, library and tools are released under the GNU GPL-2 license, or later. See the COPYING file for the complete text.

Resources

You can find the source code for the package at GitHub โ€” previously at Gitorious.

ruby-elf's People

Contributors

drizzt avatar flameeyes avatar kou 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.