KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KUNAI::DEX::FieldAnalysis Class Reference

specification of a field analysis More...

#include <analysis.hpp>

Public Member Functions

 FieldAnalysis (EncodedField *field)
 
EncodedFieldget_field ()
 
std::string & get_name ()
 
const std::vector< std::tuple< ClassAnalysis *, MethodAnalysis *, std::uint64_t > > & get_xrefread () const
 
std::vector< std::tuple< ClassAnalysis *, MethodAnalysis *, std::uint64_t > > & get_xrefread ()
 
const std::vector< std::tuple< ClassAnalysis *, MethodAnalysis *, std::uint64_t > > & get_xrefwrite () const
 
std::vector< std::tuple< ClassAnalysis *, MethodAnalysis *, std::uint64_t > > & get_xrefwrite ()
 
void add_xrefread (ClassAnalysis *c, MethodAnalysis *m, std::uint64_t offset)
 Add a cross reference where the field is read in code.
 
void add_xrefwrite (ClassAnalysis *c, MethodAnalysis *m, std::uint64_t offset)
 Add a cross reference where the field is written in code.
 

Detailed Description

specification of a field analysis

Member Function Documentation

◆ add_xrefread()

void KUNAI::DEX::FieldAnalysis::add_xrefread ( ClassAnalysis c,
MethodAnalysis m,
std::uint64_t  offset 
)
inline

Add a cross reference where the field is read in code.

Parameters
cclass where is read
mmethod where is read
offsetidx where is read

◆ add_xrefwrite()

void KUNAI::DEX::FieldAnalysis::add_xrefwrite ( ClassAnalysis c,
MethodAnalysis m,
std::uint64_t  offset 
)
inline

Add a cross reference where the field is written in code.

Parameters
cclass where is written
mmethod where is written
offsetidx where is written

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