BinaryFileFactory.cpp File Reference

#include <dlfcn.h>
#include "BinaryFile.h"
#include "ElfBinaryFile.h"
#include "Win32BinaryFile.h"
#include "PalmBinaryFile.h"
#include "HpSomBinaryFile.h"
#include "ExeBinaryFile.h"
#include "config.h"
#include <iostream>

Go to the source code of this file.

Defines

#define TESTMAGIC2(buf, off, a, b)   (buf[off] == a && buf[off+1] == b)
#define TESTMAGIC4(buf, off, a, b, c, d)
#define UNDERSCORE

Typedefs

typedef BinaryFile *(* constructFcn )()


Define Documentation

#define TESTMAGIC2 buf,
off,
a,
 )     (buf[off] == a && buf[off+1] == b)
 

Definition at line 41 of file BinaryFileFactory.cpp.

Referenced by BinaryFileFactory::getInstanceFor().

#define TESTMAGIC4 buf,
off,
a,
b,
c,
 ) 
 

Value:

(buf[off] == a && buf[off+1] == b && \
                                     buf[off+2] == c && buf[off+3] == d)

Definition at line 42 of file BinaryFileFactory.cpp.

Referenced by BinaryFileFactory::getInstanceFor().

#define UNDERSCORE
 

Referenced by BinaryFileFactory::getInstanceFor().


Typedef Documentation

typedef BinaryFile*(* constructFcn)()
 

Definition at line 46 of file BinaryFileFactory.cpp.


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