IDA C++ SDK 9.2
Loading...
Searching...
No Matches
udc_filter_t Class Referenceabstract

Abstract class: User-defined call generator derived classes should implement method 'match'. More...

#include <hexrays.hpp>

Inheritance diagram for udc_filter_t:
microcode_filter_t

Public Member Functions

 ~udc_filter_t ()
void hexapi cleanup ()
 Cleanup the filter This function properly clears type information associated to this filter.
virtual bool match (codegen_t &cdg) override=0
 return true if the filter object should be applied to given instruction
bool hexapi init (const char *decl)
virtual merror_t hexapi apply (codegen_t &cdg) override
 generate microcode for an instruction
bool empty () const
Public Member Functions inherited from microcode_filter_t
virtual ~microcode_filter_t ()

Detailed Description

Abstract class: User-defined call generator derived classes should implement method 'match'.

Constructor & Destructor Documentation

◆ ~udc_filter_t()

udc_filter_t::~udc_filter_t ( )
inline

Member Function Documentation

◆ cleanup()

void udc_filter_t::cleanup ( )
inline

Cleanup the filter This function properly clears type information associated to this filter.

◆ match()

virtual bool udc_filter_t::match ( codegen_t & cdg)
overridepure virtual

return true if the filter object should be applied to given instruction

Implements microcode_filter_t.

◆ init()

bool udc_filter_t::init ( const char * decl)
inline

◆ apply()

merror_t udc_filter_t::apply ( codegen_t & cdg)
inlineoverridevirtual

generate microcode for an instruction

Returns
MERR_... code: MERR_OK - user-defined microcode generated, go to the next instruction MERR_INSN - not generated - the caller should try the standard way else - error

Implements microcode_filter_t.

◆ empty()

bool udc_filter_t::empty ( ) const
inline

The documentation for this class was generated from the following file: