LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
caching.hpp File Reference
#include <string>
#include "LIEF/visibility.h"
Include dependency graph for caching.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::enable_cache ()
 Enable globally cache/memoization. One can also leverage this function by setting the environment variable DYLDSC_ENABLE_CACHE to 1
 
bool LIEF::dsc::enable_cache (const std::string &dir)
 Same behavior as enable_cache() but with a user-provided cache directory.