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

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

#include <annotations.hpp>

Public Member Functions

 MethodAnnotation (std::uint32_t method_idx, std::uint32_t annotations_off)
 Constructor of MethodAnnotations.
 
 ~MethodAnnotation ()=default
 Destructor of the method annotations.
 
std::uint32_t get_method_idx () const
 Obtain the method idx of the current method annotation.
 
std::uint32_t get_annotations_off () const
 Obtain the offset of the annotations.
 

Detailed Description

Information for the list of annotations for the methods.

Constructor & Destructor Documentation

◆ MethodAnnotation()

KUNAI::DEX::MethodAnnotation::MethodAnnotation ( std::uint32_t  method_idx,
std::uint32_t  annotations_off 
)
inline

Constructor of MethodAnnotations.

Parameters
method_idxidx of the method of the annotations
annotations_offoffset with the annotations

Member Function Documentation

◆ get_annotations_off()

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

Obtain the offset of the annotations.

Returns
offset of method annotations

◆ get_method_idx()

std::uint32_t KUNAI::DEX::MethodAnnotation::get_method_idx ( ) const
inline

Obtain the method idx of the current method annotation.

Returns
method idx of the annotation

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