signature.cpp File Reference

#include <assert.h>
#include <string>
#include <sstream>
#include "type.h"
#include "signature.h"
#include "exp.h"
#include "prog.h"
#include "BinaryFile.h"
#include "frontend.h"
#include "util.h"
#include "cfg.h"
#include "proc.h"
#include "boomerang.h"
#include "log.h"
#include "managed.h"

Go to the source code of this file.


namespace  CallingConvention
namespace  CallingConvention::StdC


class  CallingConvention::StdC::PentiumSignature
class  CallingConvention::StdC::PPCSignature
class  CallingConvention::StdC::SparcLibSignature
class  CallingConvention::StdC::SparcSignature
class  CallingConvention::StdC::ST20Signature
class  CallingConvention::Win32Signature
class  CallingConvention::Win32TcSignature


static void cloneVec (Returns &from, Returns &to)
static void cloneVec (std::vector< Parameter * > &from, std::vector< Parameter * > &to)
static Unary spPlus64 (opMemOf, new Binary(opPlus, Location::regOf(14), new Const(64)))
int stackOffset (Exp *e, int sp)


char debug_buffer []
 For prints functions.
static ExpsavedReturnLocation = Location::memOf(Location::regOf(28))
static ExpstackPlusFour

Function Documentation

static void cloneVec Returns from,
Returns to

Definition at line 249 of file signature.cpp.

static void cloneVec std::vector< Parameter * > &  from,
std::vector< Parameter * > &  to

Definition at line 242 of file signature.cpp.

Referenced by CustomSignature::clone(), Signature::clone(), CallingConvention::StdC::SparcLibSignature::clone(), CallingConvention::StdC::SparcSignature::clone(), CallingConvention::StdC::PPCSignature::clone(), CallingConvention::StdC::PentiumSignature::clone(), CallingConvention::Win32TcSignature::clone(), and CallingConvention::Win32Signature::clone().

static Unary spPlus64 opMemOf  ,
new   Binary(opPlus, Location::regOf(14), new Const(64))

Referenced by CallingConvention::StdC::SparcSignature::returnCompare().

int stackOffset Exp e,
int  sp

Definition at line 1899 of file signature.cpp.

References Exp::getSubExp1(), Exp::getSubExp2(), Exp::isMemOf(), Exp::isRegN(), Exp::isSubscript(), and opMinus.

Referenced by CallingConvention::StdC::PentiumSignature::argumentCompare().

Variable Documentation

char debug_buffer[]

For prints functions.

Definition at line 285 of file basicblock.cpp.

Parameter* hack

Definition at line 256 of file signature.cpp.

Referenced by Parameter::setBoundMax().

Exp* savedReturnLocation = Location::memOf(Location::regOf(28)) [static]

Definition at line 302 of file signature.cpp.

Referenced by CallingConvention::Win32Signature::qualified().

Exp* stackPlusFour [static]

Initial value:

 new Binary(opPlus,
    new Const(4))

Definition at line 303 of file signature.cpp.

Referenced by CallingConvention::Win32Signature::qualified().

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