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
Ctree visitor property bits

Used in ctree_visitor_t::cv_flags. More...

Macros

#define CV_FAST   0x0000
 do not maintain parent information More...
 
#define CV_PRUNE   0x0001
 this bit is set by visit...() to prune the walk More...
 
#define CV_PARENTS   0x0002
 maintain parent information More...
 
#define CV_POST   0x0004
 call the leave...() functions More...
 
#define CV_RESTART   0x0008
 restart enumeration at the top expr (apply_to_exprs) More...
 
#define CV_INSNS   0x0010
 visit only statements, prune all expressions do not use before the final ctree maturity because expressions may contain statements at intermediate stages (see cot_insn). More...
 

Detailed Description

Used in ctree_visitor_t::cv_flags.

Macro Definition Documentation

◆ CV_FAST

#define CV_FAST   0x0000

do not maintain parent information

Examples
hexrays_sample2.cpp, hexrays_sample3.cpp, and hexrays_sample7.cpp.

Definition at line 5795 of file hexrays.hpp.

◆ CV_INSNS

#define CV_INSNS   0x0010

visit only statements, prune all expressions do not use before the final ctree maturity because expressions may contain statements at intermediate stages (see cot_insn).

Otherwise you risk missing statements embedded into expressions.

Examples
hexrays_sample3.cpp.

Definition at line 5804 of file hexrays.hpp.

◆ CV_PARENTS

#define CV_PARENTS   0x0002

maintain parent information

Definition at line 5797 of file hexrays.hpp.

◆ CV_POST

#define CV_POST   0x0004

call the leave...() functions

Definition at line 5798 of file hexrays.hpp.

◆ CV_PRUNE

#define CV_PRUNE   0x0001

this bit is set by visit...() to prune the walk

Definition at line 5796 of file hexrays.hpp.

◆ CV_RESTART

#define CV_RESTART   0x0008

restart enumeration at the top expr (apply_to_exprs)

Definition at line 5799 of file hexrays.hpp.