graph_chains_t Class Reference

Graph chains. More...

Inheritance diagram for graph_chains_t:

Public Member Functions

int for_all_chains (chain_visitor_t &cv, int gca_flags)
 Visit all chains. More...
 
bool is_locked (void) const
 Are the chains locked? It is a good idea to lock the chains before using them. More...
 
void acquire (void)
 Lock the chains.
 
void release (void)
 Unlock the chains.
 
void swap (graph_chains_t &r)
 

Detailed Description

Graph chains.

This class represents all ud and du chains of the decompiled function

Examples:
hexrays_sample12.cpp.

Definition at line 3177 of file hexrays.hpp.

Member Function Documentation

◆ for_all_chains()

int graph_chains_t::for_all_chains ( chain_visitor_t cv,
int  gca_flags 
)

Visit all chains.

Parameters
cvchain visitor
gca_flagscombination of GCA_ bits

Definition at line 10051 of file hexrays.hpp.

References hexdsp.

◆ is_locked()

bool graph_chains_t::is_locked ( void  ) const

Are the chains locked? It is a good idea to lock the chains before using them.

This ensures that they won't be recalculated and reallocated during the use. See the chain_keeper_t class for that.

Definition at line 3200 of file hexrays.hpp.