coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

ObjectFileRelocate Class Reference

The class ObjectFileRelocate contains the description of how to relocate parts of the code/bss dependencies. More...

#include <ObjectFileImp.h>

Inheritance diagram for ObjectFileRelocate

Inheritance graph
[legend]
Collaboration diagram for ObjectFileRelocate:

Collaboration graph
[legend]
List of all members.

Public Types

typedef DataChunk inherited

Public Methods

 ObjectFileRelocate ()
 ~ObjectFileRelocate ()
void addEntry (unsigned long data_address,unsigned long code_address)
virtual unsigned long getStreamSize ()
virtual unsigned long getStreamChunk ()
virtual void write (OutputStreamWriterNDR &os)
virtual void read (InputStreamWriterNDR &is)

Detailed Description

The class ObjectFileRelocate contains the description of how to relocate parts of the code/bss dependencies.

ObjectFile -- Subchunk 'RLOC' \begin{verbatim} Offset Size Type Comment --------------------------------------------------------- 0 4 Byte fourcc 'RLOC' (ReLOCate) 4 4 Byte int32 size of the chunk 8 4 Byte int32 base address (1st address to patch) 12 4 Byte int32 number of patches 16 x Byte byte delta address offsets from base address in acending order of addresses --------------------------------------------------------- (string is always /0 terminated) \end{verbatim}


The documentation for this class was generated from the following file:
  • ObjectFileImp.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: