udc_filter_t Class Referenceabstract

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

Inheritance diagram for udc_filter_t:
microcode_filter_t

Public Member Functions

virtual bool match (codegen_t &cdg)=0
 return true if the filter object should be appied to given instruction
 
bool init (const char *decl)
 
virtual merror_t apply (codegen_t &cdg)
 generate microcode for an instruction More...
 

Detailed Description

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

Definition at line 1617 of file hexrays.hpp.

Member Function Documentation

◆ apply()

merror_t udc_filter_t::apply ( codegen_t cdg)
virtual

generate microcode for an instruction

Returns
MERR_... code: MERR_OK - user-defined call 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 9391 of file hexrays.hpp.

References hexdsp.