Ghidra Decompiler Analysis Engine
Public Member Functions | Protected Attributes | List of all members
IfcCallGraphBuild Class Reference

Build the call-graph for the architecture/program: callgraph build More...

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

Public Member Functions

virtual void execute (istream &s)
 
virtual void iterationCallback (Funcdata *fd)
 Perform the per-function aspect of this command. More...
 
- Public Member Functions inherited from IfaceDecompCommand
virtual void setData (IfaceStatus *root, IfaceData *data)
 Associate a specific data object with this command. More...
 
virtual string getModule (void) const
 Get the formal module name to which this command belongs. More...
 
virtual IfaceDatacreateData (void)
 Create a specialized data object for this command (and its module) More...
 
void iterateFunctionsAddrOrder (void)
 Iterate command over all functions in all scopes. More...
 
void iterateFunctionsLeafOrder (void)
 Iterate command over all functions in a call-graph traversal. More...
 
- Public Member Functions inherited from IfaceCommand
void addWord (const string &temp)
 Add a token to the command line string associated with this command. More...
 
void addWords (const vector< string > &wordlist)
 Add words to the associated command line string.
 
void commandString (string &res) const
 Get the complete command line string. More...
 
int4 compare (const IfaceCommand &op2) const
 Order two commands by their command line strings. More...
 

Protected Attributes

bool quick
 Set to true if a quick analysis is desired.
 
- Protected Attributes inherited from IfaceDecompCommand
IfaceStatusstatus
 The console owning this command.
 
IfaceDecompDatadcp
 Data common to decompiler commands.
 

Additional Inherited Members

- Protected Member Functions inherited from IfaceDecompCommand
void iterateScopesRecursive (Scope *scope)
 Iterate recursively over all functions in given scope. More...
 
void iterateFunctionsAddrOrder (Scope *scope)
 Iterate over all functions in a given scope. More...
 

Detailed Description

Build the call-graph for the architecture/program: callgraph build

Build, or rebuild, the call-graph with nodes for all existing functions. Functions are to decompiled to recover destinations of indirect calls. Going forward, the graph is held in memory and is accessible by other commands.

Member Function Documentation

◆ execute()

void IfcCallGraphBuild::execute ( istream &  s)
virtual

Execute this command. Additional state can be read from the given command line stream. Otherwise, the command gets its data from its registered IfaceData object

Parameters
sis the input stream from the command line

Implements IfaceCommand.

◆ iterationCallback()

void IfcCallGraphBuild::iterationCallback ( Funcdata fd)
virtual

Perform the per-function aspect of this command.

Parameters
fdis the particular function to operate on

Reimplemented from IfaceDecompCommand.


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