ROSE
2.1.0
Loading...
Searching...
No Matches
src
Rose
FlowAnalysisInterface.h
1
#ifndef ROSE_FlowAnalysisInterface_H
2
#define ROSE_FlowAnalysisInterface_H
3
4
#include <RoseFirst.h>
5
#include <Rose/FlowGraphInterface.h>
6
7
class
SgNode
;
8
class
SgFunctionDeclaration
;
9
class
SgExpression
;
10
11
namespace
Rose
{
12
namespace
FlowGraphInterface {
13
14
// Internally automatically select the desired analysis based on the options.
15
enum class
AnalysisSupportOption { CodeThorn, AstSideEffect };
16
17
template
<
class
NodeIterator,
class
EdgeIterator, AnalysisSupportOption Option>
18
class
CallGraphAnalysis
{
19
public
:
20
// Call Graph Analysis Interface below.
21
typedef
SgFunctionDeclaration
*
NodeInfo
;
22
typedef
SgExpression
*
EdgeInfo
;
23
typedef
FlowGraphCreateInterface<NodeInfo,EdgeInfo, NodeIterator,EdgeIterator>
GraphCreate
;
24
bool
performAnalysis(
const
SgNode
* ast,
GraphCreate
&graph);
25
};
26
27
};
// namespace FlowGraphInterface
28
29
};
// namespace Rose
30
31
#endif
Rose::FlowGraphInterface::CallGraphAnalysis
Definition
FlowAnalysisInterface.h:18
Rose::FlowGraphInterface::FlowGraphCreateInterface
Definition
FlowGraphInterface.h:92
SgExpression
This class represents the notion of an expression. Expressions are derived from SgLocatedNodes,...
Definition
Cxx_Grammar.h:486291
SgFunctionDeclaration
This class represents the concept of a function declaration statement.
Definition
Cxx_Grammar.h:324327
SgNode
This class represents the base class for all IR nodes within Sage III.
Definition
Cxx_Grammar.h:120
Rose
The ROSE library.
Definition
BinaryTutorial.dox:3
Generated on Mon May 25 2026 05:11:01 for ROSE by
1.9.8