LIEF: Library to Instrument Executable Formats Version 0.15.0
|
Class which represents the map_list
structure that follows the main DEX header.
More...
#include <MapList.hpp>
Public Types | |
using | items_t = std::map<MapItem::TYPES, MapItem> |
using | it_items_t = ref_iterator<std::vector<MapItem*>> |
using | it_const_items_t = const_ref_iterator<std::vector<MapItem*>> |
Public Types inherited from LIEF::Object | |
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>>> |
Public Member Functions | |
MapList (const MapList &) | |
MapList & | operator= (const MapList &) |
it_items_t | items () |
Iterator over LIEF::DEX::MapItem. | |
it_const_items_t | items () const |
bool | has (MapItem::TYPES type) const |
Check if the given type exists. | |
const MapItem & | get (MapItem::TYPES type) const |
Return the LIEF::DEX::MapItem associated with the given type. | |
MapItem & | get (MapItem::TYPES type) |
Return the LIEF::DEX::MapItem associated with the given type. | |
const MapItem & | operator[] (MapItem::TYPES type) const |
Return the LIEF::DEX::MapItem associated with the given type. | |
MapItem & | operator[] (MapItem::TYPES type) |
Return the LIEF::DEX::MapItem associated with the given type. | |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::Object | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
template<class T > | |
output_t< T > | as () |
template<class T > | |
output_const_t< T > | as () const |
virtual bool | operator== (const Object &other) const |
virtual bool | operator!= (const Object &other) const |
Class which represents the map_list
structure that follows the main DEX header.
This MapList aims at referencing the location of other DEX structures as described in https://source.android.com/devices/tech/dalvik/dex-format#map-item
|
overridevirtual |
Implements LIEF::Object.