Libelf by Example


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.
Download free tutorial in PDF ( 61 pages) created by Joseph Koshy .
Pages61
Size
File typeHTML
Downloads233
Created2021-05-15
LicenseFree
Author(s)Joseph Koshy
Cover of Libelf by Example

Download

  • Think Data Structures

    Download free course Think Data Structures, pdf file on 187 pages by Allen Downey....

  • D3 Tips and Tricks v3.x

    Download free course D3 Tips and Tricks v3.x, pdf file on 551 pages by Malcolm Maclean....

  • Web Application Security Guide

    Over 75% of network attacks are targeted at the web application layer. This book provides explicit hacks, tutorials, penetration tests, and step-by-step demonstrations for security professionals and Web application developers to defend their most vulnerable applications. ...

  • Visual Studio 2019 Succinctly

    Download free course Visual Studio 2019 Succinctly, pdf file on 91 pages by Alessandro Del Sole....

  • Think Complexity, 2nd Edition

    Complexity science uses computation to explore the physical and social sciences. In Think ..., download free Complexity tutorial in PDF (200 pages) created by ....

  • How To Code in Go

    Download free course How To Code in Go, pdf file on 447 pages by Mark Bates, Cory LaNou, Tim Raymond....

  • Software for Exascale Computing - SPPEXA 2016-2019

    Download free course Software for Exascale Computing - SPPEXA 2016-2019, pdf file on 624 pages by Hans-Joachim Bungartz, Severin Reiz, Benjamin Uekermann, Philipp Neumann, Wolfgang E. Nagel....

  • Text Mining with R

    Download free course Text Mining with R, pdf file on 194 pages by Julia Silge, David Robinson....

  • Digital Dilemmas

    Download free course Digital Dilemmas, pdf file on 93 pages by Øyvind Kvalnes....

  • Azure Cognitive Services Succinctly

    Download free course Azure Cognitive Services Succinctly, pdf file on 115 pages by by Ed Freitas....