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.c File Reference

#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "ELF/ELF_show.h"
#include "ELF/ELF_swap.h"
#include "ELF/elf.h"
#include "ELF_private.h"

Data Structures

struct  _ELF_Dump_Info

Typedefs

typedef _ELF_Dump_Info ELF_Dump_Info

Functions

void ELF_showSection (const ELF_Dump_Info *info, const Elf32_Shdr *shdr)
void ELF_showSymtab (const ELF_Dump_Info *info, const Elf32_Shdr *shdr)
void ELF_showRela (const ELF_Dump_Info *info, const Elf32_Shdr *shdr)
void ELF_showStrtab (const ELF_Dump_Info *info, const Elf32_Shdr *shdr)
int ELF_show (const void *file, int size)
 Show the contents of an ELF file.


Detailed Description

Function definitions for ELF dump library.

Typedef Documentation

ELF_Dump_Info
 

The type for _ELF_Dump_Info.


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.

void ELF_showRela const ELF_Dump_Info info,
const Elf32_Shdr *  shdr
[static]
 

Prints the contents of an ELF relocation table.

Parameters:
info ELF file addresses.
shdr The relocation table section header entry.

void ELF_showSection const ELF_Dump_Info info,
const Elf32_Shdr *  shdr
[static]
 

Prints the generic attributes of an ELF section. Symbol and relocation tables generate more detailed output.

Parameters:
info ELF file addresses.
shdr A pointer to the section header entry for the target section.

void ELF_showStrtab const ELF_Dump_Info info,
const Elf32_Shdr *  shdr
[static]
 

Prints the contents of an ELF string table.

Parameters:
info ELF file addresses.
shdr The relocation table section header entry.

void ELF_showSymtab const ELF_Dump_Info info,
const Elf32_Shdr *  shdr
[static]
 

Prints the contents of an ELF symbol table.

Parameters:
info ELF file addresses.
shdr The symbol table section header entry.


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