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

Learning Regular Expressions

Git Notes for Professionals

Tensorflow 2 Tutorial

Eye Tracking Methodology

Lisp Hackers

Others related eBooks about Libelf by Example

Introduction to GNU Octave

A brief introduction to scientific computing with GNU Octave. Designed as a textbook supplement for freshman and sophomore level linear algebra and calculus students....

iOS Notes for Professionals

Do you want to understand all the facets of iOS programming and build complex iOS apps? Then you have come to the right place. This problem-solution guide will help you to eliminate expensive learning curves and focus on specific issues to make you proficient at tasks and the speed-up time involved....

Coding with Minecraft: Learn to Code by Programming Robots in Minecraft!

A hands-on introduction to coding that teaches you how to program bots to do cool things in the game you love - Minecraft! This book takes the robotic "turtle" method, and extends it to the 3D, interactive world of Minecraft....

How to become an Ethical Hacker

This is a series of lessons that's basic about the networking concepts, networking tools, security and countermeasures....

Create Flyer using CorelDraw Tutorial for Beginners in PDF

This PDF tutorial will show you the steps to create this simple Flyer using Corel Draw, free course created by flyertutor.com....

Hibernate Notes for Professionals

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

MongoDB Notes for Professionals

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

Case Studies in Infrastructure Change Management

Download free course Case Studies in Infrastructure Change Management, pdf file on 40 pages by by Wendy Look, Mark Dallman....

Lightweight Systems for Realtime Monitoring

Download free course Lightweight Systems for Realtime Monitoring, pdf file on 27 pages by Sam Newman....

Code the Classics

Download free course Code the Classics, pdf file on 224 pages by David Crookes, Andrew Gillett, Liz Upton, Eben Upton, Sean M. Tracey, Dan Malone, Allister Brimble....