retdec
x86.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_CAPSTONE2LLVMIR_X86_X86_H
8 #define RETDEC_CAPSTONE2LLVMIR_X86_X86_H
9 
10 #include <array>
11 #include <tuple>
12 #include <utility>
13 
16 
17 namespace retdec {
18 namespace capstone2llvmir {
19 
24 {
25  public:
30  virtual bool isX87DataStoreFunction(llvm::Function* f) const = 0;
36  virtual bool isX87DataStoreFunctionCall(llvm::CallInst* c) const = 0;
43  virtual llvm::Function* getX87DataStoreFunction() const = 0;
44 
49  virtual bool isX87DataLoadFunction(llvm::Function* f) const = 0;
55  virtual bool isX87DataLoadFunctionCall(llvm::CallInst* c) const = 0;
62  virtual llvm::Function* getX87DataLoadFunction() const = 0;
63 
68  virtual uint32_t getParentRegister(uint32_t r) const = 0;
69 };
70 
71 } // namespace capstone2llvmir
72 } // namespace retdec
73 
74 #endif
Common public interface for translators converting bytes to LLVM IR.
virtual llvm::Function * getX87DataStoreFunction() const =0
virtual bool isX87DataStoreFunction(llvm::Function *f) const =0
virtual llvm::Function * getX87DataLoadFunction() const =0
virtual bool isX87DataLoadFunctionCall(llvm::CallInst *c) const =0
virtual bool isX87DataStoreFunctionCall(llvm::CallInst *c) const =0
virtual uint32_t getParentRegister(uint32_t r) const =0
virtual bool isX87DataLoadFunction(llvm::Function *f) const =0
Definition: archive_wrapper.h:19
Additional (on top of Capstone) definitions for x86 translator.