Libelf by Example



Download free course Libelf by Example, pdf file on 61 pages by Joseph Koshy.
This tutorial introduces libelf, a library for reading and writing object code in the Extensible Linking Format (ELF) file format.
- Getting started with libelf: obtaining a handle to an ELF object, establishing a working ELF version, and handling errors reported by libelf.
- How ELF data structures are laid out in-memory and on disk, the notions of "file representation" and "memory representation", how to write applications that can handle non-native binaries.
- ELF Segments and the ELF Program Header Table, retrieving the program header table from an ELF executable and the meaning of the fields of a program header table entry.
- How data is stored inside ELF sections, the ELF Section Header Table, and how to traverse the sections in an ELF object.
- How to create new ELF objects: the rules for ordering individual API calls, the default object layout implemented by libelf, and how to specify custom layouts.
- ar archives: their structure, and how to read the contents of these archives using the APIs provided by libelf.

The example programs in this tutorial are written in the C programming language.

While written for the libelf implementation that is part of the Elftoolchain open-source project, this tutorial is expected to be compatible with other libelf implementations, such as that offered by the GNU project.

Table of contents

  • Introduction
  • Getting Started
  • Peering Inside an ELF Object
  • Examining the Program Header Table
  • Looking at Sections
  • Creating New ELF Objects
  • Processing ar archives
  • Conclusion
Pages : 61
Size : 1.1 MB
File type : PDF
Downloads: 56
Created: 2022-02-03
License: Open Publication License
Author(s): Joseph Koshy
Libelf by Example

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Computer science Tutorials

Basic Computer Book PDF Download Computer

Pro TBB

97 Things Every Software Architect Should Know

Git Notes for Professionals

Asterisk: The Future of Telephony

Others related eBooks about Libelf by Example

Tutorial Cryptography for Beginners

This tutorial is intended to novice who wants to be familiar with lattice based cryptography and cryptosystem....

Statistics with Julia

Download free course Statistics with Julia, pdf file on 413 pages by Hayden Klok, Yoni Nazarathy....

Handbook of Software Reliability Engineering

This book is the definitive guide to today's most-used software reliability techniques and solutions, contributed by the worlds leading reliability experts. It takes you step by step through software reliability measurement and prediction, the attributes and metrics of product design, development ...

Programming Persistent Memory

Beginning and experienced programmers will use this comprehensive guide to persistent memo..., download free Memory tutorial in PDF (438 pages) created by Steve Scargall ....

Mathematical Applications for Game Development

This book presents applications of mathematics and science in game and simulation programming. Includes the utilization of matrix and vector operations, kinematics, and Newtonian principles in games and simulations. Also covers code optimization. ...

Qt5 Cadaques

This book shall provide you a walk through the different aspect of application development..., download free Qt5 tutorial in PDF (340 pages) created by J. Ryannel ....

Developing Reactive Microservices: Enterprise Implementation in Java

With microservices taking the software industry by storm, traditional enterprises running large, monolithic Java EE applications have been forced to rethink what they’ve been doing for nearly two decades. But how can microservices built upon reactive principles make a difference? ...

Programming for Computations - MATLAB/Octave: A Gentle Introduction to Numerical Simulations with MATLAB/Octave

This book presents computer programming as a key method for solving mathematical problems using MATLAB and Octave. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen...

Create Salesforce Scratch Org free PDF

Download free course Create Salesforce Scratch Org free PDF, pdf file on 7 pages by tutorialkart.com....

The little book about OS development

Download free course The little book about OS development, pdf file on 78 pages by Erik Helin, Adam Renberg....