Class that represents a DEX file.
More...
#include <File.hpp>
|
using | classes_t = std::unordered_map<std::string, Class*> |
|
using | classes_list_t = std::vector<std::unique_ptr<Class>> |
|
using | it_classes = ref_iterator<classes_list_t&, Class*> |
|
using | it_const_classes = const_ref_iterator<const classes_list_t&, const Class*> |
|
using | methods_t = std::vector<std::unique_ptr<Method>> |
|
using | it_methods = ref_iterator<methods_t&, Method*> |
|
using | it_const_methods = const_ref_iterator<const methods_t&, const Method*> |
|
using | strings_t = std::vector<std::unique_ptr<std::string>> |
|
using | it_strings = ref_iterator<strings_t&, std::string*> |
|
using | it_const_strings = const_ref_iterator<const strings_t&, const std::string*> |
|
using | types_t = std::vector<std::unique_ptr<Type>> |
|
using | it_types = ref_iterator<types_t&, Type*> |
|
using | it_const_types = const_ref_iterator<const types_t&, const Type*> |
|
using | prototypes_t = std::vector<std::unique_ptr<Prototype>> |
|
using | it_prototypes = ref_iterator<prototypes_t&, Prototype*> |
|
using | it_const_prototypes = const_ref_iterator<const prototypes_t&, const Prototype*> |
|
using | fields_t = std::vector<std::unique_ptr<Field>> |
|
using | it_fields = ref_iterator<fields_t&, Field*> |
|
using | it_const_fields = const_ref_iterator<const fields_t&, const Field*> |
|
template<class T > |
using | output_t = add_pointer_t<decay_t<T>> |
|
template<class T > |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
|
Class that represents a DEX file.
◆ classes_list_t
◆ classes_t
◆ fields_t
◆ it_classes
◆ it_const_classes
◆ it_const_fields
◆ it_const_methods
◆ it_const_prototypes
◆ it_const_strings
◆ it_const_types
◆ it_fields
◆ it_methods
◆ it_prototypes
◆ it_strings
◆ it_types
◆ methods_t
◆ prototypes_t
◆ strings_t
◆ types_t
◆ File()
LIEF::DEX::File::File |
( |
const File & | copy | ) |
|
|
delete |
◆ ~File()
LIEF::DEX::File::~File |
( |
| ) |
|
|
override |
◆ accept()
void LIEF::DEX::File::accept |
( |
Visitor & | visitor | ) |
const |
|
overridevirtual |
◆ classes() [1/2]
◆ classes() [2/2]
All classes used in the DEX file
◆ dex2dex_info()
◆ dex2dex_json_info()
std::string LIEF::DEX::File::dex2dex_json_info |
( |
| ) |
const |
De-optimize information as JSON.
◆ fields() [1/2]
◆ fields() [2/2]
Return an iterator over all the DEX::Field used in this DEX file.
◆ get_class() [1/4]
Class * LIEF::DEX::File::get_class |
( |
const std::string & | class_name | ) |
|
◆ get_class() [2/4]
const Class * LIEF::DEX::File::get_class |
( |
const std::string & | class_name | ) |
const |
Return the DEX::Class object associated with the given name.
◆ get_class() [3/4]
Class * LIEF::DEX::File::get_class |
( |
size_t | index | ) |
|
◆ get_class() [4/4]
const Class * LIEF::DEX::File::get_class |
( |
size_t | index | ) |
const |
Return the DEX::Class object associated with the given index.
◆ has_class()
bool LIEF::DEX::File::has_class |
( |
const std::string & | class_name | ) |
const |
Check if the given class name exists.
◆ header() [1/2]
Header & LIEF::DEX::File::header |
( |
| ) |
|
◆ header() [2/2]
const Header & LIEF::DEX::File::header |
( |
| ) |
const |
◆ location() [1/2]
const std::string & LIEF::DEX::File::location |
( |
| ) |
const |
◆ location() [2/2]
void LIEF::DEX::File::location |
( |
const std::string & | location | ) |
|
◆ map() [1/2]
◆ map() [2/2]
const MapList & LIEF::DEX::File::map |
( |
| ) |
const |
◆ methods() [1/2]
◆ methods() [2/2]
◆ name() [1/2]
const std::string & LIEF::DEX::File::name |
( |
| ) |
const |
◆ name() [2/2]
void LIEF::DEX::File::name |
( |
const std::string & | name | ) |
|
◆ operator=()
File & LIEF::DEX::File::operator= |
( |
const File & | copy | ) |
|
|
delete |
◆ prototypes() [1/2]
◆ prototypes() [2/2]
◆ raw()
std::vector< uint8_t > LIEF::DEX::File::raw |
( |
bool | deoptimize = true | ) |
const |
◆ save()
std::string LIEF::DEX::File::save |
( |
const std::string & | path = "", |
|
|
bool | deoptimize = true ) const |
Extract the current dex file and deoptimize it.
◆ strings() [1/2]
◆ strings() [2/2]
◆ types() [1/2]
◆ types() [2/2]
◆ version()
Version of the current DEX file.
The documentation for this class was generated from the following file: