Skip to content

Commit 02fc2fe

Browse files
committed
Fix magic data
1 parent 8357a69 commit 02fc2fe

File tree

4 files changed

+83
-42
lines changed

4 files changed

+83
-42
lines changed

ext/fileinfo/data_file.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46355,7 +46355,7 @@ const unsigned char php_magic_database[5616144] = {
4635546355
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4635646356
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4635746357
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46358-
0x02, 0x00, 0x08, 0x00, 0x3E, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
46358+
0x01, 0x00, 0x08, 0x00, 0x3E, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
4635946359
0x00, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4636046360
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4636146361
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46376,7 +46376,7 @@ const unsigned char php_magic_database[5616144] = {
4637646376
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4637746377
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4637846378
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46379-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x08, 0x00, 0x3C, 0x00, 0x01, 0x00,
46379+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x08, 0x00, 0x3C, 0x00, 0x01, 0x00,
4638046380
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00,
4638146381
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4638246382
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46398,7 +46398,7 @@ const unsigned char php_magic_database[5616144] = {
4639846398
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4639946399
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4640046400
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46401-
0x04, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
46401+
0x03, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
4640246402
0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4640346403
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4640446404
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46419,7 +46419,7 @@ const unsigned char php_magic_database[5616144] = {
4641946419
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4642046420
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4642146421
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46422-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
46422+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
4642346423
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00,
4642446424
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x67, 0x61, 0x2D, 0x69, 0x6D, 0x61, 0x67,
4642546425
0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46441,7 +46441,7 @@ const unsigned char php_magic_database[5616144] = {
4644146441
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4644246442
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4644346443
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46444-
0x04, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
46444+
0x03, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
4644546445
0x00, 0x00, 0x00, 0x00, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4644646446
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4644746447
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46462,7 +46462,7 @@ const unsigned char php_magic_database[5616144] = {
4646246462
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4646346463
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4646446464
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46465-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
46465+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
4646646466
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00,
4646746467
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x67, 0x61, 0x2D, 0x69, 0x6D, 0x61, 0x67,
4646846468
0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46484,7 +46484,7 @@ const unsigned char php_magic_database[5616144] = {
4648446484
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4648546485
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4648646486
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46487-
0x04, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
46487+
0x03, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
4648846488
0x00, 0x00, 0x00, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4648946489
0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4649046490
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46505,7 +46505,7 @@ const unsigned char php_magic_database[5616144] = {
4650546505
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4650646506
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4650746507
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46508-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
46508+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
4650946509
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2A, 0x00, 0x00, 0x00,
4651046510
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x67, 0x61, 0x2D, 0x69, 0x6D, 0x61, 0x67,
4651146511
0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46527,7 +46527,7 @@ const unsigned char php_magic_database[5616144] = {
4652746527
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4652846528
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4652946529
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46530-
0x04, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
46530+
0x03, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
4653146531
0x00, 0x00, 0x00, 0x00, 0x2B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4653246532
0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4653346533
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46548,7 +46548,7 @@ const unsigned char php_magic_database[5616144] = {
4654846548
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4654946549
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4655046550
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46551-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
46551+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
4655246552
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2C, 0x00, 0x00, 0x00,
4655346553
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x67, 0x61, 0x2D, 0x69, 0x6D, 0x61, 0x67,
4655446554
0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46570,7 +46570,7 @@ const unsigned char php_magic_database[5616144] = {
4657046570
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4657146571
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4657246572
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46573-
0x04, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
46573+
0x03, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
4657446574
0x00, 0x00, 0x00, 0x00, 0x2D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4657546575
0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4657646576
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46591,7 +46591,7 @@ const unsigned char php_magic_database[5616144] = {
4659146591
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4659246592
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4659346593
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46594-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
46594+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
4659546595
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2E, 0x00, 0x00, 0x00,
4659646596
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x67, 0x61, 0x2D, 0x69, 0x6D, 0x61, 0x67,
4659746597
0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46613,7 +46613,7 @@ const unsigned char php_magic_database[5616144] = {
4661346613
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4661446614
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4661546615
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46616-
0x04, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
46616+
0x03, 0x00, 0x08, 0x00, 0x3D, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
4661746617
0x00, 0x00, 0x00, 0x00, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4661846618
0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4661946619
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -46634,7 +46634,7 @@ const unsigned char php_magic_database[5616144] = {
4663446634
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4663546635
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
4663646636
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46637-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
46637+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x3D, 0x09, 0x2E, 0x00,
4663846638
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00,
4663946639
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x67, 0x61, 0x2D, 0x69, 0x6D, 0x61, 0x67,
4664046640
0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

ext/fileinfo/magicdata.patch

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,44 @@ index 8785dd8..1c340be 100644
2020
0 belong 0xedfeedfe Sun 'jks' Java Keystore File data
2121
+
2222
+0 string \0volume_key volume_key escrow packet
23+
24+
25+
--- a/magic.orig.0/Magdir/images 2019-04-19 02:42:27.000000000 +0200
26+
+++ b/magic/Magdir/images 2019-06-29 16:09:31.654107495 +0200
27+
@@ -30,22 +30,22 @@
28+
# Prevent conflicts with CRI ADX.
29+
>(2.S-2) belong !0x28632943
30+
# skip more garbage like *.iso by looking for positive image type
31+
->>2 ubyte >0
32+
+>2 ubyte >0
33+
# skip some compiled terminfo like xterm+tmux by looking for image type less equal 33
34+
->>>2 ubyte <34
35+
+>>2 ubyte <34
36+
# skip arches.3200 , Finder.Root , Slp.1 by looking for low pixel depth 1 8 15 16 24 32
37+
->>>>16 ubyte 1
38+
->>>>>0 use tga-image
39+
->>>>16 ubyte 8
40+
->>>>>0 use tga-image
41+
->>>>16 ubyte 15
42+
->>>>>0 use tga-image
43+
->>>>16 ubyte 16
44+
->>>>>0 use tga-image
45+
->>>>16 ubyte 24
46+
->>>>>0 use tga-image
47+
->>>>16 ubyte 32
48+
->>>>>0 use tga-image
49+
+>>>16 ubyte 1
50+
+>>>>0 use tga-image
51+
+>>>16 ubyte 8
52+
+>>>>0 use tga-image
53+
+>>>16 ubyte 15
54+
+>>>>0 use tga-image
55+
+>>>16 ubyte 16
56+
+>>>>0 use tga-image
57+
+>>>16 ubyte 24
58+
+>>>>0 use tga-image
59+
+>>>16 ubyte 32
60+
+>>>>0 use tga-image
61+
# display tga bitmap image information
62+
0 name tga-image
63+
>2 ubyte <34 Targa image data

ext/fileinfo/tests/magic

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15320,22 +15320,22 @@
1532015320
# Prevent conflicts with CRI ADX.
1532115321
>(2.S-2) belong !0x28632943
1532215322
# skip more garbage like *.iso by looking for positive image type
15323-
>>2 ubyte >0
15323+
>2 ubyte >0
1532415324
# skip some compiled terminfo like xterm+tmux by looking for image type less equal 33
15325-
>>>2 ubyte <34
15325+
>>2 ubyte <34
1532615326
# skip arches.3200 , Finder.Root , Slp.1 by looking for low pixel depth 1 8 15 16 24 32
15327-
>>>>16 ubyte 1
15328-
>>>>>0 use tga-image
15329-
>>>>16 ubyte 8
15330-
>>>>>0 use tga-image
15331-
>>>>16 ubyte 15
15332-
>>>>>0 use tga-image
15333-
>>>>16 ubyte 16
15334-
>>>>>0 use tga-image
15335-
>>>>16 ubyte 24
15336-
>>>>>0 use tga-image
15337-
>>>>16 ubyte 32
15338-
>>>>>0 use tga-image
15327+
>>>16 ubyte 1
15328+
>>>>0 use tga-image
15329+
>>>16 ubyte 8
15330+
>>>>0 use tga-image
15331+
>>>16 ubyte 15
15332+
>>>>0 use tga-image
15333+
>>>16 ubyte 16
15334+
>>>>0 use tga-image
15335+
>>>16 ubyte 24
15336+
>>>>0 use tga-image
15337+
>>>16 ubyte 32
15338+
>>>>0 use tga-image
1533915339
# display tga bitmap image information
1534015340
0 name tga-image
1534115341
>2 ubyte <34 Targa image data

ext/fileinfo/tests/magic私はガラスを食べられます

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15320,22 +15320,22 @@
1532015320
# Prevent conflicts with CRI ADX.
1532115321
>(2.S-2) belong !0x28632943
1532215322
# skip more garbage like *.iso by looking for positive image type
15323-
>>2 ubyte >0
15323+
>2 ubyte >0
1532415324
# skip some compiled terminfo like xterm+tmux by looking for image type less equal 33
15325-
>>>2 ubyte <34
15325+
>>2 ubyte <34
1532615326
# skip arches.3200 , Finder.Root , Slp.1 by looking for low pixel depth 1 8 15 16 24 32
15327-
>>>>16 ubyte 1
15328-
>>>>>0 use tga-image
15329-
>>>>16 ubyte 8
15330-
>>>>>0 use tga-image
15331-
>>>>16 ubyte 15
15332-
>>>>>0 use tga-image
15333-
>>>>16 ubyte 16
15334-
>>>>>0 use tga-image
15335-
>>>>16 ubyte 24
15336-
>>>>>0 use tga-image
15337-
>>>>16 ubyte 32
15338-
>>>>>0 use tga-image
15327+
>>>16 ubyte 1
15328+
>>>>0 use tga-image
15329+
>>>16 ubyte 8
15330+
>>>>0 use tga-image
15331+
>>>16 ubyte 15
15332+
>>>>0 use tga-image
15333+
>>>16 ubyte 16
15334+
>>>>0 use tga-image
15335+
>>>16 ubyte 24
15336+
>>>>0 use tga-image
15337+
>>>16 ubyte 32
15338+
>>>>0 use tga-image
1533915339
# display tga bitmap image information
1534015340
0 name tga-image
1534115341
>2 ubyte <34 Targa image data

0 commit comments

Comments
 (0)