libTriton
version 1.0 build 1592
Loading...
Searching...
No Matches
src
libtriton
includes
triton
semanticsInterface.hpp
Go to the documentation of this file.
1
2
/*
3
** Copyright (C) - Triton
4
**
5
** This program is under the terms of the Apache License 2.0.
6
*/
7
8
#ifndef TRITON_SEMANTICSINTERFACE_HPP
9
#define TRITON_SEMANTICSINTERFACE_HPP
10
11
#include <
triton/archEnums.hpp
>
12
#include <
triton/dllexport.hpp
>
13
#include <
triton/instruction.hpp
>
14
15
16
18
namespace
triton
{
25
namespace
arch {
34
class
SemanticsInterface
{
35
public
:
37
TRITON_EXPORT
virtual
~SemanticsInterface
(){};
38
40
TRITON_EXPORT
virtual
triton::arch::exception_e
buildSemantics
(
triton::arch::Instruction
& inst) = 0;
41
};
42
44
};
46
};
47
48
#endif
/* TRITON_SEMANTICSINTERFACE_HPP */
archEnums.hpp
triton::arch::Instruction
This class is used to represent an instruction.
Definition
instruction.hpp:48
triton::arch::SemanticsInterface
This interface is used as abstract semantics interface. All ISA semantics must use this interface.
Definition
semanticsInterface.hpp:34
triton::arch::SemanticsInterface::buildSemantics
virtual TRITON_EXPORT triton::arch::exception_e buildSemantics(triton::arch::Instruction &inst)=0
Builds the semantics of the instruction. Returns triton::arch::NO_FAULT if succeed.
triton::arch::SemanticsInterface::~SemanticsInterface
virtual TRITON_EXPORT ~SemanticsInterface()
Destructor.
Definition
semanticsInterface.hpp:37
dllexport.hpp
triton::arch::exception_e
exception_e
Definition
archEnums.hpp:59
instruction.hpp
triton
The Triton namespace.
Definition
architecture.cpp:27
Generated by
1.10.0