16#ifndef LIEF_ELF_ANDROID_IDENT_H
17#define LIEF_ELF_ANDROID_IDENT_H
38 std::unique_ptr<Note>
clone()
const override {
39 return std::unique_ptr<AndroidIdent>(
new AndroidIdent(*
this));
55 void dump(std::ostream& os)
const override;
Class representing the ".note.android.ident" section.
Definition AndroidIdent.hpp:31
std::unique_ptr< Note > clone() const override
Clone the current note and keep its polymorphic type.
Definition AndroidIdent.hpp:38
std::string ndk_build_number() const
NDK build number (or an empty string if it can't be parsed).
~AndroidIdent() override=default
static constexpr size_t ndk_build_number_size
Definition AndroidIdent.hpp:35
std::string ndk_version() const
NDK version used (or an empty string if it can't be parsed).
static constexpr size_t description_size()
Definition AndroidIdent.hpp:65
void ndk_version(const std::string &ndk_version)
friend std::ostream & operator<<(std::ostream &os, const AndroidIdent ¬e)
Definition AndroidIdent.hpp:70
void dump(std::ostream &os) const override
static bool classof(const Note *note)
Definition AndroidIdent.hpp:59
void accept(Visitor &visitor) const override
void ndk_build_number(const std::string &ndk_build_number)
uint32_t sdk_version() const
Target SDK version (or 0 if it can't be resolved).
static constexpr size_t sdk_version_size
Definition AndroidIdent.hpp:33
void sdk_version(uint32_t version)
static constexpr size_t ndk_version_size
Definition AndroidIdent.hpp:34
@ ANDROID_IDENT
Note that is specific to Android and that describes information such as the NDK version or the SDK bu...
Definition Note.hpp:116
TYPE type() const
Return the type of the note. This type does not match the NT_ type value. For accessing the original ...
Definition Note.hpp:195
Note(const Note ©)=default
Definition Visitor.hpp:210
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:40
lief_version_t version()
Return the current version.
#define LIEF_API
Definition visibility.h:41