• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux ELFIO Download

ELFIO

November 9, 2005
ELFIO reads and produces ELF (Executable and Linkable Format) files.
Version 1.0.3
License LGPL
Platform Linux
Supported Languages English
Homepage sourceforge.net
Developed by Serge Lamikhov-Center
ELFIO - A Powerful C++ Library for Working with ELF Binary Format

ELFIO is a versatile C++ library for reading and generating files in the ELF binary format. This unique library is not based on any other product and is compatible with a wide range of platforms. ELFIO uses standard ANSI C++ constructions, making it accessible to developers with various levels of experience.

To use ELFIO, you must have a basic understanding of the ELF binary format. The TIS documentation included with the source code provides comprehensive information on this topic. ELFIO library consists of two independent parts, namely ELF File Reader (IELFI) and ELF Producer (IELFO), each represented by its own set of interfaces. The library interfaces provide access to a range of functionalities, and there are no classes that need explicit instantiation.

To start working with the ELFIO library, include the header file. This file defines all standard definitions from the TIS documentation. Once you have included this header file, you can access all ELFIO interface classes.

In this review, we will focus on working with the reader component of the ELFIO library. To get a pointer onto the ELF File Reader, initialize the object by loading the ELF file. Here's an example:

IELFI* pReader;
ELFIO::GetInstance()->CreateELFI(&pReader);
char* filename = "file.o";
pReader->Load(filename);

Once you have initialized the object, you can access the ELF header and request file parameters such as encoding, machine type, entry point, etc. To get the encoding of the file, use the following code:

unsigned char encoding = pReader->GetEncoding();

Standard types and constants from the TIS document are defined in the ELFTypes.h header file, which is automatically included in the project. For example, the ELFDATA2LSB and ELFDATA2MSB constants define a value for little and big endian encoding.

ELF binary files consist of several sections, each responsible for different tasks. Some contain executable code, others describe program dependencies, and others symbol tables, and so on. To see how many sections the ELF file contains, including their names and sizes, use the following code:

int nSecNo = pReader->GetSectionsNum();
for (int i = 0; i < nSecNo; ++i) {
const IELFISection* pSec = pReader->GetSection(i);
std::cout << pSec->GetName() << std::endl;
}

Overall, ELFIO is a powerful library that simplifies working with ELF binary format files. With its extensive functionalities and simple interfaces, ELFIO has become a must-have tool for developers who work with ELF files.
What's New

Version 1.0.3: N/A

Free Download 307K
356
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    95
  3. DynVPN 1.0
    82
  4. CherryTV 0.1
    80
  5. SlideMap 1.2.2
    75
  6. porm r2
    70
  7. Hills 2.0
    70
  8. crick-info 1.0
    69
  9. fuseftp 0.8
    68
  10. Swiftfox 3.0b5pre-2
    67

Related Downloads

QShowDiff
This software provides a means to visualize differences created by several version ...
Poddie
Poddie is a clan-based, multiplayer shooting game with fast-paced action where you ...
ua
"ua" software is an easy-to-use command line utility that identifies multiple copies ...
Address Book Continued
Address Book Continued is a multi-user Web application with AJAX technology for ...
CSS::Style
This software involves a ruleset in a CSS object tree. It can ...
acpi4asus
The acpi4asus project creates a Linux kernel driver that enables Asus laptop ...
Sysres
This system restore software is designed for Debian GNU/Linux based operating systems, ...
Multidialnet
Multinet enables dial-up internet connection sharing through IP masquerading via a curses-based ...
nf-hipac
nf-HiPAC is a packet filter for Linux that showcases the capabilities of ...
KoolDock
KoolDock is a visually enhanced dock for KDE. It's a KDE project ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.