32 using DynamicEntry::DynamicEntry;
35 DynamicEntry::DynamicEntry{DynamicEntry::TAG::NEEDED, 0}
39 DynamicEntry::DynamicEntry{DynamicEntry::TAG::NEEDED, 0},
40 libname_(std::move(name))
46 std::unique_ptr<DynamicEntry> clone()
const override {
51 const std::string&
name()
const {
55 void name(std::string name) {
56 libname_ = std::move(name);
59 static bool classof(
const DynamicEntry* entry) {
60 return entry->tag() == DynamicEntry::TAG::NEEDED;
63 void accept(Visitor& visitor)
const override;
65 std::ostream& print(std::ostream& os)
const override;
Class which represents a DT_NEEDED entry in the dynamic table.
Definition DynamicEntryLibrary.hpp:29
const std::string & name() const
Return the library associated with this entry (e.g. libc.so.6)
Definition DynamicEntryLibrary.hpp:51
Class which represents an entry in the dynamic table These entries are located in the ....
Definition DynamicEntry.hpp:37