]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/parsers/macho_dylib_file.h
ld64-224.1.tar.gz
[apple/ld64.git] / src / ld / parsers / macho_dylib_file.h
index ad03af1af1c9e0f5811037018f0f7331bfd55f82..4d093f139d921e3528a32e3bcb42eb74d972c2fd 100644 (file)
 namespace mach_o {
 namespace dylib {
 
+
+extern bool isDylibFile(const uint8_t* fileContent, cpu_type_t* result, cpu_subtype_t* subResult);                                     
+
+extern const char* archName(const uint8_t* fileContent);
+
+
 extern ld::dylib::File* parse(const uint8_t* fileContent, uint64_t fileLength, const char* path, 
                                                                time_t modTime, const Options& opts, ld::File::Ordinal ordinal, 
                                                                bool bundleLoader, bool indirectDylib);