HpSomBinaryFile.cpp File Reference

#include <assert.h>
#include "HpSomBinaryFile.h"

Go to the source code of this file.

Defines

#define AUXHDR(idx)   (UINT4(m_pImage + (int)(auxHeaders+idx)))
#define SYMBOLAUX(idx)   (UINT4(symPtr + idx*SYMSIZE + 8))
#define SYMBOLNM(idx)   (UINT4(symPtr + idx*SYMSIZE + 4))
#define SYMBOLTY(idx)   ((UINT4(symPtr + idx*SYMSIZE) >> 24) & 0x3f)
#define SYMBOLVAL(idx)   (UINT4(symPtr + idx*SYMSIZE + 16))
#define SYMSIZE   20
#define UC(p)   ((unsigned char*)p)
#define UINT4(p)

Functions

BinaryFileconstruct ()


Define Documentation

#define AUXHDR idx   )     (UINT4(m_pImage + (int)(auxHeaders+idx)))
 

Referenced by HpSomBinaryFile::RealLoad().

#define SYMBOLAUX idx   )     (UINT4(symPtr + idx*SYMSIZE + 8))
 

#define SYMBOLNM idx   )     (UINT4(symPtr + idx*SYMSIZE + 4))
 

#define SYMBOLTY idx   )     ((UINT4(symPtr + idx*SYMSIZE) >> 24) & 0x3f)
 

#define SYMBOLVAL idx   )     (UINT4(symPtr + idx*SYMSIZE + 16))
 

#define SYMSIZE   20
 

#define UC  )     ((unsigned char*)p)
 

Definition at line 32 of file HpSomBinaryFile.cpp.

Referenced by HpSomBinaryFile::RealLoad().

#define UINT4  ) 
 

Value:

((UC(p)[0] << 24) + (UC(p)[1] << 16) + (UC(p)[2] << 8) + \
    UC(p)[3])

Definition at line 33 of file HpSomBinaryFile.cpp.

Referenced by HpSomBinaryFile::GetDynamicGlobalMap(), HpSomBinaryFile::getImageSize(), HpSomBinaryFile::GetMainEntryPoint(), HpSomBinaryFile::getSubspaceInfo(), HpSomBinaryFile::isLibrary(), PalmBinaryFile::RealLoad(), and HpSomBinaryFile::RealLoad().


Function Documentation

BinaryFile* construct  ) 
 

Definition at line 623 of file HpSomBinaryFile.cpp.


Generated on Tue Sep 19 21:18:37 2006 for Boomerang by  doxygen 1.4.6