|
LIEF: Library to Instrument Executable Formats Version 0.17.4
|
#include <Method.hpp>


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 () | |
| Method (DEX::Method *method, Class *oat_class, std::vector< uint8_t > code={}) | |
| Method (const Method &) | |
| Method & | operator= (const Method &) |
| std::string | name () const |
| Method's name. | |
| const Class * | oat_class () const |
| OAT Class associated with this Method. | |
| Class * | oat_class () |
| bool | has_dex_method () const |
| Check if a LIEF::DEX::Method is associated with this Method. | |
| const DEX::Method * | dex_method () const |
| LIEF::DEX::Method associated (if any). | |
| DEX::Method * | dex_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_t & | quick_code () const |
| Quick code associated with the method. | |
| void | quick_code (const quick_code_t &code) |
| void | accept (Visitor &visitor) const override |
| ~Method () override | |
| Public Member Functions inherited from LIEF::Object | |
| Object () | |
| Object (const Object &other) | |
| Object & | operator= (const Object &other) |
| Object (Object &&other) noexcept=default | |
| Object & | operator= (Object &&other) noexcept=default |
| 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 |
| virtual | ~Object () |
| using LIEF::OAT::Method::quick_code_t = std::vector<uint8_t> |
Container for the Quick Code.
| LIEF::OAT::Method::Method | ( | ) |
Referenced by Method(), operator<<, and operator=().
| LIEF::OAT::Method::Method | ( | DEX::Method * | method, |
| Class * | oat_class, | ||
| std::vector< uint8_t > | code = {} ) |
References oat_class().
| LIEF::OAT::Method::Method | ( | const Method & | ) |
References Method().
|
override |
|
overridevirtual |
Implements LIEF::Object.
| const DEX::dex2dex_method_info_t & LIEF::OAT::Method::dex2dex_info | ( | ) | const |
| DEX::Method * LIEF::OAT::Method::dex_method | ( | ) |
| const DEX::Method * LIEF::OAT::Method::dex_method | ( | ) | const |
LIEF::DEX::Method associated (if any).
| bool LIEF::OAT::Method::has_dex_method | ( | ) | const |
Check if a LIEF::DEX::Method is associated with this Method.
| bool LIEF::OAT::Method::is_compiled | ( | ) | const |
| bool LIEF::OAT::Method::is_dex2dex_optimized | ( | ) | const |
True if the optimization is DEX.
| std::string LIEF::OAT::Method::name | ( | ) | const |
Method's name.
| Class * LIEF::OAT::Method::oat_class | ( | ) |
| const Class * LIEF::OAT::Method::oat_class | ( | ) | const |
| const quick_code_t & LIEF::OAT::Method::quick_code | ( | ) | const |
Quick code associated with the method.
| void LIEF::OAT::Method::quick_code | ( | const quick_code_t & | code | ) |