16#ifndef LIEF_DSC_DYLIB_H
17#define LIEF_DSC_DYLIB_H
45 std::unique_ptr<Dylib>, std::ptrdiff_t, Dylib*,
46 std::unique_ptr<Dylib>>
51 Iterator(std::unique_ptr<details::DylibIt> impl);
61 std::ptrdiff_t operator-(const
Iterator& R) const;
75 std::unique_ptr<details::DylibIt> impl_;
122 Dylib(std::unique_ptr<details::Dylib> impl);
153 std::unique_ptr<details::Dylib> impl_;
Class which represents a MachO binary.
Definition MachO/Binary.hpp:88
Iterator & operator=(const Iterator &)
std::unique_ptr< Dylib > operator*() const
Iterator(const Iterator &)
details::DylibIt implementation
Definition Dylib.hpp:49
Iterator(std::unique_ptr< details::DylibIt > impl)
Iterator(Iterator &&) noexcept
std::string path() const
Original path of the library (e.g. /usr/lib/libcryptex.dylib).
uint64_t modtime() const
Modification time of the library matching stat.st_mtime, or 0.
uint64_t padding() const
Padding alignment value (should be 0).
std::unique_ptr< LIEF::MachO::Binary > get(const extract_opt_t &opt=extract_opt_t()) const
Get a MachO::Binary representation for this Dylib.
uint64_t inode() const
File serial number matching stat.st_ino or 0.
uint64_t address() const
In-memory address of the library.
Dylib(std::unique_ptr< details::Dylib > impl)
CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of ...
Definition iterators.hpp:590
Namespace related to the LIEF's Mach-O module.
Definition Abstract/Header.hpp:36
Definition DyldSharedCache/DyldSharedCache.hpp:35
Namespace related to the dyld shared cache support.
Definition caching.hpp:22
LIEF namespace.
Definition Abstract/Binary.hpp:40
tl::expected< T, lief_errors > result
Wrapper that contains an Object (T) or an error.
Definition errors.hpp:75
#define LIEF_API
Definition visibility.h:41