GithubHelp home page GithubHelp logo

hulkiedo17 / relf Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 43 KB

relf - simple elf files reader

License: GNU General Public License v3.0

Shell 2.36% C 91.83% Meson 5.81%
elf elf-reader reader executable

relf's Introduction

What is it?

relf is simple elf (Executable and Linkable Format) files reader.

Features

Right now this program can read and print elf header and program headers of executable files. In the future i will add more options so you can see what the executable file contains (See TODO section).

Dependencies

To build project, you need this:

  • C compiler (gcc, clang)
  • Shell (bash)
  • Meson (meson, ninja)

Build

Clone repo or download it, go to repo dir, and type this command:

$ ./build.sh

To install program, after build type this:

$ ./build.sh -i

Options

Program options (type -h option):

usage: relf [options...]

options:
	-v        - prints program version
	-h        - prints help message
	-a        - equivalent to: -e -p -s
	-e        - prints elf header
	-p        - prints program headers
	-s        - prints section headers
	-f [file] - specifies the input executable file

Build script options (also type -h option):

$ ./build.sh -h
usage: ./build.sh [options...]

options:
	-r - compile release
	-d - compile debug
	-i - install
	-c - clean
	-h - prints this help message

TODO

  • option to print program header
  • option to print section header
  • option to print string and symbol tables
  • option to print notes

relf's People

Contributors

hulkiedo17 avatar

Stargazers

 avatar  avatar  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.