Doxygen Documentation

Main Index

Package Index

Package:

ELF

Version:

V1-0-1

Marked:

(not marked)

Constituent:

elf_show

Tag:

mv2304


Interface   Compound List   File List   Compound Members   File Members  

ELF_show.h File Reference

ELF dump library. More...


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.


Generated on Sat Nov 29 14:27:44 2003 by doxygen 1.3.3