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

In case something unknown is found, we categorize it. More...

#include <types.hpp>

Inheritance diagram for KUNAI::DEX::Unknown:
Inheritance graph
[legend]
Collaboration diagram for KUNAI::DEX::Unknown:
Collaboration graph
[legend]

Public Member Functions

 Unknown (std::string raw)
 Constructor of unknown type.
 
 ~Unknown ()=default
 Destructor of unknown type.
 
type_e get_type () const override
 Get Unkown type.
 
std::string print_type () const override
 Get Unkown type as a string.
 
- Public Member Functions inherited from KUNAI::DEX::DVMType
 DVMType (type_e type, std::string raw_type)
 Constructor of DVMType.
 
virtual ~DVMType ()=default
 Destructor of DVMType.
 
std::string & get_raw ()
 get raw string from the type object
 
virtual const std::string & pretty_print ()
 Pretty print the name of the type.
 

Additional Inherited Members

- Public Types inherited from KUNAI::DEX::DVMType
enum  type_e { FUNDAMENTAL , CLASS , ARRAY , UNKNOWN }
 Types of the DVM we have by default fundamental, classes and array types. More...
 

Detailed Description

In case something unknown is found, we categorize it.

Constructor & Destructor Documentation

◆ Unknown()

KUNAI::DEX::Unknown::Unknown ( std::string  raw)
inline

Constructor of unknown type.

Parameters
typetype to be stored in parent class
rawraw

Member Function Documentation

◆ get_type()

type_e KUNAI::DEX::Unknown::get_type ( ) const
inlineoverridevirtual

Get Unkown type.

Returns
UNKNOWN value

Implements KUNAI::DEX::DVMType.

◆ print_type()

std::string KUNAI::DEX::Unknown::print_type ( ) const
inlineoverridevirtual

Get Unkown type as a string.

Returns
UNKNOWN value as string

Implements KUNAI::DEX::DVMType.


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