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: 41
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

Bash Notes for Professionals

Fundamentals of Azure

Think Data Structures

What Is Data Science?

Configuring Microsoft SharePoint Hybrid Capabilities

Others related eBooks about Libelf by Example

Proofs and Concepts: The Fundamentals of Abstract Mathematics

This undergraduate textbook provides an introduction to proofs, logic, sets, functions, and other fundamental topics of abstract mathematics. It is designed to be the textbook for a bridge course that introduces undergraduates to abstract mathematics, but it is also suitable for independent study by...

Algorithms Notes for Professionals

Download free course Algorithms Notes for Professionals, pdf file on 257 pages by by Stack Overflow Community....

Adobe Photoshop CS6 Help

This manual provides a complet tutorial about Adobe Photoshop CS6 .Download free course material and training document in PDF under 757 pages....

The Essence of Software Engineering

Download free course The Essence of Software Engineering, pdf file on 236 pages by Volker Gruhn, Rüdiger Striemer....

Hacker hightschool, learn how being a Hacker

Free tutorial intended to beginners to learn how being a hacker for educational purpose....

Learning SAS

Download free course Learning SAS, pdf file on 33 pages by Stack Overflow Community....

Ray Tracing Gems

This book is a must-have for anyone serious about rendering in real time. With the announc..., download free Ray tutorial in PDF (607 pages) created by Eric Haines ....

Bing Maps V8 Succinctly

Download free course Bing Maps V8 Succinctly, pdf file on 106 pages by by James McCaffrey....

The Little MongoDB Book

Download free course The Little MongoDB Book, pdf file on 66 pages by Karl Seguin....

Idiot guide to Photoshop

Download a free Photoshop PDF tutorial in 9 chapters and 36 pages. Learning Photoshop is fun and easy, if you’re willing to learn. Actually, that sentence can be applied to learning anything, but in this guide you’ll be learning Photoshop, as you did in Part I and Part II of our Photoshop series...