16#ifndef LIEF_OAT_METHOD_H
17#define LIEF_OAT_METHOD_H
84 Class* class_ =
nullptr;
Class which represents a DEX::Method.
Definition DEX/Method.hpp:36
Definition OAT/Class.hpp:35
Definition OAT/Method.hpp:34
const DEX::dex2dex_method_info_t & dex2dex_info() const
std::vector< uint8_t > quick_code_t
Container for the Quick Code.
Definition OAT/Method.hpp:39
bool has_dex_method() const
Check if a LIEF::DEX::Method is associated with this Method.
DEX::Method * dex_method()
Method(DEX::Method *method, Class *oat_class, std::vector< uint8_t > code={})
const DEX::Method * dex_method() const
LIEF::DEX::Method associated (if any)
bool is_dex2dex_optimized() const
True if the optimization is DEX.
std::string name() const
Method's name.
friend std::ostream & operator<<(std::ostream &os, const Method &meth)
void accept(Visitor &visitor) const override
const Class * oat_class() const
OAT Class associated with this Method.
Method & operator=(const Method &)
void quick_code(const quick_code_t &code)
const quick_code_t & quick_code() const
Quick code associated with the method.
Class to parse an OAT file to produce an OAT::Binary.
Definition OAT/Parser.hpp:38
Definition Visitor.hpp:224
std::unordered_map< uint32_t, uint32_t > dex2dex_method_info_t
Definition deopt.hpp:27
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41