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

Information for the list of annotations for the fields. More...

#include <annotations.hpp>

Public Member Functions

 FieldAnnotation (std::uint32_t field_idx, std::uint32_t annotations_off)
 Constructor of FieldAnnotation.
 
 ~FieldAnnotation ()=default
 Destructor of FieldAnnotation.
 
std::uint32_t get_field_idx () const
 Get the field idx of the annotation.
 
std::uint32_t get_annotations_off () const
 Get the offset of the annotation.
 

Detailed Description

Information for the list of annotations for the fields.

Constructor & Destructor Documentation

◆ FieldAnnotation()

KUNAI::DEX::FieldAnnotation::FieldAnnotation ( std::uint32_t  field_idx,
std::uint32_t  annotations_off 
)
inline

Constructor of FieldAnnotation.

Parameters
field_idxidx of the field
annotations_offoffset to the annotations

Member Function Documentation

◆ get_annotations_off()

std::uint32_t KUNAI::DEX::FieldAnnotation::get_annotations_off ( ) const
inline

Get the offset of the annotation.

Returns
offset of the annotation

◆ get_field_idx()

std::uint32_t KUNAI::DEX::FieldAnnotation::get_field_idx ( ) const
inline

Get the field idx of the annotation.

Returns
field idx of the annotation

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