|
dex++ 0.3.1
C++ and C API reference
|
A single call-site edge from one method to another. More...
#include <analysis/call_graph.hpp>
Public Attributes | |
| uint32_t | caller_node |
| Index into CallGraph::nodes(). | |
| uint32_t | callee_node |
| Index into CallGraph::nodes(). | |
| InvokeKind | kind |
| uint32_t | code_offset |
| Code-unit offset of the invoke within the caller's code_item. | |
| EdgeOrigin | origin = EdgeOrigin::Declared |
A single call-site edge from one method to another.
A call site has one Declared edge and at most one InheritedResolution edge; both share caller_node, kind, and code_offset. The site's possible callees — those edges' callees plus CallGraph::dispatch_targets(edge) — are pairwise distinct, and every one except the Declared callee is a Defined node.
| uint32_t dex::CallEdge::caller_node |
Index into CallGraph::nodes().
| uint32_t dex::CallEdge::callee_node |
Index into CallGraph::nodes().
| InvokeKind dex::CallEdge::kind |
| uint32_t dex::CallEdge::code_offset |
Code-unit offset of the invoke within the caller's code_item.
| EdgeOrigin dex::CallEdge::origin = EdgeOrigin::Declared |