dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
call_graph.hpp File Reference
#include <cstdint>
#include <functional>
#include <optional>
#include <span>
#include <string>
#include <unordered_map>
#include <vector>
#include "common/ids.hpp"

Classes

struct  dex::CallEdge
 A single call-site edge from one method to another. More...
 
struct  dex::CallNode
 A node in the call graph: a defined method, an external method that defined code calls, or an invoke-custom call site (see CallNodeKind). More...
 
class  dex::CallGraph
 Whole-program call graph for an AnalysisContext. More...
 

Namespaces

namespace  dex
 

Enumerations

enum class  dex::InvokeKind : uint8_t {
  dex::Virtual , dex::Super , dex::Direct , dex::Static ,
  dex::Interface , dex::Polymorphic , dex::Custom
}
 Kind of invoke instruction at a call site, derived from the opcode. More...
 
enum class  dex::EdgeOrigin : uint8_t { dex::Declared , dex::InheritedResolution }
 How an edge came to point at its callee. More...
 
enum class  dex::CallNodeKind : uint8_t { dex::Defined , dex::External , dex::CallSite }
 What a call-graph node stands for. More...