libTriton version 1.0 build 1590
Loading...
Searching...
No Matches
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>
14
15
16
18namespace triton {
25 namespace arch {
35 public:
37 TRITON_EXPORT virtual ~SemanticsInterface(){};
38
41 };
42
44 };
46};
47
48#endif /* TRITON_SEMANTICSINTERFACE_HPP */
This class is used to represent an instruction.
This interface is used as abstract semantics interface. All ISA semantics must use this interface.
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.
virtual TRITON_EXPORT ~SemanticsInterface()
Destructor.
The Triton namespace.