LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
LIEF::OAT::Method Class Reference
Inheritance diagram for LIEF::OAT::Method:
Inheritance graph
[legend]
Collaboration diagram for LIEF::OAT::Method:
Collaboration graph
[legend]

Public Types

using quick_code_t = std::vector<uint8_t>
 Container for the Quick Code.
 
- 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

 Method (DEX::Method *method, Class *oat_class, std::vector< uint8_t > code={})
 
 Method (const Method &)
 
Methodoperator= (const Method &)
 
std::string name () const
 Method's name.
 
const Classoat_class () const
 OAT Class associated with this Method.
 
Classoat_class ()
 
bool has_dex_method () const
 Check if a LIEF::DEX::Method is associated with this Method.
 
const DEX::Methoddex_method () const
 LIEF::DEX::Method associated (if any)
 
DEX::Methoddex_method ()
 
bool is_dex2dex_optimized () const
 True if the optimization is DEX.
 
bool is_compiled () const
 
const DEX::dex2dex_method_info_t & dex2dex_info () const
 
const quick_code_tquick_code () const
 Quick code associated with the method.
 
void quick_code (const quick_code_t &code)
 
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
 

Member Function Documentation

◆ accept()

void LIEF::OAT::Method::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.


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