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

Getting Started with InnerSource

An Introduction to Matlab and Mathcad

Computation and the Humanities

A Rust Sampler

Blockchain and Crypt Currency

Others related eBooks about Libelf by Example

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

The Brain of the Computer

The purpose of the book is to take a basic computer system and show you how every part works. It is taught from a technicians point of view, not an engineer's. These are the things that are taught in the book. Digital electronic components, digital logic circuits, CPU theory, computer system theor...

Blockchain and Crypt Currency

Download free course Blockchain and Crypt Currency, pdf file on 150 pages by by Makoto Yano, Chris Dai, Kenichi Masuda, Yoshio Kishimoto....

Tutorial Cryptography for Beginners

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

Fundamentals of Business Process Management

Download free course Fundamentals of Business Process Management, pdf file on 546 pages by Marlon Dumas, Marcello La Rosa, Jan Mendling, Hajo A. Reijers....

HackSpace Magazine: Issue 46

Download free course HackSpace Magazine: Issue 46, pdf file on 116 pages by HackSpace Team....

Defend Dissent

Download free course Defend Dissent, pdf file on 131 pages by Glencora Borradaile....

Haskell tutorial for professionals

Download free Haskell tutorial course in PDF, training file in 78 chapters and 230 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

How to become an Ethical Hacker

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

The Little Go Book

Download free course The Little Go Book, pdf file on 84 pages by Karl Seguin....