This repository was archived by the owner on Feb 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -999,7 +999,7 @@ file_magic identify_magic(StringRef Magic) {
999
999
case 6 : return file_magic::macho_dynamically_linked_shared_lib;
1000
1000
case 7 : return file_magic::macho_dynamic_linker;
1001
1001
case 8 : return file_magic::macho_bundle;
1002
- case 9 : return file_magic::macho_dynamic_linker ;
1002
+ case 9 : return file_magic::macho_dynamically_linked_shared_lib_stub ;
1003
1003
case 10 : return file_magic::macho_dsym_companion;
1004
1004
}
1005
1005
break ;
Original file line number Diff line number Diff line change @@ -501,6 +501,8 @@ const char macho_dynamic_linker[] = "\xfe\xed\xfa\xce..........\x00\x07";
501
501
const char macho_bundle[] = " \xfe\xed\xfa\xce ..........\x00\x08 " ;
502
502
const char macho_dsym_companion[] = " \xfe\xed\xfa\xce ..........\x00\x0a " ;
503
503
const char windows_resource[] = " \x00\x00\x00\x00\x020\x00\x00\x00\xff " ;
504
+ const char macho_dynamically_linked_shared_lib_stub[] =
505
+ " \xfe\xed\xfa\xce ..........\x00\x09 " ;
504
506
505
507
TEST_F (FileSystemTest, Magic) {
506
508
struct type {
@@ -526,6 +528,7 @@ TEST_F(FileSystemTest, Magic) {
526
528
DEFINE (macho_dynamically_linked_shared_lib),
527
529
DEFINE (macho_dynamic_linker),
528
530
DEFINE (macho_bundle),
531
+ DEFINE (macho_dynamically_linked_shared_lib_stub),
529
532
DEFINE (macho_dsym_companion),
530
533
DEFINE (windows_resource)
531
534
#undef DEFINE
You can’t perform that action at this time.
0 commit comments