Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
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

void cleanup ()
 Cleanup the filter This function properly clears type information associated to this filter. More...
 
virtual bool match (codegen_t &cdg) override=0
 return true if the filter object should be applied to given instruction More...
 
bool init (const char *decl)
 
virtual merror_t apply (codegen_t &cdg) override
 generate microcode for an instruction More...
 
bool empty () const
 
virtual bool match (codegen_t &cdg)=0
 check if the filter object is to be applied More...
 
virtual merror_t apply (codegen_t &cdg)=0
 generate microcode for an instruction More...
 

Detailed Description

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

Definition at line 1721 of file hexrays.hpp.

Constructor & Destructor Documentation

◆ ~udc_filter_t()

udc_filter_t::~udc_filter_t ( )

Definition at line 1726 of file hexrays.hpp.

Member Function Documentation

◆ apply()

merror_t udc_filter_t::apply ( codegen_t cdg)
overridevirtual

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.

Definition at line 10157 of file hexrays.hpp.

◆ cleanup()

void udc_filter_t::cleanup ( )

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

Definition at line 10145 of file hexrays.hpp.

◆ empty()

bool udc_filter_t::empty ( ) const

Definition at line 1738 of file hexrays.hpp.

◆ init()

bool udc_filter_t::init ( const char *  decl)

Definition at line 10151 of file hexrays.hpp.

◆ 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.