cfunc_parentee_t Struct Reference

Class to traverse the whole function. More...

Inheritance diagram for cfunc_parentee_t:
ctree_parentee_t ctree_visitor_t

List of all members.

Public Member Functions

 cfunc_parentee_t (cfunc_t *f, bool post=false)
bool calc_rvalue_type (const cexpr_t *e, typestring &target)
 Calculate rvalue type.

Public Attributes

cfunc_tfunc
 Pointer to current function.

Detailed Description

Class to traverse the whole function.

Definition at line 1444 of file hexrays.hpp.


Member Function Documentation

bool cfunc_parentee_t::calc_rvalue_type ( const cexpr_t e,
typestring target 
)

Calculate rvalue type.

This function tries to determine the type of the specified item based on its context. For example, if the current expression is the right side of an assignment operator, the type of its left side will be returned. This function can be used to determine the 'best' type of the specified expression.

Parameters:
[in] e expression to determine the desired type
[out] target 'best' type of the expression will be returned here
Returns:
false if failed

Definition at line 4306 of file hexrays.hpp.

References hexdsp.