#include <vector>Include dependency graph for SgNodeUtil.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef std::vector< SgNode * > | SgNodeVector |
Functions | |
| SgFile * | getSgFile (SgNode *node) |
| bool | isBinaryNode (SgNode *node) |
| bool | isSourceNode (SgNode *node) |
| std::vector< SgNode * > | getLinkedBinaryNodes (SgNode *node) |
| std::vector< SgNode * > | getLinkedSourceNodes (SgNode *node) |
| bool | isAncestor (SgNode *parent, SgNode *child) |
| void | deleteFileFromProject (SgFile *file, SgProject *proj) |
| bool | findNextInstruction (SgNode *node, rose_addr_t &out) |
| SgProject * | getProjectOf (SgNode *node) |
| typedef std::vector<SgNode *> SgNodeVector |
Definition at line 16 of file SgNodeUtil.h.
| void deleteFileFromProject | ( | SgFile * | file, | |
| SgProject * | proj | |||
| ) |
Removes an SgFile from a project and deletes the file file may be NULL, then nothing is done
Definition at line 92 of file SgNodeUtil.cpp.
Referenced by SourceFileNode::rebuild(), BinaryFileNode::rebuild(), BinaryFileNode::~BinaryFileNode(), and SourceFileNode::~SourceFileNode().
Here is the caller graph for this function:

| bool findNextInstruction | ( | SgNode * | node, | |
| rose_addr_t & | out | |||
| ) |
tries to find the target of a call or jmp if successful it returns true, and the address is written to out
Definition at line 107 of file SgNodeUtil.cpp.
Referenced by AsmView::addArrows().
Here is the caller graph for this function:

| std::vector<SgNode *> getLinkedBinaryNodes | ( | SgNode * | node | ) |
| std::vector<SgNode *> getLinkedSourceNodes | ( | SgNode * | node | ) |
Definition at line 73 of file SgNodeUtil.cpp.
| SgProject* getProjectOf | ( | SgNode * | node | ) |
Definition at line 138 of file SgNodeUtil.cpp.
Referenced by CallGraphWidget::updateGraph(), and AsmView::updateModel().
Here is the caller graph for this function:

| SgFile* getSgFile | ( | SgNode * | node | ) |
Definition at line 13 of file SgNodeUtil.cpp.
Referenced by SrcBinView::dropEvent(), isBinaryNode(), and isSourceNode().
Here is the caller graph for this function:

| bool isAncestor | ( | SgNode * | parent, | |
| SgNode * | child | |||
| ) |
| bool isBinaryNode | ( | SgNode * | node | ) |
| bool isSourceNode | ( | SgNode * | node | ) |
Definition at line 36 of file SgNodeUtil.cpp.
Referenced by AsmInstructionsBar::setNode(), and AsmInstructionsBar::setRoot().
Here is the call graph for this function:

1.4.7