X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/cf998323777926f4bc8fbc6ad67aa0024dd08df2..refs/heads/master:/src/dyld2.h diff --git a/src/dyld2.h b/src/dyld2.h index cf82ca6..8c76393 100644 --- a/src/dyld2.h +++ b/src/dyld2.h @@ -123,8 +123,6 @@ namespace dyld { extern bool processIsRestricted(); extern const char* getStandardSharedCacheFilePath(); extern bool hasInsertedOrInterposingLibraries(); - extern int my_stat(const char* path, struct stat* buf); - extern int my_open(const char* path, int flag, int other); bool sandboxBlockedOpen(const char* path); bool sandboxBlockedMmap(const char* path); bool sandboxBlockedStat(const char* path); @@ -141,4 +139,7 @@ namespace dyld { bool isPathInCache(const char* path); const char* getPathFromIndex(unsigned cacheIndex); #endif +#if defined(__x86_64__) + bool isTranslated(); +#endif }