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::EncodedField Class Reference

Class that represent field information it contains a FieldID and also the access flags. More...

#include <encoded.hpp>

Public Member Functions

 EncodedField (FieldID *field_idx, TYPES::access_flags flags)
 Constructor of an encoded field.
 
 ~EncodedField ()=default
 Destructor of Encoded Field.
 
const FieldIDget_field () const
 Get a constant pointer to the FieldID.
 
FieldIDget_field ()
 Get a pointer to the FieldID.
 
TYPES::access_flags get_access_flags () const
 Get the access flags from the Field.
 
void set_initial_value (EncodedArray *initial_value)
 Those fields that are static contains an initial value.
 
EncodedArrayget_initial_value ()
 

Detailed Description

Class that represent field information it contains a FieldID and also the access flags.

Constructor & Destructor Documentation

◆ EncodedField()

KUNAI::DEX::EncodedField::EncodedField ( FieldID field_idx,
TYPES::access_flags  flags 
)
inline

Constructor of an encoded field.

Parameters
field_idxFieldID for the encoded field
flags

Member Function Documentation

◆ get_access_flags()

TYPES::access_flags KUNAI::DEX::EncodedField::get_access_flags ( ) const
inline

Get the access flags from the Field.

Returns
access flags

◆ get_field() [1/2]

FieldID * KUNAI::DEX::EncodedField::get_field ( )
inline

Get a pointer to the FieldID.

Returns
pointer to the FieldID

◆ get_field() [2/2]

const FieldID * KUNAI::DEX::EncodedField::get_field ( ) const
inline

Get a constant pointer to the FieldID.

Returns
constant pointer to the FieldID

◆ set_initial_value()

void KUNAI::DEX::EncodedField::set_initial_value ( EncodedArray initial_value)
inline

Those fields that are static contains an initial value.

Parameters
initial_value

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