GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ELF / V1-1-2

Constituent: elf_show     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

ELF_show.h File Reference

ELF dump library. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Functions

int ELF_show (const void *file, int size)
 Show the contents of an ELF file.


Detailed Description

ELF dump library.

The function ELF_show() prints the contents of a 32-bit PPC ELF file. All section header information is displayed for every section contained in the file. The symbol table and relocation table sections are shown in detail, giving the contents of each table entry.

This library was specifically intended for use with relocatable ELF files (ET_REL) for PowerPC machines (EM_PPC) in the 32-bit big-endian format (ELFCLASS32 and ELFDATA2MSB). It will work with some other ELF format files, but usually the displayed information is much more limited.


Function Documentation

int ELF_show const void *  file,
int  size
 

Show the contents of an ELF file.

The contents of the ELF file are printed to standard out.

Parameters:
file A pointer to an ELF file memory image.
size The size in bytes of the ELF memory image.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:


Generated on Tue Mar 22 23:41:00 2005 by doxygen 1.3.3