LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
LIEF::DEX::MapList Class Reference

Class which represents the map_list structure that follows the main DEX header. More...

#include <MapList.hpp>

Inheritance diagram for LIEF::DEX::MapList:
Inheritance graph
[legend]
Collaboration diagram for LIEF::DEX::MapList:
Collaboration graph
[legend]

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 &)
 
MapListoperator= (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 MapItemget (MapItem::TYPES type) const
 Return the LIEF::DEX::MapItem associated with the given type.
 
MapItemget (MapItem::TYPES type)
 Return the LIEF::DEX::MapItem associated with the given type.
 
const MapItemoperator[] (MapItem::TYPES type) const
 Return the LIEF::DEX::MapItem associated with the given type.
 
MapItemoperator[] (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)
 
Objectoperator= (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
 

Detailed Description

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

Member Function Documentation

◆ accept()

void LIEF::DEX::MapList::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.


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