16#ifndef LIEF_ELF_DYNAMIC_ENTRY_RUNPATH_H
17#define LIEF_ELF_DYNAMIC_ENTRY_RUNPATH_H
55 std::unique_ptr<DynamicEntry>
clone()
const override {
69 std::vector<std::string>
paths()
const;
96 std::ostream&
print(std::ostream& os)
const override;
101 std::string runpath_;
void accept(Visitor &visitor) const override
std::unique_ptr< DynamicEntry > clone() const override
Definition DynamicEntryRunPath.hpp:55
DynamicEntryRunPath & insert(size_t pos, const std::string &path)
Insert a path at the given position.
DynamicEntryRunPath(const DynamicEntryRunPath &)=default
DynamicEntryRunPath & append(const std::string &path)
Append the given path.
DynamicEntryRunPath & remove(const std::string &path)
Remove the given path.
DynamicEntryRunPath(std::string runpath)
Constructor from (run)path.
Definition DynamicEntryRunPath.hpp:42
void paths(const std::vector< std::string > &paths)
static constexpr char delimiter
Definition DynamicEntryRunPath.hpp:35
std::string_view runpath() const
Runpath raw value.
Definition DynamicEntryRunPath.hpp:60
DynamicEntryRunPath(const std::vector< std::string > &paths)
Constructor from a list of paths.
Definition DynamicEntryRunPath.hpp:47
void runpath(std::string runpath)
Definition DynamicEntryRunPath.hpp:64
std::ostream & print(std::ostream &os) const override
~DynamicEntryRunPath() override=default
std::vector< std::string > paths() const
Paths as a list.
DynamicEntryRunPath & operator-=(const std::string &path)
Definition DynamicEntryRunPath.hpp:86
DynamicEntryRunPath & operator+=(const std::string &path)
Definition DynamicEntryRunPath.hpp:82
static bool classof(const DynamicEntry *entry)
Definition DynamicEntryRunPath.hpp:92
DynamicEntryRunPath()
Definition DynamicEntryRunPath.hpp:38
DynamicEntryRunPath & operator=(const DynamicEntryRunPath &)=default
TAG
Definition DynamicEntry.hpp:49
@ RUNPATH
Definition DynamicEntry.hpp:80
TAG tag() const
Tag of the current entry. The most common tags are: DT_NEEDED, DT_INIT, ...
Definition DynamicEntry.hpp:252
Definition Visitor.hpp:212
#define LIEF_LIFETIMEBOUND
Definition compiler_attributes.hpp:72
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
#define LIEF_API
Definition visibility.h:45