Files
revng-revng/ptcinterface.h
T
Alessandro Di Federico ee850e39bc Introduce C++ wrapper of the PTC library
* s/PTC/PTCInterface/
* Implement InstructionArgumentsIterator
* Implement Instrcution and CallInstruction
2015-11-07 15:02:11 +01:00

20 lines
465 B
C++

#ifndef _PTCINTERFACE_H
#define _PTCINTERFACE_H
#include <memory>
#include "revamb.h"
#define USE_DYNAMIC_PTC
#include "ptc.h"
using PTCInstructionListDestructor =
GenericFunctor<decltype(&ptc_instruction_list_free),
&ptc_instruction_list_free>;
using PTCInstructionListPtr = std::unique_ptr<PTCInstructionList,
PTCInstructionListDestructor>;
extern PTCInterface ptc;
#endif // _PTCINTERFACE_H