retdec
x64.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_BIN2LLVMIR_PROVIDERS_ABI_X64_H
8 #define RETDEC_BIN2LLVMIR_PROVIDERS_ABI_X64_H
9 
11 
12 namespace retdec {
13 namespace bin2llvmir {
14 
15 class AbiX64 : public Abi
16 {
17  // Ctors, dtors.
18  //
19  public:
20  AbiX64(llvm::Module* m, Config* c);
21 
22  // Registers.
23  //
24  public:
25  virtual bool isGeneralPurposeRegister(const llvm::Value* val) const override;
26 
27  // Instructions.
28  //
29  public:
30  virtual bool isNopInstruction(cs_insn* insn) override;
31 };
32 
33 } // namespace bin2llvmir
34 } // namespace retdec
35 
36 #endif
ABI information.
Definition: x64.h:16
virtual bool isNopInstruction(cs_insn *insn) override
Definition: x64.cpp:56
AbiX64(llvm::Module *m, Config *c)
Definition: x64.cpp:14
virtual bool isGeneralPurposeRegister(const llvm::Value *val) const override
Definition: x64.cpp:35
Definition: abi.h:27
Definition: config.h:24
The frontend-end part of the decompiler.
Definition: archive_wrapper.h:19