forked from HPCL/MemoryEvaluation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMiraSemantics.C
35 lines (23 loc) · 913 Bytes
/
MiraSemantics.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "rose.h"
#include "MiraSemantics.h"
using namespace std;
namespace rose {
namespace BinaryAnalysis {
namespace InstructionSemantics2 {
namespace ConcreteSemantics {
void
MiraRiscOperators::writeMemory(const RegisterDescriptor &segreg, const BaseSemantics::SValuePtr &address,
const BaseSemantics::SValuePtr &value_, const BaseSemantics::SValuePtr &cond)
{
ConcreteSemantics::RiscOperators::writeMemory(segreg, address, value_, cond);
}
BaseSemantics::SValuePtr
MiraRiscOperators::readMemory(const RegisterDescriptor &segreg, const BaseSemantics::SValuePtr &address,
const BaseSemantics::SValuePtr &value_, const BaseSemantics::SValuePtr &cond)
{
return ConcreteSemantics::RiscOperators::readMemory(segreg, address, value_, cond);
}
} // end namespace ConcreteSemantics
} // end namespace InstructionSemantics2
} // end namespace BinaryAnalysis
} // end namespace rose