Code Listener  [unstable] git snapshot
Public Member Functions | Protected Member Functions | Private Attributes
ClStorageBuilder Class Referenceabstract

base class for all CodeStorage based code listeners, see run() More...

#include <cl_storage.hh>

Inheritance diagram for ClStorageBuilder:
Inheritance graph
[legend]
Collaboration diagram for ClStorageBuilder:
Collaboration graph
[legend]

Public Member Functions

virtual ~ClStorageBuilder ()
 
virtual void file_open (const char *file_name)
 See cl_code_listener::file_open. More...
 
virtual void file_close ()
 See cl_code_listener::file_close. More...
 
virtual void fnc_open (const struct cl_operand *fnc)
 See cl_code_listener::fnc_open. More...
 
virtual void fnc_arg_decl (int arg_id, const struct cl_operand *arg_src)
 See cl_code_listener::fnc_arg_decl. More...
 
virtual void fnc_close ()
 See cl_code_listener::fnc_close. More...
 
virtual void bb_open (const char *bb_name)
 See cl_code_listener::bb_open. More...
 
virtual void insn (const struct cl_insn *cli)
 See cl_code_listener::insn. More...
 
virtual void insn_call_open (const struct cl_loc *loc, const struct cl_operand *dst, const struct cl_operand *fnc)
 See cl_code_listener::insn_call_open. More...
 
virtual void insn_call_arg (int arg_id, const struct cl_operand *arg_src)
 See cl_code_listener::insn_call_arg. More...
 
virtual void insn_call_close ()
 See cl_code_listener::insn_call_close. More...
 
virtual void insn_switch_open (const struct cl_loc *loc, const struct cl_operand *src)
 See cl_code_listener::insn_switch_open. More...
 
virtual void insn_switch_case (const struct cl_loc *loc, const struct cl_operand *val_lo, const struct cl_operand *val_hi, const char *label)
 See cl_code_listener::insn_switch_case. More...
 
virtual void insn_switch_close ()
 See cl_code_listener::insn_switch_close. More...
 
virtual void acknowledge ()
 See cl_code_listener::acknowledge. More...
 

Protected Member Functions

 ClStorageBuilder ()
 
virtual void run (CodeStorage::Storage &)=0
 once the Storage model is built this template method is called to process its content, run some analysis, etc. More...
 

Private Attributes

Private * d
 

Detailed Description

base class for all CodeStorage based code listeners, see run()

Note
design pattern template method

Definition at line 41 of file cl_storage.hh.

Constructor & Destructor Documentation

ClStorageBuilder ( )
protected
virtual ~ClStorageBuilder ( )
virtual

Member Function Documentation

virtual void acknowledge ( )
virtual
virtual void bb_open ( const char *  bb_name)
virtual
virtual void file_close ( )
virtual
virtual void file_open ( const char *  file_name)
virtual
virtual void fnc_arg_decl ( int  arg_id,
const struct cl_operand arg_src 
)
virtual
virtual void fnc_close ( )
virtual
virtual void fnc_open ( const struct cl_operand fnc)
virtual
virtual void insn ( const struct cl_insn cli)
virtual
virtual void insn_call_arg ( int  arg_id,
const struct cl_operand arg_src 
)
virtual
virtual void insn_call_close ( )
virtual
virtual void insn_call_open ( const struct cl_loc loc,
const struct cl_operand dst,
const struct cl_operand fnc 
)
virtual
virtual void insn_switch_case ( const struct cl_loc loc,
const struct cl_operand val_lo,
const struct cl_operand val_hi,
const char *  label 
)
virtual
virtual void insn_switch_close ( )
virtual
virtual void insn_switch_open ( const struct cl_loc loc,
const struct cl_operand src 
)
virtual
virtual void run ( CodeStorage::Storage )
protectedpure virtual

once the Storage model is built this template method is called to process its content, run some analysis, etc.

Field Documentation

Private* d
private

Definition at line 100 of file cl_storage.hh.


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