Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_elf32_reloc_file Class Reference

#include <htelf.h>

Inheritance diagram for ht_elf32_reloc_file:

ht_reloc_file ht_layer_streamfile ht_streamfile ht_stream List of all members.

Public Member Functions

void init (ht_streamfile *streamfile, bool own_streamfile, ht_elf_shared_data *data)

Protected Member Functions

virtual void reloc_apply (Object *reloc, byte *data)
virtual bool reloc_unapply (Object *reloc, byte *data)

Protected Attributes

ht_elf_shared_datadata

Member Function Documentation

void ht_elf32_reloc_file::init ht_streamfile streamfile,
bool  own_streamfile,
ht_elf_shared_data data
 

Definition at line 702 of file htelf.cc.

References data, and ht_stream::init().

Referenced by ht_elf::auto_relocate32().

void ht_elf32_reloc_file::reloc_apply Object reloc,
byte *  data
[protected, virtual]
 

Implements ht_reloc_file.

Definition at line 708 of file htelf.cc.

References buf, ht_elf_shared_data::byte_order, create_foreign_int(), create_host_int(), data, ELF_R_386_32, ELF_R_386_PC32, ht_elf32_reloc_entry::relocs, ht_elf32_reloc_entry::type, and uint32.

bool ht_elf32_reloc_file::reloc_unapply Object reloc,
byte *  data
[protected, virtual]
 

Implements ht_reloc_file.

Definition at line 728 of file htelf.cc.


Member Data Documentation

ht_elf_shared_data* ht_elf32_reloc_file::data [protected]
 

Definition at line 174 of file htelf.h.

Referenced by init(), and reloc_apply().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:15:57 2004 by doxygen 1.3.5