16#ifndef LIEF_ELF_ANDROID_IDENT_H
17#define LIEF_ELF_ANDROID_IDENT_H
40 std::unique_ptr<Note>
clone()
const override {
41 return std::make_unique<AndroidIdent>(*
this);
57 void dump(std::ostream& os)
const override;
Class representing the ".note.android.ident" section.
Definition AndroidIdent.hpp:33
std::unique_ptr< Note > clone() const override
Clone the current note and keep its polymorphic type.
Definition AndroidIdent.hpp:40
void ndk_build_number(std::string_view ndk_build_number)
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:37
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:67
friend std::ostream & operator<<(std::ostream &os, const AndroidIdent ¬e)
Definition AndroidIdent.hpp:71
void dump(std::ostream &os) const override
static bool classof(const Note *note)
Definition AndroidIdent.hpp:61
void accept(Visitor &visitor) const override
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:35
void ndk_version(std::string_view ndk_version)
void sdk_version(uint32_t version)
static constexpr size_t ndk_version_size
Definition AndroidIdent.hpp:36
@ ANDROID_IDENT
Note that is specific to Android and that describes information such as the NDK version or the SDK bu...
Definition Note.hpp:124
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:206
Note(const Note ©)=default
Definition Visitor.hpp:212
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
lief_version_t version()
Return the current version.
#define LIEF_API
Definition visibility.h:45