LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <LIEF/visibility.h>
#include "LIEF/BinaryStream/FileStream.hpp"
#include "LIEF/BinaryStream/SpanStream.hpp"
#include <string>
Include dependency graph for DyldSharedCache/utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LIEF
 LIEF namespace.
namespace  LIEF::dsc
 Namespace related to the dyld shared cache support.

Functions

bool LIEF::dsc::is_shared_cache (BinaryStream &stream)
 Check if the given stream wraps a Dyld Shared Cache.
bool LIEF::dsc::is_shared_cache (const std::string &file)
 Check if the file is a dyld shared cache.
bool LIEF::dsc::is_shared_cache (const uint8_t *buffer, size_t size)
 Check if the given buffer points to a dyld shared cache file.
bool LIEF::dsc::is_shared_cache (const std::vector< uint8_t > &buffer)
 Check if the given buffer points to a dyld shared cache file.