16#ifndef LIEF_DSC_SUBCACHE_H
17#define LIEF_DSC_SUBCACHE_H
43 std::unique_ptr<SubCache>, std::ptrdiff_t, SubCache*,
44 std::unique_ptr<SubCache>
51 Iterator(std::unique_ptr<details::SubCacheIt> impl);
61 std::ptrdiff_t operator-(const
Iterator& R) const;
75 std::unique_ptr<details::SubCacheIt> impl_;
79 SubCache(std::unique_ptr<details::SubCache> impl);
92 std::unique_ptr<const DyldSharedCache>
cache()
const;
98 std::unique_ptr<details::SubCache> impl_;
This class represents a dyld shared cache file.
Definition DyldSharedCache/DyldSharedCache.hpp:40
details::SubCacheIt implementation
Definition SubCache.hpp:49
std::unique_ptr< SubCache > operator*() const
Iterator(std::unique_ptr< details::SubCacheIt > impl)
Iterator(const Iterator &)
Iterator(Iterator &&) noexcept
Iterator & operator=(const Iterator &)
std::unique_ptr< const DyldSharedCache > cache() const
The associated DyldSharedCache object for this subcache.
SubCache(std::unique_ptr< details::SubCache > impl)
sc_uuid_t uuid() const
The uuid of the subcache file.
uint64_t vm_offset() const
The offset of this subcache from the main cache base address.
std::string suffix() const
The file name suffix of the subCache file (e.g. .25.data, .03.development).
friend std::ostream & operator<<(std::ostream &os, const SubCache &subcache)
CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of ...
Definition iterators.hpp:590
Definition DyldSharedCache/DyldSharedCache.hpp:35
Namespace related to the dyld shared cache support.
Definition caching.hpp:22
std::array< uint8_t, 16 > sc_uuid_t
UUID used in different places of the shared cache.
Definition uuid.hpp:26
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41