polyfile-weave 0.5.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of polyfile-weave might be problematic. Click here for more details.
- polyfile/__init__.py +15 -0
- polyfile/__main__.py +394 -0
- polyfile/arithmetic.py +27 -0
- polyfile/ast.py +114 -0
- polyfile/debugger.py +1039 -0
- polyfile/expressions.py +346 -0
- polyfile/fileutils.py +343 -0
- polyfile/html.py +135 -0
- polyfile/http/__init__.py +1 -0
- polyfile/http/defacto.py +37 -0
- polyfile/http/deprecated.py +51 -0
- polyfile/http/experimental.py +67 -0
- polyfile/http/http_11.py +548 -0
- polyfile/http/matcher.py +37 -0
- polyfile/http/structured_headers.py +48 -0
- polyfile/iterators.py +72 -0
- polyfile/jpeg.py +24 -0
- polyfile/kaitai/__init__.py +0 -0
- polyfile/kaitai/compiler.py +156 -0
- polyfile/kaitai/parser.py +312 -0
- polyfile/kaitai/parsers/__init__.py +0 -0
- polyfile/kaitai/parsers/aix_utmp.py +116 -0
- polyfile/kaitai/parsers/allegro_dat.py +367 -0
- polyfile/kaitai/parsers/andes_firmware.py +64 -0
- polyfile/kaitai/parsers/android_bootldr_asus.py +105 -0
- polyfile/kaitai/parsers/android_bootldr_huawei.py +181 -0
- polyfile/kaitai/parsers/android_bootldr_qcom.py +217 -0
- polyfile/kaitai/parsers/android_dto.py +138 -0
- polyfile/kaitai/parsers/android_img.py +319 -0
- polyfile/kaitai/parsers/android_nanoapp_header.py +83 -0
- polyfile/kaitai/parsers/android_opengl_shaders_cache.py +151 -0
- polyfile/kaitai/parsers/android_sparse.py +237 -0
- polyfile/kaitai/parsers/android_super.py +401 -0
- polyfile/kaitai/parsers/apm_partition_table.py +196 -0
- polyfile/kaitai/parsers/apple_single_double.py +180 -0
- polyfile/kaitai/parsers/asn1_der.py +235 -0
- polyfile/kaitai/parsers/au.py +138 -0
- polyfile/kaitai/parsers/avantes_roh60.py +112 -0
- polyfile/kaitai/parsers/avi.py +296 -0
- polyfile/kaitai/parsers/bcd.py +111 -0
- polyfile/kaitai/parsers/bitcoin_transaction.py +210 -0
- polyfile/kaitai/parsers/blender_blend.py +334 -0
- polyfile/kaitai/parsers/bmp.py +780 -0
- polyfile/kaitai/parsers/bson.py +411 -0
- polyfile/kaitai/parsers/btrfs_stream.py +318 -0
- polyfile/kaitai/parsers/bytes_with_io.py +27 -0
- polyfile/kaitai/parsers/chrome_pak.py +194 -0
- polyfile/kaitai/parsers/code_6502.py +456 -0
- polyfile/kaitai/parsers/compressed_resource.py +217 -0
- polyfile/kaitai/parsers/cpio_old_le.py +154 -0
- polyfile/kaitai/parsers/cramfs.py +344 -0
- polyfile/kaitai/parsers/creative_voice_file.py +342 -0
- polyfile/kaitai/parsers/dbf.py +274 -0
- polyfile/kaitai/parsers/dcmp_0.py +664 -0
- polyfile/kaitai/parsers/dcmp_1.py +422 -0
- polyfile/kaitai/parsers/dcmp_2.py +312 -0
- polyfile/kaitai/parsers/dcmp_variable_length_integer.py +66 -0
- polyfile/kaitai/parsers/dex.py +1086 -0
- polyfile/kaitai/parsers/dicom.py +4370 -0
- polyfile/kaitai/parsers/dime_message.py +201 -0
- polyfile/kaitai/parsers/dns_packet.py +569 -0
- polyfile/kaitai/parsers/doom_wad.py +654 -0
- polyfile/kaitai/parsers/dos_datetime.py +191 -0
- polyfile/kaitai/parsers/dos_mz.py +172 -0
- polyfile/kaitai/parsers/ds_store.py +513 -0
- polyfile/kaitai/parsers/dtb.py +310 -0
- polyfile/kaitai/parsers/dune_2_pak.py +126 -0
- polyfile/kaitai/parsers/edid.py +472 -0
- polyfile/kaitai/parsers/efivar_signature_list.py +331 -0
- polyfile/kaitai/parsers/elf.py +2482 -0
- polyfile/kaitai/parsers/ethernet_frame.py +114 -0
- polyfile/kaitai/parsers/exif.py +723 -0
- polyfile/kaitai/parsers/ext2.py +537 -0
- polyfile/kaitai/parsers/fallout2_dat.py +187 -0
- polyfile/kaitai/parsers/fallout_dat.py +156 -0
- polyfile/kaitai/parsers/fasttracker_xm_module.py +558 -0
- polyfile/kaitai/parsers/ftl_dat.py +90 -0
- polyfile/kaitai/parsers/genmidi_op2.py +161 -0
- polyfile/kaitai/parsers/gettext_mo.py +541 -0
- polyfile/kaitai/parsers/gif.py +492 -0
- polyfile/kaitai/parsers/gimp_brush.py +244 -0
- polyfile/kaitai/parsers/glibc_utmp.py +114 -0
- polyfile/kaitai/parsers/gltf_binary.py +132 -0
- polyfile/kaitai/parsers/google_protobuf.py +151 -0
- polyfile/kaitai/parsers/gpt_partition_table.py +175 -0
- polyfile/kaitai/parsers/gran_turismo_vol.py +140 -0
- polyfile/kaitai/parsers/grub2_font.py +337 -0
- polyfile/kaitai/parsers/gzip.py +232 -0
- polyfile/kaitai/parsers/hashcat_restore.py +60 -0
- polyfile/kaitai/parsers/hccap.py +111 -0
- polyfile/kaitai/parsers/hccapx.py +103 -0
- polyfile/kaitai/parsers/heaps_pak.py +177 -0
- polyfile/kaitai/parsers/heroes_of_might_and_magic_agg.py +116 -0
- polyfile/kaitai/parsers/heroes_of_might_and_magic_bmp.py +34 -0
- polyfile/kaitai/parsers/icmp_packet.py +136 -0
- polyfile/kaitai/parsers/ico.py +129 -0
- polyfile/kaitai/parsers/id3v1_1.py +220 -0
- polyfile/kaitai/parsers/id3v2_3.py +324 -0
- polyfile/kaitai/parsers/id3v2_4.py +423 -0
- polyfile/kaitai/parsers/ines.py +282 -0
- polyfile/kaitai/parsers/ipv4_packet.py +158 -0
- polyfile/kaitai/parsers/ipv6_packet.py +55 -0
- polyfile/kaitai/parsers/iso9660.py +544 -0
- polyfile/kaitai/parsers/java_class.py +1113 -0
- polyfile/kaitai/parsers/jpeg.py +361 -0
- polyfile/kaitai/parsers/luks.py +149 -0
- polyfile/kaitai/parsers/lzh.py +165 -0
- polyfile/kaitai/parsers/mac_os_resource_snd.py +493 -0
- polyfile/kaitai/parsers/mach_o.py +3033 -0
- polyfile/kaitai/parsers/mach_o_fat.py +92 -0
- polyfile/kaitai/parsers/magicavoxel_vox.py +391 -0
- polyfile/kaitai/parsers/manifest.json +1 -0
- polyfile/kaitai/parsers/mbr_partition_table.py +119 -0
- polyfile/kaitai/parsers/mcap.py +1015 -0
- polyfile/kaitai/parsers/microsoft_cfb.py +293 -0
- polyfile/kaitai/parsers/microsoft_network_monitor_v2.py +309 -0
- polyfile/kaitai/parsers/microsoft_pe.py +765 -0
- polyfile/kaitai/parsers/mifare_classic.py +706 -0
- polyfile/kaitai/parsers/minecraft_nbt.py +449 -0
- polyfile/kaitai/parsers/monomakh_sapr_chg.py +69 -0
- polyfile/kaitai/parsers/mozilla_mar.py +239 -0
- polyfile/kaitai/parsers/mp4.py +333 -0
- polyfile/kaitai/parsers/msgpack.py +467 -0
- polyfile/kaitai/parsers/nitf.py +1189 -0
- polyfile/kaitai/parsers/nt_mdt_pal.py +155 -0
- polyfile/kaitai/parsers/ogg.py +118 -0
- polyfile/kaitai/parsers/openpgp_message.py +993 -0
- polyfile/kaitai/parsers/packet_ppi.py +515 -0
- polyfile/kaitai/parsers/pcap.py +344 -0
- polyfile/kaitai/parsers/pcf_font.py +506 -0
- polyfile/kaitai/parsers/pcx.py +195 -0
- polyfile/kaitai/parsers/pcx_dcx.py +79 -0
- polyfile/kaitai/parsers/phar_without_stub.py +399 -0
- polyfile/kaitai/parsers/php_serialized_value.py +505 -0
- polyfile/kaitai/parsers/png.py +721 -0
- polyfile/kaitai/parsers/protocol_body.py +260 -0
- polyfile/kaitai/parsers/psx_tim.py +104 -0
- polyfile/kaitai/parsers/python_pickle.py +718 -0
- polyfile/kaitai/parsers/python_pyc_27.py +510 -0
- polyfile/kaitai/parsers/quake_mdl.py +441 -0
- polyfile/kaitai/parsers/quake_pak.py +112 -0
- polyfile/kaitai/parsers/quicktime_mov.py +634 -0
- polyfile/kaitai/parsers/rar.py +265 -0
- polyfile/kaitai/parsers/regf.py +569 -0
- polyfile/kaitai/parsers/renderware_binary_stream.py +877 -0
- polyfile/kaitai/parsers/resource_fork.py +611 -0
- polyfile/kaitai/parsers/respack.py +57 -0
- polyfile/kaitai/parsers/riff.py +409 -0
- polyfile/kaitai/parsers/rpm.py +964 -0
- polyfile/kaitai/parsers/rtcp_payload.py +579 -0
- polyfile/kaitai/parsers/rtp_packet.py +150 -0
- polyfile/kaitai/parsers/rtpdump.py +115 -0
- polyfile/kaitai/parsers/ruby_marshal.py +423 -0
- polyfile/kaitai/parsers/s3m.py +493 -0
- polyfile/kaitai/parsers/saints_row_2_vpp_pc.py +254 -0
- polyfile/kaitai/parsers/shapefile_index.py +174 -0
- polyfile/kaitai/parsers/shapefile_main.py +893 -0
- polyfile/kaitai/parsers/some_ip.py +209 -0
- polyfile/kaitai/parsers/some_ip_container.py +37 -0
- polyfile/kaitai/parsers/some_ip_sd.py +86 -0
- polyfile/kaitai/parsers/some_ip_sd_entries.py +160 -0
- polyfile/kaitai/parsers/some_ip_sd_options.py +374 -0
- polyfile/kaitai/parsers/specpr.py +404 -0
- polyfile/kaitai/parsers/sqlite3.py +472 -0
- polyfile/kaitai/parsers/ssh_public_key.py +252 -0
- polyfile/kaitai/parsers/standard_midi_file.py +390 -0
- polyfile/kaitai/parsers/stl.py +111 -0
- polyfile/kaitai/parsers/sudoers_ts.py +201 -0
- polyfile/kaitai/parsers/swf.py +406 -0
- polyfile/kaitai/parsers/systemd_journal.py +361 -0
- polyfile/kaitai/parsers/tcp_segment.py +57 -0
- polyfile/kaitai/parsers/tga.py +213 -0
- polyfile/kaitai/parsers/tls_client_hello.py +293 -0
- polyfile/kaitai/parsers/tr_dos_image.py +322 -0
- polyfile/kaitai/parsers/tsm.py +198 -0
- polyfile/kaitai/parsers/ttf.py +1847 -0
- polyfile/kaitai/parsers/udp_datagram.py +42 -0
- polyfile/kaitai/parsers/uefi_te.py +236 -0
- polyfile/kaitai/parsers/uimage.py +198 -0
- polyfile/kaitai/parsers/utf8_string.py +137 -0
- polyfile/kaitai/parsers/vfat.py +410 -0
- polyfile/kaitai/parsers/vlq_base128_be.py +104 -0
- polyfile/kaitai/parsers/vlq_base128_le.py +129 -0
- polyfile/kaitai/parsers/vmware_vmdk.py +167 -0
- polyfile/kaitai/parsers/vp8_ivf.py +112 -0
- polyfile/kaitai/parsers/warcraft_2_pud.py +423 -0
- polyfile/kaitai/parsers/wav.py +1014 -0
- polyfile/kaitai/parsers/websocket.py +167 -0
- polyfile/kaitai/parsers/windows_evt_log.py +304 -0
- polyfile/kaitai/parsers/windows_lnk_file.py +467 -0
- polyfile/kaitai/parsers/windows_minidump.py +575 -0
- polyfile/kaitai/parsers/windows_resource_file.py +243 -0
- polyfile/kaitai/parsers/windows_shell_items.py +190 -0
- polyfile/kaitai/parsers/windows_systemtime.py +52 -0
- polyfile/kaitai/parsers/wmf.py +502 -0
- polyfile/kaitai/parsers/xar.py +181 -0
- polyfile/kaitai/parsers/xwd.py +189 -0
- polyfile/kaitai/parsers/zip.py +685 -0
- polyfile/kaitai/parsers/zisofs.py +158 -0
- polyfile/kaitai/parsers/zx_spectrum_tap.py +184 -0
- polyfile/kaitaimatcher.py +113 -0
- polyfile/languagematcher.py +217 -0
- polyfile/logger.py +135 -0
- polyfile/magic.py +2983 -0
- polyfile/magic_defs/COPYING +29 -0
- polyfile/magic_defs/__init__.py +0 -0
- polyfile/magic_defs/acorn +102 -0
- polyfile/magic_defs/adi +13 -0
- polyfile/magic_defs/adventure +122 -0
- polyfile/magic_defs/aes +29 -0
- polyfile/magic_defs/algol68 +35 -0
- polyfile/magic_defs/allegro +9 -0
- polyfile/magic_defs/alliant +18 -0
- polyfile/magic_defs/alpha +32 -0
- polyfile/magic_defs/amanda +12 -0
- polyfile/magic_defs/amigaos +218 -0
- polyfile/magic_defs/android +259 -0
- polyfile/magic_defs/animation +1197 -0
- polyfile/magic_defs/aout +46 -0
- polyfile/magic_defs/apache +28 -0
- polyfile/magic_defs/apl +7 -0
- polyfile/magic_defs/apple +773 -0
- polyfile/magic_defs/application +7 -0
- polyfile/magic_defs/applix +13 -0
- polyfile/magic_defs/apt +52 -0
- polyfile/magic_defs/archive +2586 -0
- polyfile/magic_defs/aria +38 -0
- polyfile/magic_defs/arm +50 -0
- polyfile/magic_defs/asf +132 -0
- polyfile/magic_defs/assembler +18 -0
- polyfile/magic_defs/asterix +18 -0
- polyfile/magic_defs/att3b +41 -0
- polyfile/magic_defs/audio +1291 -0
- polyfile/magic_defs/avm +33 -0
- polyfile/magic_defs/basis +18 -0
- polyfile/magic_defs/beetle +7 -0
- polyfile/magic_defs/ber +65 -0
- polyfile/magic_defs/bflt +14 -0
- polyfile/magic_defs/bhl +10 -0
- polyfile/magic_defs/bioinformatics +178 -0
- polyfile/magic_defs/biosig +154 -0
- polyfile/magic_defs/blackberry +8 -0
- polyfile/magic_defs/blcr +25 -0
- polyfile/magic_defs/blender +50 -0
- polyfile/magic_defs/blit +24 -0
- polyfile/magic_defs/bm +10 -0
- polyfile/magic_defs/bout +11 -0
- polyfile/magic_defs/bsdi +33 -0
- polyfile/magic_defs/bsi +10 -0
- polyfile/magic_defs/btsnoop +13 -0
- polyfile/magic_defs/burp +7 -0
- polyfile/magic_defs/bytecode +41 -0
- polyfile/magic_defs/c-lang +110 -0
- polyfile/magic_defs/c64 +531 -0
- polyfile/magic_defs/cad +437 -0
- polyfile/magic_defs/cafebabe +107 -0
- polyfile/magic_defs/cbor +21 -0
- polyfile/magic_defs/ccf +14 -0
- polyfile/magic_defs/cddb +12 -0
- polyfile/magic_defs/chord +15 -0
- polyfile/magic_defs/cisco +12 -0
- polyfile/magic_defs/citrus +12 -0
- polyfile/magic_defs/clarion +27 -0
- polyfile/magic_defs/claris +48 -0
- polyfile/magic_defs/clipper +65 -0
- polyfile/magic_defs/clojure +30 -0
- polyfile/magic_defs/coff +98 -0
- polyfile/magic_defs/commands +201 -0
- polyfile/magic_defs/communications +22 -0
- polyfile/magic_defs/compress +461 -0
- polyfile/magic_defs/console +1213 -0
- polyfile/magic_defs/convex +69 -0
- polyfile/magic_defs/coverage +91 -0
- polyfile/magic_defs/cracklib +14 -0
- polyfile/magic_defs/crypto +31 -0
- polyfile/magic_defs/csv +8 -0
- polyfile/magic_defs/ctags +6 -0
- polyfile/magic_defs/ctf +23 -0
- polyfile/magic_defs/cubemap +8 -0
- polyfile/magic_defs/cups +56 -0
- polyfile/magic_defs/dact +11 -0
- polyfile/magic_defs/database +886 -0
- polyfile/magic_defs/dataone +47 -0
- polyfile/magic_defs/dbpf +15 -0
- polyfile/magic_defs/der +146 -0
- polyfile/magic_defs/diamond +12 -0
- polyfile/magic_defs/dif +33 -0
- polyfile/magic_defs/diff +41 -0
- polyfile/magic_defs/digital +59 -0
- polyfile/magic_defs/dolby +69 -0
- polyfile/magic_defs/dsf +25 -0
- polyfile/magic_defs/dump +96 -0
- polyfile/magic_defs/dwarfs +45 -0
- polyfile/magic_defs/dyadic +61 -0
- polyfile/magic_defs/ebml +8 -0
- polyfile/magic_defs/edid +11 -0
- polyfile/magic_defs/editors +43 -0
- polyfile/magic_defs/efi +15 -0
- polyfile/magic_defs/elf +379 -0
- polyfile/magic_defs/encore +22 -0
- polyfile/magic_defs/epoc +62 -0
- polyfile/magic_defs/erlang +21 -0
- polyfile/magic_defs/espressif +57 -0
- polyfile/magic_defs/esri +28 -0
- polyfile/magic_defs/etf +33 -0
- polyfile/magic_defs/fcs +9 -0
- polyfile/magic_defs/filesystems +2694 -0
- polyfile/magic_defs/finger +16 -0
- polyfile/magic_defs/firmware +133 -0
- polyfile/magic_defs/flash +62 -0
- polyfile/magic_defs/flif +36 -0
- polyfile/magic_defs/fonts +449 -0
- polyfile/magic_defs/forth +82 -0
- polyfile/magic_defs/fortran +9 -0
- polyfile/magic_defs/frame +62 -0
- polyfile/magic_defs/freebsd +164 -0
- polyfile/magic_defs/fsav +128 -0
- polyfile/magic_defs/fusecompress +12 -0
- polyfile/magic_defs/games +696 -0
- polyfile/magic_defs/gcc +17 -0
- polyfile/magic_defs/gconv +10 -0
- polyfile/magic_defs/gentoo +85 -0
- polyfile/magic_defs/geo +166 -0
- polyfile/magic_defs/geos +20 -0
- polyfile/magic_defs/gimp +77 -0
- polyfile/magic_defs/git +13 -0
- polyfile/magic_defs/glibc +21 -0
- polyfile/magic_defs/gnome +59 -0
- polyfile/magic_defs/gnu +173 -0
- polyfile/magic_defs/gnumeric +8 -0
- polyfile/magic_defs/gpt +240 -0
- polyfile/magic_defs/gpu +28 -0
- polyfile/magic_defs/grace +21 -0
- polyfile/magic_defs/graphviz +12 -0
- polyfile/magic_defs/gringotts +48 -0
- polyfile/magic_defs/guile +13 -0
- polyfile/magic_defs/hardware +12 -0
- polyfile/magic_defs/hitachi-sh +30 -0
- polyfile/magic_defs/hp +433 -0
- polyfile/magic_defs/human68k +26 -0
- polyfile/magic_defs/ibm370 +52 -0
- polyfile/magic_defs/ibm6000 +35 -0
- polyfile/magic_defs/icc +214 -0
- polyfile/magic_defs/iff +80 -0
- polyfile/magic_defs/images +4210 -0
- polyfile/magic_defs/inform +9 -0
- polyfile/magic_defs/intel +310 -0
- polyfile/magic_defs/interleaf +9 -0
- polyfile/magic_defs/island +10 -0
- polyfile/magic_defs/ispell +63 -0
- polyfile/magic_defs/isz +15 -0
- polyfile/magic_defs/java +52 -0
- polyfile/magic_defs/javascript +171 -0
- polyfile/magic_defs/jpeg +252 -0
- polyfile/magic_defs/json +8 -0
- polyfile/magic_defs/karma +9 -0
- polyfile/magic_defs/kde +11 -0
- polyfile/magic_defs/keepass +20 -0
- polyfile/magic_defs/kerberos +45 -0
- polyfile/magic_defs/kicad +85 -0
- polyfile/magic_defs/kml +34 -0
- polyfile/magic_defs/lammps +64 -0
- polyfile/magic_defs/lecter +6 -0
- polyfile/magic_defs/lex +12 -0
- polyfile/magic_defs/lif +50 -0
- polyfile/magic_defs/linux +557 -0
- polyfile/magic_defs/lisp +78 -0
- polyfile/magic_defs/llvm +22 -0
- polyfile/magic_defs/locoscript +12 -0
- polyfile/magic_defs/lua +31 -0
- polyfile/magic_defs/luks +126 -0
- polyfile/magic_defs/m4 +11 -0
- polyfile/magic_defs/mach +303 -0
- polyfile/magic_defs/macintosh +505 -0
- polyfile/magic_defs/macos +7 -0
- polyfile/magic_defs/magic +10 -0
- polyfile/magic_defs/magic.mgc +0 -0
- polyfile/magic_defs/mail.news +132 -0
- polyfile/magic_defs/make +21 -0
- polyfile/magic_defs/map +413 -0
- polyfile/magic_defs/maple +109 -0
- polyfile/magic_defs/marc21 +30 -0
- polyfile/magic_defs/mathcad +8 -0
- polyfile/magic_defs/mathematica +188 -0
- polyfile/magic_defs/matroska +17 -0
- polyfile/magic_defs/mcrypt +52 -0
- polyfile/magic_defs/measure +44 -0
- polyfile/magic_defs/mercurial +13 -0
- polyfile/magic_defs/metastore +8 -0
- polyfile/magic_defs/meteorological +53 -0
- polyfile/magic_defs/microfocus +21 -0
- polyfile/magic_defs/mime +9 -0
- polyfile/magic_defs/mips +120 -0
- polyfile/magic_defs/mirage +8 -0
- polyfile/magic_defs/misctools +140 -0
- polyfile/magic_defs/mkid +11 -0
- polyfile/magic_defs/mlssa +8 -0
- polyfile/magic_defs/mmdf +6 -0
- polyfile/magic_defs/modem +92 -0
- polyfile/magic_defs/modulefile +9 -0
- polyfile/magic_defs/motorola +71 -0
- polyfile/magic_defs/mozilla +37 -0
- polyfile/magic_defs/msdos +2304 -0
- polyfile/magic_defs/msooxml +68 -0
- polyfile/magic_defs/msvc +222 -0
- polyfile/magic_defs/msx +309 -0
- polyfile/magic_defs/mup +24 -0
- polyfile/magic_defs/music +17 -0
- polyfile/magic_defs/nasa +7 -0
- polyfile/magic_defs/natinst +24 -0
- polyfile/magic_defs/ncr +49 -0
- polyfile/magic_defs/neko +12 -0
- polyfile/magic_defs/netbsd +251 -0
- polyfile/magic_defs/netscape +26 -0
- polyfile/magic_defs/netware +11 -0
- polyfile/magic_defs/news +13 -0
- polyfile/magic_defs/nifty +202 -0
- polyfile/magic_defs/nim-lang +29 -0
- polyfile/magic_defs/nitpicker +14 -0
- polyfile/magic_defs/numpy +9 -0
- polyfile/magic_defs/oasis +12 -0
- polyfile/magic_defs/ocaml +14 -0
- polyfile/magic_defs/octave +6 -0
- polyfile/magic_defs/ole2compounddocs +760 -0
- polyfile/magic_defs/olf +98 -0
- polyfile/magic_defs/openfst +17 -0
- polyfile/magic_defs/opentimestamps +16 -0
- polyfile/magic_defs/oric +16 -0
- polyfile/magic_defs/os2 +186 -0
- polyfile/magic_defs/os400 +39 -0
- polyfile/magic_defs/os9 +80 -0
- polyfile/magic_defs/osf1 +10 -0
- polyfile/magic_defs/palm +156 -0
- polyfile/magic_defs/parix +13 -0
- polyfile/magic_defs/parrot +22 -0
- polyfile/magic_defs/pascal +39 -0
- polyfile/magic_defs/pbf +11 -0
- polyfile/magic_defs/pbm +8 -0
- polyfile/magic_defs/pc88 +24 -0
- polyfile/magic_defs/pc98 +77 -0
- polyfile/magic_defs/pci_ids +116 -0
- polyfile/magic_defs/pcjr +8 -0
- polyfile/magic_defs/pdf +51 -0
- polyfile/magic_defs/pdp +42 -0
- polyfile/magic_defs/perl +100 -0
- polyfile/magic_defs/pgf +52 -0
- polyfile/magic_defs/pgp +581 -0
- polyfile/magic_defs/pgp-binary-keys +388 -0
- polyfile/magic_defs/pkgadd +7 -0
- polyfile/magic_defs/plan9 +25 -0
- polyfile/magic_defs/playdate +57 -0
- polyfile/magic_defs/plus5 +18 -0
- polyfile/magic_defs/pmem +46 -0
- polyfile/magic_defs/polyfile_zip +5 -0
- polyfile/magic_defs/polyml +23 -0
- polyfile/magic_defs/printer +269 -0
- polyfile/magic_defs/project +10 -0
- polyfile/magic_defs/psdbms +14 -0
- polyfile/magic_defs/psl +14 -0
- polyfile/magic_defs/pulsar +13 -0
- polyfile/magic_defs/puzzle +17 -0
- polyfile/magic_defs/pwsafe +14 -0
- polyfile/magic_defs/pyramid +12 -0
- polyfile/magic_defs/python +305 -0
- polyfile/magic_defs/qt +30 -0
- polyfile/magic_defs/revision +66 -0
- polyfile/magic_defs/riff +840 -0
- polyfile/magic_defs/rinex +44 -0
- polyfile/magic_defs/ringdove +45 -0
- polyfile/magic_defs/rpi +52 -0
- polyfile/magic_defs/rpm +45 -0
- polyfile/magic_defs/rpmsg +7 -0
- polyfile/magic_defs/rst +11 -0
- polyfile/magic_defs/rtf +94 -0
- polyfile/magic_defs/ruby +55 -0
- polyfile/magic_defs/rust +21 -0
- polyfile/magic_defs/sc +7 -0
- polyfile/magic_defs/sccs +24 -0
- polyfile/magic_defs/scientific +144 -0
- polyfile/magic_defs/securitycerts +6 -0
- polyfile/magic_defs/selinux +24 -0
- polyfile/magic_defs/sendmail +37 -0
- polyfile/magic_defs/sequent +42 -0
- polyfile/magic_defs/sereal +35 -0
- polyfile/magic_defs/sgi +144 -0
- polyfile/magic_defs/sgml +161 -0
- polyfile/magic_defs/sharc +23 -0
- polyfile/magic_defs/sinclair +40 -0
- polyfile/magic_defs/sisu +18 -0
- polyfile/magic_defs/sketch +6 -0
- polyfile/magic_defs/smalltalk +25 -0
- polyfile/magic_defs/smile +34 -0
- polyfile/magic_defs/sniffer +482 -0
- polyfile/magic_defs/softquad +40 -0
- polyfile/magic_defs/sosi +40 -0
- polyfile/magic_defs/spec +21 -0
- polyfile/magic_defs/spectrum +184 -0
- polyfile/magic_defs/sql +288 -0
- polyfile/magic_defs/ssh +39 -0
- polyfile/magic_defs/ssl +20 -0
- polyfile/magic_defs/statistics +45 -0
- polyfile/magic_defs/subtitle +38 -0
- polyfile/magic_defs/sun +141 -0
- polyfile/magic_defs/svf +5 -0
- polyfile/magic_defs/sylk +36 -0
- polyfile/magic_defs/symbos +42 -0
- polyfile/magic_defs/sysex +429 -0
- polyfile/magic_defs/tcl +29 -0
- polyfile/magic_defs/teapot +6 -0
- polyfile/magic_defs/terminfo +63 -0
- polyfile/magic_defs/tex +141 -0
- polyfile/magic_defs/tgif +7 -0
- polyfile/magic_defs/ti-8x +239 -0
- polyfile/magic_defs/timezone +42 -0
- polyfile/magic_defs/tplink +95 -0
- polyfile/magic_defs/troff +38 -0
- polyfile/magic_defs/tuxedo +8 -0
- polyfile/magic_defs/typeset +8 -0
- polyfile/magic_defs/uf2 +72 -0
- polyfile/magic_defs/unicode +15 -0
- polyfile/magic_defs/unisig +12 -0
- polyfile/magic_defs/unknown +34 -0
- polyfile/magic_defs/usd +21 -0
- polyfile/magic_defs/uterus +16 -0
- polyfile/magic_defs/uuencode +28 -0
- polyfile/magic_defs/vacuum-cleaner +54 -0
- polyfile/magic_defs/varied.out +46 -0
- polyfile/magic_defs/varied.script +21 -0
- polyfile/magic_defs/vax +32 -0
- polyfile/magic_defs/vicar +17 -0
- polyfile/magic_defs/virtual +307 -0
- polyfile/magic_defs/virtutech +12 -0
- polyfile/magic_defs/visx +32 -0
- polyfile/magic_defs/vms +30 -0
- polyfile/magic_defs/vmware +6 -0
- polyfile/magic_defs/vorbis +155 -0
- polyfile/magic_defs/vxl +14 -0
- polyfile/magic_defs/warc +16 -0
- polyfile/magic_defs/weak +16 -0
- polyfile/magic_defs/web +18 -0
- polyfile/magic_defs/webassembly +17 -0
- polyfile/magic_defs/windows +1811 -0
- polyfile/magic_defs/wireless +7 -0
- polyfile/magic_defs/wordprocessors +630 -0
- polyfile/magic_defs/wsdl +23 -0
- polyfile/magic_defs/x68000 +25 -0
- polyfile/magic_defs/xdelta +13 -0
- polyfile/magic_defs/xenix +106 -0
- polyfile/magic_defs/xilinx +58 -0
- polyfile/magic_defs/xo65 +37 -0
- polyfile/magic_defs/xwindows +43 -0
- polyfile/magic_defs/yara +17 -0
- polyfile/magic_defs/zfs +96 -0
- polyfile/magic_defs/zilog +12 -0
- polyfile/magic_defs/zip +126 -0
- polyfile/magic_defs/zyxel +17 -0
- polyfile/nes.py +144 -0
- polyfile/nitf.py +15 -0
- polyfile/pdf.py +1264 -0
- polyfile/pickles.py +45 -0
- polyfile/polyfile.py +409 -0
- polyfile/profiling.py +115 -0
- polyfile/repl.py +624 -0
- polyfile/search.py +310 -0
- polyfile/serialization.py +323 -0
- polyfile/structmatcher.py +46 -0
- polyfile/structs.py +281 -0
- polyfile/templates/download.js +162 -0
- polyfile/templates/hexdump.css +268 -0
- polyfile/templates/hexdump.js +756 -0
- polyfile/templates/jquery-3.4.1.min.js +2 -0
- polyfile/templates/template.html +119 -0
- polyfile/wildcards.py +62 -0
- polyfile/zipmatcher.py +183 -0
- polyfile_weave-0.5.5.dist-info/METADATA +173 -0
- polyfile_weave-0.5.5.dist-info/RECORD +585 -0
- polyfile_weave-0.5.5.dist-info/WHEEL +5 -0
- polyfile_weave-0.5.5.dist-info/entry_points.txt +2 -0
- polyfile_weave-0.5.5.dist-info/licenses/LICENSE +202 -0
- polyfile_weave-0.5.5.dist-info/top_level.txt +2 -0
- polymerge/__init__.py +1 -0
- polymerge/__main__.py +296 -0
- polymerge/cfg.py +127 -0
- polymerge/polymerge.py +227 -0
- polymerge/polytracker.py +190 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: dataone,v 1.3 2022/04/18 21:38:10 christos Exp $
|
|
4
|
+
#
|
|
5
|
+
# DataONE- files from Dave Vieglais <dave.vieglais@gmail.com> &
|
|
6
|
+
# Pratik Shrivastava <pratikshrivastava23@gmail.com>
|
|
7
|
+
#
|
|
8
|
+
# file formats: https://cn.dataone.org/cn/v2/formats
|
|
9
|
+
#------------------------------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
# EML (Ecological Metadata Language Format)
|
|
12
|
+
0 string \<?xml\ version=
|
|
13
|
+
>&0 regex/1024 eml-[0-9]\\.[0-9]\\.[0-9]+ eml://ecoinformatics.org/%s
|
|
14
|
+
|
|
15
|
+
# onedcx (DataONE Dublin Core Extended v1.0)
|
|
16
|
+
>&0 regex/1024 onedcx/v[0-9]\\.[0-9]+ https://ns.dataone.org/metadata/schema/onedcx/v1.0
|
|
17
|
+
|
|
18
|
+
# FGDC-STD-001-1998 (Content Standard for Digital Geospatial Metadata,
|
|
19
|
+
# version 001-1998)
|
|
20
|
+
>&0 search/1024 fgdc FGDC-STD-001-1998
|
|
21
|
+
|
|
22
|
+
# Mercury (Oak Ridge National Lab Mercury Metadata version 1.0)
|
|
23
|
+
>&0 regex/1024 mercury/terms/v[0-9]\\.[0-9] https://purl.org/ornl/schema/mercury/terms/v1.0
|
|
24
|
+
|
|
25
|
+
# ISOTC211 (Geographic MetaData (GMD) Extensible Markup Language)
|
|
26
|
+
>&0 search/1024 isotc211
|
|
27
|
+
>>&0 search/1024 eng;USA https://www.isotc211.org/2005/gmd
|
|
28
|
+
|
|
29
|
+
# ISOTC211 (NOAA Variant Geographic MetaData (GMD) Extensible Markup Language)
|
|
30
|
+
>>&0 regex/1024 gov\\.noaa\\.nodc:[0-9]+ https://www.isotc211.org/2005/gmd-noaa
|
|
31
|
+
|
|
32
|
+
# ISOTC211 PANGAEA Variant Geographic MetaData (GMD) Extensible Markup Language
|
|
33
|
+
>>&0 regex/1024 pangaea\\.dataset[0-9][0-9][0-9][0-9][0-9][0-9]+ https://www.isotc211.org/2005/gmd-pangaea
|
|
34
|
+
!:mime text/xml
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# Object Reuse and Exchange Vocabulary
|
|
38
|
+
0 string \<?xml\ version=
|
|
39
|
+
>&0 search/1024 rdf
|
|
40
|
+
>>&0 search/1024 openarchives https://www.openarchives.org/ore/terms
|
|
41
|
+
!:mime application/rdf+xml
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# Dryad Metadata Application Profile Version 3.1
|
|
45
|
+
0 string <DryadData
|
|
46
|
+
>&0 regex/1024 dryad-bibo/v[0-9]\\.[0-9] https://datadryad.org/profile/v3.1
|
|
47
|
+
!:mime text/xml
|
polyfile/magic_defs/dbpf
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: dbpf,v 1.3 2019/04/19 00:42:27 christos Exp $
|
|
4
|
+
# dppf: Maxis Database Packed Files, the stored data file format used by all
|
|
5
|
+
# Maxis games after the Sims: http://wiki.niotso.org/DBPF
|
|
6
|
+
# https://www.wiki.sc4devotion.com/index.php?title=DBPF
|
|
7
|
+
# 13 Oct 2017, Kip Warner <kip at thevertigo dot com>
|
|
8
|
+
0 string DBPF Maxis Database Packed File
|
|
9
|
+
>4 ulelong x \b, version: %u.
|
|
10
|
+
>>8 ulelong x \b%u
|
|
11
|
+
>>>36 ulelong x \b, files: %u
|
|
12
|
+
>>24 ledate !0 \b, created: %s
|
|
13
|
+
>>28 ledate !0 \b, modified: %s
|
|
14
|
+
!:ext dbpf/package/dat/sc4
|
|
15
|
+
!:mime application/x-maxis-dbpf
|
polyfile/magic_defs/der
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
#------------------------------------------------------------------------------
|
|
2
|
+
# $File: der,v 1.6 2023/01/11 23:59:49 christos Exp $
|
|
3
|
+
# der: file(1) magic for DER encoded files
|
|
4
|
+
#
|
|
5
|
+
|
|
6
|
+
# Certificate information piece
|
|
7
|
+
0 name certinfo
|
|
8
|
+
>0 der seq
|
|
9
|
+
>>&0 der set
|
|
10
|
+
>>>&0 der seq
|
|
11
|
+
>>>>&0 der obj_id3=550406
|
|
12
|
+
>>>>&0 der prt_str=x \b, countryName=%s
|
|
13
|
+
>>&0 der set
|
|
14
|
+
>>>&0 der seq
|
|
15
|
+
>>>>&0 der obj_id3=550408
|
|
16
|
+
>>>>&0 der utf8_str=x \b, stateOrProvinceName=%s
|
|
17
|
+
>>&0 der set
|
|
18
|
+
>>>&0 der seq
|
|
19
|
+
>>>>&0 der obj_id3=55040a
|
|
20
|
+
>>>>&0 der utf8_str=x \b, organizationName=%s
|
|
21
|
+
>>&0 der set
|
|
22
|
+
>>>&0 der seq
|
|
23
|
+
>>>>&0 der obj_id3=550403
|
|
24
|
+
>>>>&0 der utf8_str=x \b, commonName=%s
|
|
25
|
+
>>&0 der seq
|
|
26
|
+
|
|
27
|
+
# Certificate requests
|
|
28
|
+
0 der seq
|
|
29
|
+
>&0 der seq
|
|
30
|
+
>>&0 der int1=00 DER Encoded Certificate request
|
|
31
|
+
>>&0 use certinfo
|
|
32
|
+
|
|
33
|
+
# Key Pairs
|
|
34
|
+
0 der seq
|
|
35
|
+
>&0 der int1=00
|
|
36
|
+
>&0 der int65=x
|
|
37
|
+
>&0 der int3=010001 DER Encoded Key Pair, 512 bits
|
|
38
|
+
|
|
39
|
+
0 der seq
|
|
40
|
+
>&0 der int1=00
|
|
41
|
+
>&0 der int129=x
|
|
42
|
+
>&0 der int3=010001 DER Encoded Key Pair, 1024 bits
|
|
43
|
+
|
|
44
|
+
0 der seq
|
|
45
|
+
>&0 der int1=00
|
|
46
|
+
>&0 der int257=x
|
|
47
|
+
>&0 der int3=010001 DER Encoded Key Pair, 2048 bits
|
|
48
|
+
|
|
49
|
+
0 der seq
|
|
50
|
+
>&0 der int1=00
|
|
51
|
+
>&0 der int513=x
|
|
52
|
+
>&0 der int3=010001 DER Encoded Key Pair, 4096 bits
|
|
53
|
+
|
|
54
|
+
0 der seq
|
|
55
|
+
>&0 der int1=00
|
|
56
|
+
>&0 der int1025=x
|
|
57
|
+
>&0 der int3=010001 DER Encoded Key Pair, 8192 bits
|
|
58
|
+
|
|
59
|
+
0 der seq
|
|
60
|
+
>&0 der int1=00
|
|
61
|
+
>&0 der int2049=x
|
|
62
|
+
>&0 der int3=010001 DER Encoded Key Pair, 16k bits
|
|
63
|
+
|
|
64
|
+
0 der seq
|
|
65
|
+
>&0 der int1=00
|
|
66
|
+
>&0 der int4097=x
|
|
67
|
+
>&0 der int3=010001 DER Encoded Key Pair, 32k bits
|
|
68
|
+
|
|
69
|
+
# Certificates
|
|
70
|
+
0 der seq
|
|
71
|
+
>&0 der seq
|
|
72
|
+
>>&0 der int2=0dfa DER Encoded Certificate, 512 bits
|
|
73
|
+
>>&0 der int2=0dfb DER Encoded Certificate, 1024 bits
|
|
74
|
+
>>&0 der int2=0dfc DER Encoded Certificate, 2048 bits
|
|
75
|
+
>>&0 der int2=0dfd DER Encoded Certificate, 4096 bits
|
|
76
|
+
>>&0 der int2=0dfe DER Encoded Certificate, 8192 bits
|
|
77
|
+
>>&0 der int2=0dff DER Encoded Certificate, 16k bits
|
|
78
|
+
>>&0 der int2=0e04 DER Encoded Certificate, 32k bits
|
|
79
|
+
>>&0 der int2=x DER Encoded Certificate, ? bits (%s)
|
|
80
|
+
>>&0 der seq
|
|
81
|
+
>>>&0 der obj_id9=2a864886f70d010105 \b, sha1WithRSAEncryption
|
|
82
|
+
>>>&0 der obj_id9=x \b, ? Encryption (%s)
|
|
83
|
+
>>>&0 der null
|
|
84
|
+
>>&0 der seq
|
|
85
|
+
>>>&0 der set
|
|
86
|
+
>>>>&0 der seq
|
|
87
|
+
>>>>>&0 der obj_id3=550406
|
|
88
|
+
>>>>>&0 der prt_str=x \b, countryName=%s
|
|
89
|
+
>>>&0 der set
|
|
90
|
+
>>>>&0 der seq
|
|
91
|
+
>>>>>&0 der obj_id3=550408
|
|
92
|
+
>>>>>&0 der prt_str=x \b, stateOrProvinceName=%s
|
|
93
|
+
>>>&0 der set
|
|
94
|
+
>>>>&0 der seq
|
|
95
|
+
>>>>>&0 der obj_id3=550407
|
|
96
|
+
>>>>>&0 der prt_str=x \b, localityName=%s
|
|
97
|
+
>>>&0 der set
|
|
98
|
+
>>>>&0 der seq
|
|
99
|
+
>>>>>&0 der obj_id3=55040a
|
|
100
|
+
>>>>>&0 der prt_str=x \b, organizationName=%s
|
|
101
|
+
>>>&0 der set
|
|
102
|
+
>>>>&0 der seq
|
|
103
|
+
>>>>>&0 der obj_id3=55040b
|
|
104
|
+
>>>>>&0 der prt_str=x \b, organizationUnitName=%s
|
|
105
|
+
>>>&0 der set
|
|
106
|
+
>>>>&0 der seq
|
|
107
|
+
>>>>>&0 der obj_id3=550403
|
|
108
|
+
>>>>>&0 der prt_str=x \b, commonName=%s
|
|
109
|
+
>>>&0 der set
|
|
110
|
+
>>>>&0 der seq
|
|
111
|
+
>>>>>&0 der obj_id9=2a864886f70d010901
|
|
112
|
+
>>>>>&0 der ia5_str=x \b, emailAddress=%s
|
|
113
|
+
#>>&0 der seq
|
|
114
|
+
#>>>&0 der utc_time=x \b, utcTime=%s
|
|
115
|
+
#>>>&0 der utc_time=x \b, utcTime=%s
|
|
116
|
+
>>&0 use certinfo
|
|
117
|
+
|
|
118
|
+
0 der seq
|
|
119
|
+
>&0 der seq
|
|
120
|
+
>>&0 der eoc
|
|
121
|
+
>>>&0 der int1=02 Certificate, Version=3
|
|
122
|
+
>>>&0 der int1=x Certificate, Version=%s
|
|
123
|
+
>>&0 der int9=x \b, Serial=%s
|
|
124
|
+
>>&0 der seq
|
|
125
|
+
>>>&0 der obj_id9=2a864886f70d01010b
|
|
126
|
+
>>>&0 der null
|
|
127
|
+
>>&0 der seq
|
|
128
|
+
>>>&0 der set
|
|
129
|
+
>>>>&0 der seq
|
|
130
|
+
>>>>>&0 der obj_id3=550403
|
|
131
|
+
>>>>>&0 der utf8_str=x \b, Issuer=%s
|
|
132
|
+
#>>&0 der seq
|
|
133
|
+
#>>>&0 der utc_time=x \b, not-valid-before=%s
|
|
134
|
+
#>>>&0 der utc_time=x \b, not-valid-after=%s
|
|
135
|
+
>>&0 der seq
|
|
136
|
+
>>>&0 der set
|
|
137
|
+
>>>>&0 der seq
|
|
138
|
+
>>>>>&0 der obj_id3=550403
|
|
139
|
+
>>>>>&0 der utf8_str=x \b, Subject=%s
|
|
140
|
+
|
|
141
|
+
# PKCS#7 Signed Data (e.g. JAR Signature Block File)
|
|
142
|
+
# OID 1.2.840.113549.1.7.2 (2a864886f70d010702)
|
|
143
|
+
# Reference: https://www.rfc-editor.org/rfc/rfc2315
|
|
144
|
+
0 der seq
|
|
145
|
+
>&0 der obj_id9=2a864886f70d010702 DER Encoded PKCS#7 Signed Data
|
|
146
|
+
!:ext RSA/DSA/EC
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: diamond,v 1.7 2009/09/19 16:28:08 christos Exp $
|
|
4
|
+
# diamond: file(1) magic for Diamond system
|
|
5
|
+
#
|
|
6
|
+
# ... diamond is a multi-media mail and electronic conferencing system....
|
|
7
|
+
#
|
|
8
|
+
# XXX - I think it was either renamed Slate, or replaced by Slate....
|
|
9
|
+
#
|
|
10
|
+
# The full deal is too long...
|
|
11
|
+
#0 string <list>\n<protocol\ bbn-multimedia-format> Diamond Multimedia Document
|
|
12
|
+
0 string =<list>\n<protocol\ bbn-m Diamond Multimedia Document
|
polyfile/magic_defs/dif
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: dif,v 1.1 2020/04/09 19:14:01 christos Exp $
|
|
4
|
+
# dif: file(1) magic for DIF text files
|
|
5
|
+
|
|
6
|
+
#------------------------------------------------------------------------------
|
|
7
|
+
# From: Joerg Jenderek
|
|
8
|
+
# URL: http://en.wikipedia.org/wiki/Data_Interchange_Format
|
|
9
|
+
# http://fileformats.archiveteam.org/wiki/Data_Interchange_Format
|
|
10
|
+
# Note: called by TrID "Data Interchange Format",
|
|
11
|
+
# by DROID x-fmt/368 "VisiCalc Database"
|
|
12
|
+
0 string TABLE
|
|
13
|
+
# skip text starting with TABLE by looking for numeric version on 2nd line
|
|
14
|
+
>6 search/2 0,
|
|
15
|
+
# skip DROID x-fmt-41-signature-id-380.dif by looking for key word TUPLES at the beginning
|
|
16
|
+
>>27 search/128 TUPLES Data Interchange Format
|
|
17
|
+
# https://www.pcmatic.com/company/libraries/fileextension/detail.asp?ext=dif.html
|
|
18
|
+
#!:mime application/x-dif-spreadsheet Gnumeric
|
|
19
|
+
# https://github.com/LibreOffice/online/blob/master/discovery.xml
|
|
20
|
+
#!:mime application/x-dif-document LibreOffice
|
|
21
|
+
# https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/File_formats/Lists/File_formats
|
|
22
|
+
!:mime application/x-dif
|
|
23
|
+
# https://extension.nirsoft.net/dif
|
|
24
|
+
#!:mime application/vnd.ms-excel
|
|
25
|
+
#!:mime text/plain
|
|
26
|
+
!:ext dif
|
|
27
|
+
# look for double quote 0x22 on 3rd line
|
|
28
|
+
>>>10 search/3 "
|
|
29
|
+
# skip if next character also double quote
|
|
30
|
+
>>>>&0 ubyte !0x22 \b, generator or table name
|
|
31
|
+
# comment like EXCEL, pwm enclosed in double quotes
|
|
32
|
+
>>>>>&-2 string x %s
|
|
33
|
+
|
polyfile/magic_defs/diff
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: diff,v 1.17 2020/08/22 18:16:58 christos Exp $
|
|
4
|
+
# diff: file(1) magic for diff(1) output
|
|
5
|
+
#
|
|
6
|
+
0 search/1 diff\040 diff output text
|
|
7
|
+
!:mime text/x-diff
|
|
8
|
+
0 search/1 ***\040
|
|
9
|
+
>&0 search/1024 \n---\040 context diff output text
|
|
10
|
+
!:mime text/x-diff
|
|
11
|
+
0 search/1 Only\040in\040 diff output text
|
|
12
|
+
!:mime text/x-diff
|
|
13
|
+
0 search/1 Common\040subdirectories:\040 diff output text
|
|
14
|
+
!:mime text/x-diff
|
|
15
|
+
|
|
16
|
+
0 search/1 Index: RCS/CVS diff output text
|
|
17
|
+
!:mime text/x-diff
|
|
18
|
+
|
|
19
|
+
# bsdiff: file(1) magic for bsdiff(1) output
|
|
20
|
+
0 string/b BSDIFF40 bsdiff(1) patch file
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# unified diff
|
|
24
|
+
0 search/4096 ---\040
|
|
25
|
+
>&0 search/1024 \n
|
|
26
|
+
>>&0 search/1 +++\040
|
|
27
|
+
>>>&0 search/1024 \n
|
|
28
|
+
>>>>&0 search/1 @@ unified diff output text
|
|
29
|
+
!:mime text/x-diff
|
|
30
|
+
!:strength + 90
|
|
31
|
+
|
|
32
|
+
# librsync -- the library for network deltas
|
|
33
|
+
#
|
|
34
|
+
# Copyright (C) 2001 by Martin Pool. You may do whatever you want with
|
|
35
|
+
# this file.
|
|
36
|
+
#
|
|
37
|
+
0 belong 0x72730236 rdiff network-delta data
|
|
38
|
+
|
|
39
|
+
0 belong 0x72730136 rdiff network-delta signature data
|
|
40
|
+
>4 belong x (block length=%d,
|
|
41
|
+
>8 belong x signature strength=%d)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: digital,v 1.12 2021/07/03 14:01:46 christos Exp $
|
|
4
|
+
# Digital UNIX - Info
|
|
5
|
+
#
|
|
6
|
+
0 string =!<arch>\n________64E Alpha archive
|
|
7
|
+
>22 string X -- out of date
|
|
8
|
+
#
|
|
9
|
+
|
|
10
|
+
0 leshort 0603
|
|
11
|
+
>24 leshort 0410 COFF format alpha pure
|
|
12
|
+
>24 leshort 0413 COFF format alpha demand paged
|
|
13
|
+
>>22 leshort&030000 !020000 executable
|
|
14
|
+
>>22 leshort&020000 !0 dynamically linked
|
|
15
|
+
>>16 lelong !0 not stripped
|
|
16
|
+
>>16 lelong 0 stripped
|
|
17
|
+
>>27 byte x - version %d
|
|
18
|
+
>>26 byte x \b.%d
|
|
19
|
+
>>28 byte x \b-%d
|
|
20
|
+
>24 leshort 0407 COFF format alpha object
|
|
21
|
+
>>22 leshort&030000 020000 shared library
|
|
22
|
+
>>27 byte x - version %d
|
|
23
|
+
>>26 byte x \b.%d
|
|
24
|
+
>>28 byte x \b-%d
|
|
25
|
+
|
|
26
|
+
# Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
|
|
27
|
+
#
|
|
28
|
+
# The actual magic number is just "Core", followed by a 2-byte version
|
|
29
|
+
# number; however, treating any file that begins with "Core" as a Digital
|
|
30
|
+
# UNIX core dump file may produce too many false hits, so we include one
|
|
31
|
+
# byte of the version number as well; DU 5.0 appears only to be up to
|
|
32
|
+
# version 2.
|
|
33
|
+
#
|
|
34
|
+
0 string Core\001 Alpha COFF format core dump (Digital UNIX)
|
|
35
|
+
>24 string >\0 \b, from '%s'
|
|
36
|
+
0 string Core\002 Alpha COFF format core dump (Digital UNIX)
|
|
37
|
+
>24 string >\0 \b, from '%s'
|
|
38
|
+
#
|
|
39
|
+
# The next is incomplete, we could tell more about this format,
|
|
40
|
+
# but its not worth it.
|
|
41
|
+
0 leshort 0x188 Alpha compressed COFF
|
|
42
|
+
0 leshort 0x18f Alpha u-code object
|
|
43
|
+
#
|
|
44
|
+
#
|
|
45
|
+
# Some other interesting Digital formats,
|
|
46
|
+
0 string \377\377\177 ddis/ddif
|
|
47
|
+
0 string \377\377\174 ddis/dots archive
|
|
48
|
+
0 string \377\377\176 ddis/dtif table data
|
|
49
|
+
0 string \033c\033 LN03 output
|
|
50
|
+
0 long 04553207 X image
|
|
51
|
+
#
|
|
52
|
+
0 string =!<PDF>!\n profiling data file
|
|
53
|
+
#
|
|
54
|
+
# Locale data tables (MIPS and Alpha).
|
|
55
|
+
#
|
|
56
|
+
# GRR: line below is too general as it matches also TTComp archive, ASCII, 2K handled by ./archive
|
|
57
|
+
0 short 0x0501 locale data table
|
|
58
|
+
>6 short 0x24 for MIPS
|
|
59
|
+
>6 short 0x40 for Alpha
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: dolby,v 1.9 2019/04/19 00:42:27 christos Exp $
|
|
4
|
+
# ATSC A/53 aka AC-3 aka Dolby Digital <ashitaka@gmx.at>
|
|
5
|
+
# from https://www.atsc.org/standards/a_52a.pdf
|
|
6
|
+
# corrections, additions, etc. are always welcome!
|
|
7
|
+
#
|
|
8
|
+
# syncword
|
|
9
|
+
0 beshort 0x0b77 ATSC A/52 aka AC-3 aka Dolby Digital stream,
|
|
10
|
+
# Proposed audio/ac3 RFC/4184
|
|
11
|
+
!:mime audio/vnd.dolby.dd-raw
|
|
12
|
+
# fscod
|
|
13
|
+
>4 byte&0xc0 = 0x00 48 kHz,
|
|
14
|
+
>4 byte&0xc0 = 0x40 44.1 kHz,
|
|
15
|
+
>4 byte&0xc0 = 0x80 32 kHz,
|
|
16
|
+
# is this one used for 96 kHz?
|
|
17
|
+
>4 byte&0xc0 = 0xc0 reserved frequency,
|
|
18
|
+
#
|
|
19
|
+
>5 byte&0x07 = 0x00 \b, complete main (CM)
|
|
20
|
+
>5 byte&0x07 = 0x01 \b, music and effects (ME)
|
|
21
|
+
>5 byte&0x07 = 0x02 \b, visually impaired (VI)
|
|
22
|
+
>5 byte&0x07 = 0x03 \b, hearing impaired (HI)
|
|
23
|
+
>5 byte&0x07 = 0x04 \b, dialogue (D)
|
|
24
|
+
>5 byte&0x07 = 0x05 \b, commentary (C)
|
|
25
|
+
>5 byte&0x07 = 0x06 \b, emergency (E)
|
|
26
|
+
>5 beshort&0x07e0 0x0720 \b, voiceover (VO)
|
|
27
|
+
>5 beshort&0x07e0 >0x0720 \b, karaoke
|
|
28
|
+
# acmod
|
|
29
|
+
>6 byte&0xe0 = 0x00 1+1 front,
|
|
30
|
+
>>6 byte&0x10 = 0x10 LFE on,
|
|
31
|
+
>6 byte&0xe0 = 0x20 1 front/0 rear,
|
|
32
|
+
>>6 byte&0x10 = 0x10 LFE on,
|
|
33
|
+
>6 byte&0xe0 = 0x40 2 front/0 rear,
|
|
34
|
+
# dsurmod (for stereo only)
|
|
35
|
+
>>6 byte&0x18 = 0x00 Dolby Surround not indicated
|
|
36
|
+
>>6 byte&0x18 = 0x08 not Dolby Surround encoded
|
|
37
|
+
>>6 byte&0x18 = 0x10 Dolby Surround encoded
|
|
38
|
+
>>6 byte&0x18 = 0x18 reserved Dolby Surround mode
|
|
39
|
+
>>6 byte&0x04 = 0x04 LFE on,
|
|
40
|
+
>6 byte&0xe0 = 0x60 3 front/0 rear,
|
|
41
|
+
>>6 byte&0x04 = 0x04 LFE on,
|
|
42
|
+
>6 byte&0xe0 = 0x80 2 front/1 rear,
|
|
43
|
+
>>6 byte&0x04 = 0x04 LFE on,
|
|
44
|
+
>6 byte&0xe0 = 0xa0 3 front/1 rear,
|
|
45
|
+
>>6 byte&0x01 = 0x01 LFE on,
|
|
46
|
+
>6 byte&0xe0 = 0xc0 2 front/2 rear,
|
|
47
|
+
>>6 byte&0x04 = 0x04 LFE on,
|
|
48
|
+
>6 byte&0xe0 = 0xe0 3 front/2 rear,
|
|
49
|
+
>>6 byte&0x01 = 0x01 LFE on,
|
|
50
|
+
#
|
|
51
|
+
>4 byte&0x3e = 0x00 \b, 32 kbit/s
|
|
52
|
+
>4 byte&0x3e = 0x02 \b, 40 kbit/s
|
|
53
|
+
>4 byte&0x3e = 0x04 \b, 48 kbit/s
|
|
54
|
+
>4 byte&0x3e = 0x06 \b, 56 kbit/s
|
|
55
|
+
>4 byte&0x3e = 0x08 \b, 64 kbit/s
|
|
56
|
+
>4 byte&0x3e = 0x0a \b, 80 kbit/s
|
|
57
|
+
>4 byte&0x3e = 0x0c \b, 96 kbit/s
|
|
58
|
+
>4 byte&0x3e = 0x0e \b, 112 kbit/s
|
|
59
|
+
>4 byte&0x3e = 0x10 \b, 128 kbit/s
|
|
60
|
+
>4 byte&0x3e = 0x12 \b, 160 kbit/s
|
|
61
|
+
>4 byte&0x3e = 0x14 \b, 192 kbit/s
|
|
62
|
+
>4 byte&0x3e = 0x16 \b, 224 kbit/s
|
|
63
|
+
>4 byte&0x3e = 0x18 \b, 256 kbit/s
|
|
64
|
+
>4 byte&0x3e = 0x1a \b, 320 kbit/s
|
|
65
|
+
>4 byte&0x3e = 0x1c \b, 384 kbit/s
|
|
66
|
+
>4 byte&0x3e = 0x1e \b, 448 kbit/s
|
|
67
|
+
>4 byte&0x3e = 0x20 \b, 512 kbit/s
|
|
68
|
+
>4 byte&0x3e = 0x22 \b, 576 kbit/s
|
|
69
|
+
>4 byte&0x3e = 0x24 \b, 640 kbit/s
|
polyfile/magic_defs/dsf
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------
|
|
3
|
+
# $File: dsf,v 1.1 2022/01/08 16:29:18 christos Exp $
|
|
4
|
+
# dsf: file(1) magic for DSD Stream File
|
|
5
|
+
# URL: https://en.wikipedia.org/wiki/Direct_Stream_Digital
|
|
6
|
+
# Reference: https://dsd-guide.com/sites/default/files/white-papers/DSFFileFormatSpec_E.pdf
|
|
7
|
+
0 string DSD\x20 DSD Stream File,
|
|
8
|
+
>0x30 leshort 1 mono,
|
|
9
|
+
>0x30 leshort 2 stereo,
|
|
10
|
+
>0x30 leshort 3 three-channel,
|
|
11
|
+
>0x30 leshort 4 quad-channel,
|
|
12
|
+
>0x30 leshort 5 3.1 4-channel,
|
|
13
|
+
>0x30 leshort 6 five-channel,
|
|
14
|
+
>0x30 leshort 7 5.1 surround,
|
|
15
|
+
>0x30 default x
|
|
16
|
+
>>0x30 leshort x unknown channel format (%d),
|
|
17
|
+
>0x38 lelong 2822400 simple-rate,
|
|
18
|
+
>0x38 lelong 5644800 double-rate,
|
|
19
|
+
>0x38 default x
|
|
20
|
+
>>0x38 lelong x %d Hz,
|
|
21
|
+
>0x3c leshort 1 1 bit,
|
|
22
|
+
>0x3c leshort 8 8 bit,
|
|
23
|
+
>0x3c default x
|
|
24
|
+
>>0x3c leshort x %d bit,
|
|
25
|
+
>0x40 lelong x %d samples
|
polyfile/magic_defs/dump
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: dump,v 1.17 2018/06/26 01:07:17 christos Exp $
|
|
4
|
+
# dump: file(1) magic for dump file format--for new and old dump filesystems
|
|
5
|
+
#
|
|
6
|
+
# We specify both byte orders in order to recognize byte-swapped dumps.
|
|
7
|
+
#
|
|
8
|
+
0 name new-dump-be
|
|
9
|
+
>4 bedate x This dump %s,
|
|
10
|
+
>8 bedate x Previous dump %s,
|
|
11
|
+
>12 belong >0 Volume %d,
|
|
12
|
+
>692 belong 0 Level zero, type:
|
|
13
|
+
>692 belong >0 Level %d, type:
|
|
14
|
+
>0 belong 1 tape header,
|
|
15
|
+
>0 belong 2 beginning of file record,
|
|
16
|
+
>0 belong 3 map of inodes on tape,
|
|
17
|
+
>0 belong 4 continuation of file record,
|
|
18
|
+
>0 belong 5 end of volume,
|
|
19
|
+
>0 belong 6 map of inodes deleted,
|
|
20
|
+
>0 belong 7 end of medium (for floppy),
|
|
21
|
+
>676 string >\0 Label %s,
|
|
22
|
+
>696 string >\0 Filesystem %s,
|
|
23
|
+
>760 string >\0 Device %s,
|
|
24
|
+
>824 string >\0 Host %s,
|
|
25
|
+
>888 belong >0 Flags %x
|
|
26
|
+
|
|
27
|
+
0 name old-dump-be
|
|
28
|
+
#>4 bedate x This dump %s,
|
|
29
|
+
#>8 bedate x Previous dump %s,
|
|
30
|
+
>12 belong >0 Volume %d,
|
|
31
|
+
>692 belong 0 Level zero, type:
|
|
32
|
+
>692 belong >0 Level %d, type:
|
|
33
|
+
>0 belong 1 tape header,
|
|
34
|
+
>0 belong 2 beginning of file record,
|
|
35
|
+
>0 belong 3 map of inodes on tape,
|
|
36
|
+
>0 belong 4 continuation of file record,
|
|
37
|
+
>0 belong 5 end of volume,
|
|
38
|
+
>0 belong 6 map of inodes deleted,
|
|
39
|
+
>0 belong 7 end of medium (for floppy),
|
|
40
|
+
>676 string >\0 Label %s,
|
|
41
|
+
>696 string >\0 Filesystem %s,
|
|
42
|
+
>760 string >\0 Device %s,
|
|
43
|
+
>824 string >\0 Host %s,
|
|
44
|
+
>888 belong >0 Flags %x
|
|
45
|
+
|
|
46
|
+
0 name ufs2-dump-be
|
|
47
|
+
>896 beqdate x This dump %s,
|
|
48
|
+
>904 beqdate x Previous dump %s,
|
|
49
|
+
>12 belong >0 Volume %d,
|
|
50
|
+
>692 belong 0 Level zero, type:
|
|
51
|
+
>692 belong >0 Level %d, type:
|
|
52
|
+
>0 belong 1 tape header,
|
|
53
|
+
>0 belong 2 beginning of file record,
|
|
54
|
+
>0 belong 3 map of inodes on tape,
|
|
55
|
+
>0 belong 4 continuation of file record,
|
|
56
|
+
>0 belong 5 end of volume,
|
|
57
|
+
>0 belong 6 map of inodes deleted,
|
|
58
|
+
>0 belong 7 end of medium (for floppy),
|
|
59
|
+
>676 string >\0 Label %s,
|
|
60
|
+
>696 string >\0 Filesystem %s,
|
|
61
|
+
>760 string >\0 Device %s,
|
|
62
|
+
>824 string >\0 Host %s,
|
|
63
|
+
>888 belong >0 Flags %x
|
|
64
|
+
|
|
65
|
+
24 belong 60012 new-fs dump file (big endian),
|
|
66
|
+
>0 use new-dump-be
|
|
67
|
+
|
|
68
|
+
24 belong 60011 old-fs dump file (big endian),
|
|
69
|
+
>0 use old-dump-be
|
|
70
|
+
|
|
71
|
+
24 lelong 60012 new-fs dump file (little endian),
|
|
72
|
+
# to correctly recognize '*.mo' GNU message catalog (little endian)
|
|
73
|
+
!:strength - 15
|
|
74
|
+
>0 use \^new-dump-be
|
|
75
|
+
|
|
76
|
+
24 lelong 60011 old-fs dump file (little endian),
|
|
77
|
+
>0 use \^old-dump-be
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
24 belong 0x19540119 new-fs dump file (ufs2, big endian),
|
|
81
|
+
>0 use ufs2-dump-be
|
|
82
|
+
|
|
83
|
+
24 lelong 0x19540119 new-fs dump file (ufs2, little endian),
|
|
84
|
+
>0 use \^ufs2-dump-be
|
|
85
|
+
|
|
86
|
+
18 leshort 60011 old-fs dump file (16-bit, assuming PDP-11 endianness),
|
|
87
|
+
>2 medate x Previous dump %s,
|
|
88
|
+
>6 medate x This dump %s,
|
|
89
|
+
>10 leshort >0 Volume %d,
|
|
90
|
+
>0 leshort 1 tape header.
|
|
91
|
+
>0 leshort 2 beginning of file record.
|
|
92
|
+
>0 leshort 3 map of inodes on tape.
|
|
93
|
+
>0 leshort 4 continuation of file record.
|
|
94
|
+
>0 leshort 5 end of volume.
|
|
95
|
+
>0 leshort 6 map of inodes deleted.
|
|
96
|
+
>0 leshort 7 end of medium (for floppy).
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: dwarfs,v 1.2 2023/05/23 13:37:32 christos Exp $
|
|
4
|
+
# dwarfs: file(1) magic for DwarFS File System Image files
|
|
5
|
+
# URL: https://github.com/mhx/dwarfs for details about DwarFS
|
|
6
|
+
# From: Marcus Holland-Moritz <github@mhxnet.de>
|
|
7
|
+
|
|
8
|
+
#### DwarFS Version Macro
|
|
9
|
+
0 name dwarfsversion
|
|
10
|
+
>&0 byte x \b, version %d
|
|
11
|
+
>&1 byte x \b.%d
|
|
12
|
+
|
|
13
|
+
#### DwarFS Compression Macro
|
|
14
|
+
0 name dwarfscompression
|
|
15
|
+
>&0 leshort =0 \b, uncompressed
|
|
16
|
+
>&0 leshort =1 \b, LZMA compression
|
|
17
|
+
>&0 leshort =2 \b, ZSTD compression
|
|
18
|
+
>&0 leshort =3 \b, LZ4 compression
|
|
19
|
+
>&0 leshort =4 \b, LZ4HC compression
|
|
20
|
+
>&0 leshort =5 \b, BROTLI compression
|
|
21
|
+
|
|
22
|
+
#### DwarFS files without header
|
|
23
|
+
## We first check against a DWARFS magic at the start of the file, then
|
|
24
|
+
## validate by checking the block count / section type to be all zeros
|
|
25
|
+
## for the first block. Finally, we check that the *next* block also
|
|
26
|
+
## has the correct DWARFS magic.
|
|
27
|
+
0 string DWARFS
|
|
28
|
+
>&0x2A string/b \0\0\0\0\0\0
|
|
29
|
+
>>&(&0x02.q+0x0A) string DWARFS DwarFS File System Image
|
|
30
|
+
>>>&0 use dwarfsversion
|
|
31
|
+
>>&0 use dwarfscompression
|
|
32
|
+
|
|
33
|
+
#### DwarFS files with header
|
|
34
|
+
## We search for a DWARFS magic in the first 64k of the file (images with
|
|
35
|
+
## headers longer than 64k won't be recognized), then validate by checking
|
|
36
|
+
## the block count / section type to be all zeros for the first block.
|
|
37
|
+
## Finally, we check that the *next* block also has the correct DWARFS magic.
|
|
38
|
+
## If we find a DWARFS magic that doesn't pass validation, we continue with
|
|
39
|
+
## an indirect match recursively.
|
|
40
|
+
1 search/65536/b DWARFS
|
|
41
|
+
>&0x2A string/b \0\0\0\0\0\0
|
|
42
|
+
>>&(&0x02.q+0x0A) string DWARFS DwarFS File System Image (with header)
|
|
43
|
+
>>>&0 use dwarfsversion
|
|
44
|
+
>>&0 use dwarfscompression
|
|
45
|
+
>&-1 indirect x
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: dyadic,v 1.9 2019/04/19 00:42:27 christos Exp $
|
|
4
|
+
# Dyadic: file(1) magic for Dyalog APL.
|
|
5
|
+
#
|
|
6
|
+
# updated by Joerg Jenderek at Oct 2013
|
|
7
|
+
# https://en.wikipedia.org/wiki/Dyalog_APL
|
|
8
|
+
# https://www.dyalog.com/
|
|
9
|
+
# .DXV Dyalog APL External Variable
|
|
10
|
+
# .DIN Dyalog APL Input Table
|
|
11
|
+
# .DOT Dyalog APL Output Table
|
|
12
|
+
# .DFT Dyalog APL Format File
|
|
13
|
+
0 ubeshort&0xFF60 0xaa00
|
|
14
|
+
# skip biblio.dbt
|
|
15
|
+
>1 byte !4
|
|
16
|
+
# real Dyalog APL have non zero version numbers like 7.3 or 13.4
|
|
17
|
+
>>2 ubeshort >0x0000 Dyalog APL
|
|
18
|
+
>>>1 byte 0x00 aplcore
|
|
19
|
+
#>>>1 byte 0x00 incomplete workspace
|
|
20
|
+
# *.DCF Dyalog APL Component File
|
|
21
|
+
>>>1 byte 0x01 component file 32-bit non-journaled non-checksummed
|
|
22
|
+
#>>>1 byte 0x01 component file
|
|
23
|
+
>>>1 byte 0x02 external variable exclusive
|
|
24
|
+
#>>>1 byte 0x02 external variable
|
|
25
|
+
# *.DWS Dyalog APL Workspace
|
|
26
|
+
>>>1 byte 0x03 workspace
|
|
27
|
+
>>>>7 byte&0x28 0x00 32-bit
|
|
28
|
+
>>>>7 byte&0x28 0x20 64-bit
|
|
29
|
+
>>>>7 byte&0x0c 0x00 classic
|
|
30
|
+
>>>>7 byte&0x0c 0x04 unicode
|
|
31
|
+
>>>>7 byte&0x88 0x00 big-endian
|
|
32
|
+
>>>>7 byte&0x88 0x80 little-endian
|
|
33
|
+
>>>1 byte 0x06 external variable shared
|
|
34
|
+
# *.DSE Dyalog APL Session , *.DLF Dyalog APL Session Log File
|
|
35
|
+
>>>1 byte 0x07 session
|
|
36
|
+
>>>1 byte 0x08 mapped file 32-bit
|
|
37
|
+
>>>1 byte 0x09 component file 64-bit non-journaled non-checksummed
|
|
38
|
+
>>>1 byte 0x0a mapped file 64-bit
|
|
39
|
+
>>>1 byte 0x0b component file 32-bit level 1 journaled non-checksummed
|
|
40
|
+
>>>1 byte 0x0c component file 64-bit level 1 journaled non-checksummed
|
|
41
|
+
>>>1 byte 0x0d component file 32-bit level 1 journaled checksummed
|
|
42
|
+
>>>1 byte 0x0e component file 64-bit level 1 journaled checksummed
|
|
43
|
+
>>>1 byte 0x0f component file 32-bit level 2 journaled checksummed
|
|
44
|
+
>>>1 byte 0x10 component file 64-bit level 2 journaled checksummed
|
|
45
|
+
>>>1 byte 0x11 component file 32-bit level 3 journaled checksummed
|
|
46
|
+
>>>1 byte 0x12 component file 64-bit level 3 journaled checksummed
|
|
47
|
+
>>>1 byte 0x13 component file 32-bit non-journaled checksummed
|
|
48
|
+
>>>1 byte 0x14 component file 64-bit non-journaled checksummed
|
|
49
|
+
>>>1 byte 0x15 component file under construction
|
|
50
|
+
>>>1 byte 0x16 DFS component file 64-bit level 1 journaled checksummed
|
|
51
|
+
>>>1 byte 0x17 DFS component file 64-bit level 2 journaled checksummed
|
|
52
|
+
>>>1 byte 0x18 DFS component file 64-bit level 3 journaled checksummed
|
|
53
|
+
>>>1 byte 0x19 external workspace
|
|
54
|
+
>>>1 byte 0x80 DDB
|
|
55
|
+
>>>2 byte x version %d
|
|
56
|
+
>>>3 byte x \b.%d
|
|
57
|
+
#>>>2 byte x type %d
|
|
58
|
+
#>>>3 byte x subtype %d
|
|
59
|
+
|
|
60
|
+
# *.DXF Dyalog APL Transfer File
|
|
61
|
+
0 short 0x6060 Dyalog APL transfer
|
polyfile/magic_defs/ebml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: ebml,v 1.2 2019/04/19 00:42:27 christos Exp $
|
|
4
|
+
# ebml: file(1) magic for various Extensible Binary Meta Language
|
|
5
|
+
# https://www.matroska.org/technical/specs/index.html#track
|
|
6
|
+
0 belong 0x1a45dfa3 EBML file
|
|
7
|
+
>4 search/b/100 \102\202
|
|
8
|
+
>>&1 string x \b, creator %.8s
|
polyfile/magic_defs/edid
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: edid,v 1.1 2019/03/28 12:36:01 christos Exp $
|
|
4
|
+
# edid: file(1) magic for EDID dump files
|
|
5
|
+
|
|
6
|
+
0 quad 0x00ffffffffffff00 Extended display identification data dump
|
|
7
|
+
!:mime application/x-edid-dump
|
|
8
|
+
>18 byte 0x01 Version 1
|
|
9
|
+
>>19 byte <0x04 \b.%d
|
|
10
|
+
>18 byte 0x02 Version 2
|
|
11
|
+
>>19 byte 0x00 \b.0
|