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,9 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: inform,v 1.5 2009/09/19 16:28:09 christos Exp $
|
|
4
|
+
# inform: file(1) magic for Inform interactive fiction language
|
|
5
|
+
|
|
6
|
+
# URL: http://www.inform-fiction.org/
|
|
7
|
+
# From: Reuben Thomas <rrt@sc3d.org>
|
|
8
|
+
|
|
9
|
+
0 search/100/cW constant\ story Inform source text
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: intel,v 1.23 2022/10/31 13:22:26 christos Exp $
|
|
4
|
+
# intel: file(1) magic for x86 Unix
|
|
5
|
+
#
|
|
6
|
+
# Various flavors of x86 UNIX executable/object (other than Xenix, which
|
|
7
|
+
# is in "microsoft"). DOS is in "msdos"; the ambitious soul can do
|
|
8
|
+
# Windows as well.
|
|
9
|
+
#
|
|
10
|
+
# Windows NT belongs elsewhere, as you need x86 and MIPS and Alpha and
|
|
11
|
+
# whatever comes next (HP-PA Hummingbird?). OS/2 may also go elsewhere
|
|
12
|
+
# as well, if, as, and when IBM makes it portable.
|
|
13
|
+
#
|
|
14
|
+
# The `versions' should be un-commented if they work for you.
|
|
15
|
+
# (Was the problem just one of endianness?)
|
|
16
|
+
#
|
|
17
|
+
0 leshort 0502 basic-16 executable
|
|
18
|
+
>12 lelong >0 not stripped
|
|
19
|
+
#>22 leshort >0 - version %d
|
|
20
|
+
0 leshort 0503 basic-16 executable (TV)
|
|
21
|
+
>12 lelong >0 not stripped
|
|
22
|
+
#>22 leshort >0 - version %d
|
|
23
|
+
0 leshort 0510 x86 executable
|
|
24
|
+
>12 lelong >0 not stripped
|
|
25
|
+
0 leshort 0511 x86 executable (TV)
|
|
26
|
+
>12 lelong >0 not stripped
|
|
27
|
+
0 leshort =0512 iAPX 286 executable small model (COFF)
|
|
28
|
+
>12 lelong >0 not stripped
|
|
29
|
+
#>22 leshort >0 - version %d
|
|
30
|
+
0 leshort =0522 iAPX 286 executable large model (COFF)
|
|
31
|
+
>12 lelong >0 not stripped
|
|
32
|
+
#>22 leshort >0 - version %d
|
|
33
|
+
# updated by Joerg Jenderek at Oct 2015
|
|
34
|
+
# https://de.wikipedia.org/wiki/Common_Object_File_Format
|
|
35
|
+
# http://www.delorie.com/djgpp/doc/coff/filhdr.html
|
|
36
|
+
# ./msdos (version 5.25) labeled the next entry as "MS Windows COFF Intel 80386 object file"
|
|
37
|
+
# ./intel (version 5.25) label labeled the next entry as "80386 COFF executable"
|
|
38
|
+
# SGI labeled the next entry as "iAPX 386 executable" --Dan Quinlan
|
|
39
|
+
0 leshort =0514
|
|
40
|
+
# use subroutine to display name+flags+variables for common object formatted files
|
|
41
|
+
>0 use display-coff
|
|
42
|
+
#>12 lelong >0 not stripped
|
|
43
|
+
# no hint found, that at offset 22 is version
|
|
44
|
+
#>22 leshort >0 - version %d
|
|
45
|
+
0 leshort 0x0200
|
|
46
|
+
# no F_EXEC flag bit implies Intel ia64 COFF object file without optional header
|
|
47
|
+
>18 leshort ^0x0002
|
|
48
|
+
# skip some DEGAS high-res uncompressed bitmap *.pi3 handled by ./images like
|
|
49
|
+
# GEMINI03.PI3 MODEM2.PI3 POWERFIX.PI3 sigirl1.pi3 vanna5.pi3
|
|
50
|
+
# by test for valid starting character (often point 0x2E) of 1st section name
|
|
51
|
+
>>20 ubyte >0x1F
|
|
52
|
+
>>>0 use display-coff
|
|
53
|
+
# F_EXEC flag bit implies Intel ia64 COFF executable
|
|
54
|
+
>18 leshort &0x0002
|
|
55
|
+
>>0 use display-coff
|
|
56
|
+
0 leshort 0x8664
|
|
57
|
+
>0 use display-coff
|
|
58
|
+
|
|
59
|
+
# rom: file(1) magic for BIOS ROM Extensions found in intel machines
|
|
60
|
+
# mapped into memory between 0xC0000 and 0xFFFFF
|
|
61
|
+
# From: Alex Myczko <alex@aiei.ch>
|
|
62
|
+
# updated by Joerg Jenderek
|
|
63
|
+
# https://en.wikipedia.org/wiki/Option_ROM
|
|
64
|
+
# URL: http://fileformats.archiveteam.org/wiki/BIOS
|
|
65
|
+
# Reference: http://www.lejabeach.com/sisubb/BIOS_Disassembly_Ninjutsu_Uncovered.pdf
|
|
66
|
+
0 beshort 0x55AA
|
|
67
|
+
# skip misidentified raspberry pi pieeprom-*.bin by check for
|
|
68
|
+
# unlikely high ROM size (0xF0*512=240*512) and not observed start instruction 0x0F
|
|
69
|
+
>2 ubeshort !0xF00F
|
|
70
|
+
# skip 2 byte sized eof.bin with start magic
|
|
71
|
+
>>0 use rom-x86
|
|
72
|
+
0 name rom-x86
|
|
73
|
+
>0 beshort x BIOS (ia32) ROM Ext.
|
|
74
|
+
#!:mime application/octet-stream
|
|
75
|
+
!:mime application/x-ibm-rom
|
|
76
|
+
!:ext rom/bin
|
|
77
|
+
################################################################################
|
|
78
|
+
# not Plug aNd Play ($PnP) like 00000000 (ide_xtp.bin kvmvapic.bin V7VGA.ROM) 000000fc (MCT-VGA.bin)
|
|
79
|
+
# 55aaf00f (pieeprom-*.bin) 55aa40e9 (Trm3x5.bin) 24506f4f (sgabios-bin.rom)
|
|
80
|
+
# 55aa4be9 (vgabios-stdvga.rom vgabios-cirrus-bin.rom vgabios-vmware-bin.rom)
|
|
81
|
+
>(26.s) ubelong !0x24506e50
|
|
82
|
+
#>(26.s) ubelong !0x24506e50 NOT PNP=%8.8x
|
|
83
|
+
# also not PCI (PCIR) implies "old" ISA cards or foo like: 8a168404 (MCT-VGA.bin)
|
|
84
|
+
# 55aaf00f (pieeprom*.bin)
|
|
85
|
+
>>(24.s) ubelong !0x50434952
|
|
86
|
+
#>>(24.s) ubelong !0x50434952 ISA CARD=%8.8x
|
|
87
|
+
# "old" identification strings used in file version 5.41 and earlier
|
|
88
|
+
# probably an USB controller
|
|
89
|
+
>>>5 string USB USB
|
|
90
|
+
# probably https://en.wikipedia.org/wiki/Preboot_Execution_Environment
|
|
91
|
+
>>>7 string LDR UNDI image
|
|
92
|
+
# probably another Adaptec SCSI controller
|
|
93
|
+
>>>26 string Adaptec Adaptec
|
|
94
|
+
# http://minuszerodegrees.net/rom/bin/adaptec_aha1542cp_bios_908501-00.bin
|
|
95
|
+
# already done by PNP variant
|
|
96
|
+
#>>>28 string Adaptec Adaptec
|
|
97
|
+
# probably Promise SCSI controller
|
|
98
|
+
>>>42 string PROMISE Promise
|
|
99
|
+
# old test for IBM compatible Video cards; INTERNAL FACTS WHY IS THIS WORKING?
|
|
100
|
+
>30 string IBM IBM comp. Video
|
|
101
|
+
# display exact text for IBM compatible Video cards with longer text
|
|
102
|
+
>>33 ubyte !0
|
|
103
|
+
>>>30 string x "%s"
|
|
104
|
+
# http://minuszerodegrees.net/rom/bin/unknown/MCT-VGA-16%20-%20TDVGA%203588%20BIOS%20Version%20V1.04A.zip
|
|
105
|
+
# "IBM COMPATIBLETDVGA 3588 BIOS Version V1.04A2+" "MCT-VGA-16 - TDVGA 3588 BIOS Version V1.04A.bin"
|
|
106
|
+
# "IBM VGA Compatible\001" NVidia44.bin
|
|
107
|
+
# "IBM EGA ROM Video Seven BIOS Code, Version 1.04" V7VGA.ROM
|
|
108
|
+
# "IBM" vgabios-stdvga.rom
|
|
109
|
+
# "IBM" vgabios-vmware-bin.rom:
|
|
110
|
+
# "IBM" vgabios-cirrus-bin.rom
|
|
111
|
+
# "IBM" vgabios-virtio-bin.rom
|
|
112
|
+
################################################################################
|
|
113
|
+
# ROM size in 512B blocks must be interpreted as unsigned for ROM of network cards
|
|
114
|
+
# like: efi-eepro100.rom efi-rtl8139.rom pxe-e1000.rom
|
|
115
|
+
>2 ubyte x (%u*512)
|
|
116
|
+
# file name file size calculated size remark
|
|
117
|
+
# eof.bin 2 - with start magic nothing is shown here
|
|
118
|
+
# orchid.bin 188 0 =0*512 on window 95 CD in Drivers\audio\orchid3d
|
|
119
|
+
# multiboot.bin 1024 1024 =2*512 QEMU emulator
|
|
120
|
+
# loader1.bin 512 2048 =4*512
|
|
121
|
+
# ide_xtp.bin 8192 8192 =16*512
|
|
122
|
+
# kvmvapic.bin 9216 9216 =18*512
|
|
123
|
+
# V7VGA.ROM 18832 16384 =32*512
|
|
124
|
+
# adaptec1542.bin 32768 16384 =32*512
|
|
125
|
+
# MCT-VGA.bin 32768 24576 =48*512
|
|
126
|
+
# 2975BIOS.BIN 32768 32256 =63*512
|
|
127
|
+
# efi-e1000.rom 196608 64000 =125*512
|
|
128
|
+
# efi-rtl8139.rom 176640 66048 =129*512
|
|
129
|
+
# pieeprom*.bin 524288 122880 =240*512
|
|
130
|
+
################################################################################
|
|
131
|
+
# initialization vector with executable code; often near JuMP instruction E9 yy zz
|
|
132
|
+
>3 ubyte =0xE9 jmp
|
|
133
|
+
# jmp offset like: 008fh 0093h 009fh 00afh 0143h 3ad7h 5417h 54ech 594dh 895fh
|
|
134
|
+
>>4 uleshort x %#4.4x
|
|
135
|
+
# for initialization vector samples without 3 byte jump instruction
|
|
136
|
+
>3 ubyte !0xE9 instruction
|
|
137
|
+
# eb4b3734h NVidia44.bin
|
|
138
|
+
# 00003234h V7VGA.ROM
|
|
139
|
+
# 060e0731h kvmvapic.bin
|
|
140
|
+
# cb000000h linuxboot-bin.rom
|
|
141
|
+
# e80d0fcbh PXE-Intel.rom
|
|
142
|
+
# b8004875h orchid.bin
|
|
143
|
+
>>3 ubelong x %#8.8x
|
|
144
|
+
# For misidentified raspberry pi pieeprom-*.bin like: 0xf00f
|
|
145
|
+
#>2 ubeshort x \b, AT 2 %#4.4x
|
|
146
|
+
################################################################################
|
|
147
|
+
# new sections for BIOS (ia32) ROM Extension
|
|
148
|
+
# 4 bytes ASCII Signature "$PnP" for Plug aNd Play expansion header
|
|
149
|
+
>(26.s) string =$PnP \b;
|
|
150
|
+
#>(26.s) string =$PnP FOUND $PnP
|
|
151
|
+
# at 1Ah possible offset to expansion header structure; new for Plug aNd Play
|
|
152
|
+
>>26 uleshort x at %#x PNP
|
|
153
|
+
# Plug and Play vendor+device ID like: 0 0x000f1000 (2975BIOS.BIN) 0x31121095 (4243.bin) 0x04904215 (adaptec1542.bin)
|
|
154
|
+
#>>(26.s+0x0A) ulelong !0 NOT-nullID=%8.8x
|
|
155
|
+
>>(26.s+0x0A) uleshort !0
|
|
156
|
+
# show PnP Vendor identification in human readable text form instead of numeric
|
|
157
|
+
# For adaptec_ava1515_bios_585201-00.bin reverted endian! BUT IS THIS ALWAYS TRUE?
|
|
158
|
+
>>>(26.s+0x0C) use \^PCI-vendor
|
|
159
|
+
>>>(26.s+0x0A) ubeshort x device=%#4.4x
|
|
160
|
+
# 3 byte Device type code; probably the same meaning as in PCI section?
|
|
161
|
+
# OK for storage controller SCSI (2975BIOS.BIN adaptec1542.bin)
|
|
162
|
+
# and network controller ethernet (efi-e1000.rom efi-rtl8139.rom)
|
|
163
|
+
>>(26.s+0x12) use PCI-class
|
|
164
|
+
# structure revision like: 01h
|
|
165
|
+
>>(26.s+4) ubyte !1 \b, revision %u
|
|
166
|
+
# PnP Header structure length in multiple of 16 bytes like: 2
|
|
167
|
+
>>(26.s+5) uleshort !2 \b, length %u*16
|
|
168
|
+
# offset to next header; 0 if none
|
|
169
|
+
>>(26.s+7) uleshort !0 \b, at %#x next header
|
|
170
|
+
# reserved byte; seems to be zero
|
|
171
|
+
>>(26.s+8) ubyte !0 \b, reserved %#x
|
|
172
|
+
# 8-bit checksum for this header; calculated and patched by patch2pnprom
|
|
173
|
+
>>(26.s+9) ubyte !0 \b, CRC %#x
|
|
174
|
+
# pointer to optional manufacturer string; like: 0 (4243.bin) 59h 5ch 60h c7h 14eh 27ch 296h 324h 3662h
|
|
175
|
+
>>(26.s+0x0E) uleshort >0 \b, at %#x
|
|
176
|
+
>>>(26.s+0x0C) uleshort x
|
|
177
|
+
# manufacturer ASCII-Z string like "http://ipxe.org" "Plop - Elmar Hanlhofer www.plop.at" "QEMU"
|
|
178
|
+
>>>>(&0.s) string x "%s"
|
|
179
|
+
# pointer to optional product string; like: 0 (2975BIOS.BIN) 6ch 70h 7ch d9h 160h 281h 29bh 329h
|
|
180
|
+
>>(26.s+0x10) uleshort >0 \b, at %#x
|
|
181
|
+
>>>(26.s+0x0E) uleshort x
|
|
182
|
+
# often human readable product ASCII-Z string like "iPXE" "Plop Boot Manager"
|
|
183
|
+
# "multiboot loader" "Intel UNDI, PXE-2.0 (build 082)"
|
|
184
|
+
>>>>(&0.s) string x "%s"
|
|
185
|
+
# PnP Device indicators; contains bits that identify the device as being capable of bootable
|
|
186
|
+
#>>(26.s+0x15) ubyte x \b, INDICATORS %#x
|
|
187
|
+
# device is a display device
|
|
188
|
+
>>(26.s+0x15) ubyte &0x01 \b, display
|
|
189
|
+
# device is an input device
|
|
190
|
+
>>(26.s+0x15) ubyte &0x02 \b, input
|
|
191
|
+
# device is an IPL device
|
|
192
|
+
>>(26.s+0x15) ubyte &0x04 \b, IPL
|
|
193
|
+
#>>(26.s+0x15) ubyte &0x08 reserved
|
|
194
|
+
# ROM is only required if this device is selected as a boot device
|
|
195
|
+
>>(26.s+0x15) ubyte &0x10 \b, bootable
|
|
196
|
+
# indicates ROM is read cacheable
|
|
197
|
+
>>(26.s+0x15) ubyte &0x20 \b, cacheable
|
|
198
|
+
# ROM may be shadowed in RAM
|
|
199
|
+
>>(26.s+0x15) ubyte &0x40 \b, shadowable
|
|
200
|
+
# ROM supports the device driver initialization model
|
|
201
|
+
>>(26.s+0x15) ubyte &0x80 \b, InitialModel
|
|
202
|
+
# boot connection vector; an offset to a routine that hook into INT 9h, INT 10h, or INT 13h
|
|
203
|
+
# 0 means disabled 0x0429 (4650_sr5.bin) 0x0072 (adaptec1542.bin)
|
|
204
|
+
>>(26.s+0x16) uleshort !0 \b, boot vector offset %#x
|
|
205
|
+
# disconnect vector; offset to routine that do cleanup from an unsuccessful boot attempt
|
|
206
|
+
>>(26.s+0x18) uleshort !0 \b, disconnect offset %#x
|
|
207
|
+
# bootstrap entry point/vector (BEV); offset to a routine (like RPL) that hook into INT 19h
|
|
208
|
+
# 0 means disabled 0x3c (multiboot.bin) 0x358 (efi-rtl8139.rom) 0xae7 (PXE-Intel.rom)
|
|
209
|
+
>>(26.s+0x1A) uleshort !0 \b, bootstrap offset %#x
|
|
210
|
+
# 2nd reserved area; seems to be zero
|
|
211
|
+
>>(26.s+0x1C) uleshort !0 \b, 2nd reserved %#x
|
|
212
|
+
# static resource information vector; 0 means disabled
|
|
213
|
+
>>(26.s+0x1E) uleshort !0 \b, static offset %#4.4x
|
|
214
|
+
################################################################################
|
|
215
|
+
# 4 bytes ASCII Signature "PCIR" for PCI Data Structure
|
|
216
|
+
#>(24.s) string =PCIR FOUND PCIR
|
|
217
|
+
>(24.s) string =PCIR \b;
|
|
218
|
+
# pointer to PCI data structure like: 1Ch 38h 104h 8E44h
|
|
219
|
+
>>24 uleshort x at %#x PCI
|
|
220
|
+
# Vendor identification (ID) https://pci-ids.ucw.cz/v2.2/pci.ids
|
|
221
|
+
#>>(24.s+4) uleshort x ID=%4.4x
|
|
222
|
+
# show Vendor identification in human readable text form instead of numeric
|
|
223
|
+
>>(24.s+4) use PCI-vendor
|
|
224
|
+
# device identification (ID)
|
|
225
|
+
>>(24.s+6) uleshort x device=%#4.4x
|
|
226
|
+
# Base+sub class code https://wiki.osdev.org/PCI
|
|
227
|
+
>>(24.s+0x0D) use PCI-class
|
|
228
|
+
# pointer to vital product data (VPD); 0 indicates no VPD; WHAT EXACTLY iS VPD?
|
|
229
|
+
>>(24.s+8) uleshort !0 \b, at %#x VPD
|
|
230
|
+
# PCI data structure length like: 24h 28h
|
|
231
|
+
>>(24.s+0xA) uleshort >0x28 \b, length %u
|
|
232
|
+
# PCI data structure revision like: 0 3
|
|
233
|
+
>>(24.s+0xC) ubyte >0 \b, revision %u
|
|
234
|
+
# image length (hexadecimal) in multiple of 512 bytes like: 54 56 68 6a 76 78 7c 7d 7e 7f 80 81 83
|
|
235
|
+
# Apparently this gives the same information as given by byte at offset 2 but as 16-bit
|
|
236
|
+
#>>(24.s+0x10) uleshort x \b, length %u*512
|
|
237
|
+
# revision level of code/data like: 0 1 201h 502h
|
|
238
|
+
>>(24.s+0xC) ubyte >1 \b, code revision %#x
|
|
239
|
+
# code type: 0~Intel x86/PC-AT compatible 1~Open firmware standard for PCI42 FF~Reserved
|
|
240
|
+
>>(24.s+0x14) ubyte >0 \b, code type %#x
|
|
241
|
+
# last image indicator; bit 7 indicates "last image"; bits 0-6 are reserved
|
|
242
|
+
>>(24.s+0x15) ubyte >0
|
|
243
|
+
>>>(24.s+0x15) ubyte =0x80 \b, last ROM
|
|
244
|
+
# THIS SHOULD NOT HAPPEN!
|
|
245
|
+
>>>(24.s+0x15) ubyte !0x80 \b, indicator %x
|
|
246
|
+
# 3rd reserved area; seems to be zero in most cases but not for
|
|
247
|
+
# efi-e1000.rom efi-rtl8139.rom
|
|
248
|
+
>>(24.s+0x16) ubeshort !0 \b, 3rd reserved %#x
|
|
249
|
+
|
|
250
|
+
# Flash descriptors for Intel SPI flash roms.
|
|
251
|
+
# From Dr. Jesus <j@hug.gs>
|
|
252
|
+
0 lelong 0x0ff0a55a Intel serial flash for ICH/PCH ROM <= 5 or 3400 series A-step
|
|
253
|
+
16 lelong 0x0ff0a55a Intel serial flash for PCH ROM
|
|
254
|
+
|
|
255
|
+
# From: Joerg Jenderek
|
|
256
|
+
# URL: https://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface
|
|
257
|
+
# Reference: https://uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf
|
|
258
|
+
# Note: generated for example by `cat /sys/firmware/acpi/tables/DSDT MyDSDT.aml`
|
|
259
|
+
0 string DSDT
|
|
260
|
+
>0 use acpi-table
|
|
261
|
+
# not tested or other file format
|
|
262
|
+
0 string APIC
|
|
263
|
+
>0 use acpi-table
|
|
264
|
+
#0 string ASF!
|
|
265
|
+
#>0 use acpi-table
|
|
266
|
+
0 string FACP
|
|
267
|
+
>0 use acpi-table
|
|
268
|
+
#0 string FACS
|
|
269
|
+
#>0 use acpi-table
|
|
270
|
+
0 string MCFG
|
|
271
|
+
>0 use acpi-table
|
|
272
|
+
0 string SLIC
|
|
273
|
+
>0 use acpi-table
|
|
274
|
+
0 string SSDT
|
|
275
|
+
>0 use acpi-table
|
|
276
|
+
0 name acpi-table
|
|
277
|
+
# skip ASCII text starting with DSDT by looking for valid "low" revision
|
|
278
|
+
>8 ubyte <17 ACPI Machine Language file
|
|
279
|
+
# assume that ACPI tables size are lower than 16 MiB
|
|
280
|
+
#>4 ulelong <0x01000000
|
|
281
|
+
# DSDT for Differentiated System Description Table
|
|
282
|
+
>>0 string x '%.4s'
|
|
283
|
+
#!:mime application/octet-stream
|
|
284
|
+
!:mime application/x-intel-aml
|
|
285
|
+
!:ext aml
|
|
286
|
+
# the manufacture model ID like: VBOXBIOS BXDSDT
|
|
287
|
+
>>16 string >\0 %.8s
|
|
288
|
+
# OEM revision of DSDT for supplied OEM Table ID like: 0 1 2 20090511
|
|
289
|
+
>>>24 ulelong x %x
|
|
290
|
+
# OEM ID like: INTEL VBOX (VirtualBox) BXDSDT (qemu) MEDION or \030\001\0\0 for s3pt.aml
|
|
291
|
+
>>10 ubyte >040 by %c
|
|
292
|
+
>>>11 ubyte >040 \b%c
|
|
293
|
+
>>>>12 ubyte >040 \b%c
|
|
294
|
+
>>>>>13 ubyte >040 \b%c
|
|
295
|
+
>>>>>>14 ubyte >040 \b%c
|
|
296
|
+
>>>>>>>15 ubyte >040 \b%c
|
|
297
|
+
# This field also sets the global integer width for the AML interpreter.
|
|
298
|
+
# Values less than two will cause the interpreter to use 32-bit.
|
|
299
|
+
# Values of two and greater will cause the interpreter to use full 64-bit.
|
|
300
|
+
# 16 for asf!.aml, 67 fo rsdp.aml
|
|
301
|
+
>>8 ubyte x \b, revision %u
|
|
302
|
+
# length, in bytes, of the entire DSDT (including the header)
|
|
303
|
+
>>4 ulelong x \b, %u bytes
|
|
304
|
+
# entire table must sum to zero
|
|
305
|
+
#>>9 ubyte x \b, checksum %#x
|
|
306
|
+
# vendor ID for the ASL Compiler like: INTL MSFT ...
|
|
307
|
+
>>28 string >\0 \b, created by %.4s
|
|
308
|
+
# revision number of the ASL Compiler like: 20051117 20140724 20190703 20200110 ...
|
|
309
|
+
>>>32 ulelong x %x
|
|
310
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: interleaf,v 1.10 2009/09/19 16:28:10 christos Exp $
|
|
4
|
+
# interleaf: file(1) magic for InterLeaf TPS:
|
|
5
|
+
#
|
|
6
|
+
0 string =\210OPS Interleaf saved data
|
|
7
|
+
0 string =<!OPS Interleaf document text
|
|
8
|
+
>5 string ,\ Version\ = \b, version
|
|
9
|
+
>>17 string >\0 %.3s
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: island,v 1.5 2009/09/19 16:28:10 christos Exp $
|
|
4
|
+
# island: file(1) magic for IslandWite/IslandDraw, from SunOS 5.5.1
|
|
5
|
+
# "/etc/magic":
|
|
6
|
+
# From: guy@netapp.com (Guy Harris)
|
|
7
|
+
#
|
|
8
|
+
4 string pgscriptver IslandWrite document
|
|
9
|
+
13 string DrawFile IslandDraw document
|
|
10
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: ispell,v 1.8 2009/09/19 16:28:10 christos Exp $
|
|
4
|
+
# ispell: file(1) magic for ispell
|
|
5
|
+
#
|
|
6
|
+
# Ispell 3.0 has a magic of 0x9601 and ispell 3.1 has 0x9602. This magic
|
|
7
|
+
# will match 0x9600 through 0x9603 in *both* little endian and big endian.
|
|
8
|
+
# (No other current magic entries collide.)
|
|
9
|
+
#
|
|
10
|
+
# Updated by Daniel Quinlan (quinlan@yggdrasil.com)
|
|
11
|
+
#
|
|
12
|
+
0 leshort&0xFFFC 0x9600 little endian ispell
|
|
13
|
+
>0 byte 0 hash file (?),
|
|
14
|
+
>0 byte 1 3.0 hash file,
|
|
15
|
+
>0 byte 2 3.1 hash file,
|
|
16
|
+
>0 byte 3 hash file (?),
|
|
17
|
+
>2 leshort 0x00 8-bit, no capitalization, 26 flags
|
|
18
|
+
>2 leshort 0x01 7-bit, no capitalization, 26 flags
|
|
19
|
+
>2 leshort 0x02 8-bit, capitalization, 26 flags
|
|
20
|
+
>2 leshort 0x03 7-bit, capitalization, 26 flags
|
|
21
|
+
>2 leshort 0x04 8-bit, no capitalization, 52 flags
|
|
22
|
+
>2 leshort 0x05 7-bit, no capitalization, 52 flags
|
|
23
|
+
>2 leshort 0x06 8-bit, capitalization, 52 flags
|
|
24
|
+
>2 leshort 0x07 7-bit, capitalization, 52 flags
|
|
25
|
+
>2 leshort 0x08 8-bit, no capitalization, 128 flags
|
|
26
|
+
>2 leshort 0x09 7-bit, no capitalization, 128 flags
|
|
27
|
+
>2 leshort 0x0A 8-bit, capitalization, 128 flags
|
|
28
|
+
>2 leshort 0x0B 7-bit, capitalization, 128 flags
|
|
29
|
+
>2 leshort 0x0C 8-bit, no capitalization, 256 flags
|
|
30
|
+
>2 leshort 0x0D 7-bit, no capitalization, 256 flags
|
|
31
|
+
>2 leshort 0x0E 8-bit, capitalization, 256 flags
|
|
32
|
+
>2 leshort 0x0F 7-bit, capitalization, 256 flags
|
|
33
|
+
>4 leshort >0 and %d string characters
|
|
34
|
+
0 beshort&0xFFFC 0x9600 big endian ispell
|
|
35
|
+
>1 byte 0 hash file (?),
|
|
36
|
+
>1 byte 1 3.0 hash file,
|
|
37
|
+
>1 byte 2 3.1 hash file,
|
|
38
|
+
>1 byte 3 hash file (?),
|
|
39
|
+
>2 beshort 0x00 8-bit, no capitalization, 26 flags
|
|
40
|
+
>2 beshort 0x01 7-bit, no capitalization, 26 flags
|
|
41
|
+
>2 beshort 0x02 8-bit, capitalization, 26 flags
|
|
42
|
+
>2 beshort 0x03 7-bit, capitalization, 26 flags
|
|
43
|
+
>2 beshort 0x04 8-bit, no capitalization, 52 flags
|
|
44
|
+
>2 beshort 0x05 7-bit, no capitalization, 52 flags
|
|
45
|
+
>2 beshort 0x06 8-bit, capitalization, 52 flags
|
|
46
|
+
>2 beshort 0x07 7-bit, capitalization, 52 flags
|
|
47
|
+
>2 beshort 0x08 8-bit, no capitalization, 128 flags
|
|
48
|
+
>2 beshort 0x09 7-bit, no capitalization, 128 flags
|
|
49
|
+
>2 beshort 0x0A 8-bit, capitalization, 128 flags
|
|
50
|
+
>2 beshort 0x0B 7-bit, capitalization, 128 flags
|
|
51
|
+
>2 beshort 0x0C 8-bit, no capitalization, 256 flags
|
|
52
|
+
>2 beshort 0x0D 7-bit, no capitalization, 256 flags
|
|
53
|
+
>2 beshort 0x0E 8-bit, capitalization, 256 flags
|
|
54
|
+
>2 beshort 0x0F 7-bit, capitalization, 256 flags
|
|
55
|
+
>4 beshort >0 and %d string characters
|
|
56
|
+
# ispell 4.0 hash files kromJx <kromJx@crosswinds.net>
|
|
57
|
+
# Ispell 4.0
|
|
58
|
+
0 string ISPL ispell
|
|
59
|
+
>4 long x hash file version %d,
|
|
60
|
+
>8 long x lexletters %d,
|
|
61
|
+
>12 long x lexsize %d,
|
|
62
|
+
>16 long x hashsize %d,
|
|
63
|
+
>20 long x stblsize %d
|
polyfile/magic_defs/isz
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: isz,v 1.5 2019/04/19 00:42:27 christos Exp $
|
|
4
|
+
# ISO Zipped file format
|
|
5
|
+
# https://www.ezbsystems.com/isz/iszspec.txt
|
|
6
|
+
0 string IsZ! ISO Zipped file
|
|
7
|
+
>4 byte x \b, header size %u
|
|
8
|
+
>5 byte x \b, version %u
|
|
9
|
+
>8 lelong x \b, serial %u
|
|
10
|
+
#12 leshort x \b, sector size %u
|
|
11
|
+
#>16 lelong x \b, total sectors %u
|
|
12
|
+
>17 byte >0 \b, password protected
|
|
13
|
+
#>24 lequad x \b, segment size %llu
|
|
14
|
+
#>32 lelong x \b, blocks %u
|
|
15
|
+
#>36 lelong x \b, block size %u
|
polyfile/magic_defs/java
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------
|
|
3
|
+
# $File: java,v 1.22 2023/01/11 23:59:49 christos Exp $
|
|
4
|
+
# Java ByteCode and Mach-O binaries (e.g., Mac OS X) use the
|
|
5
|
+
# same magic number, 0xcafebabe, so they are both handled
|
|
6
|
+
# in the entry called "cafebabe".
|
|
7
|
+
#------------------------------------------------------------
|
|
8
|
+
# Java serialization
|
|
9
|
+
# From Martin Pool (m.pool@pharos.com.au)
|
|
10
|
+
0 beshort 0xaced Java serialization data
|
|
11
|
+
>2 beshort >0x0004 \b, version %d
|
|
12
|
+
|
|
13
|
+
0 belong 0xfeedfeed Java KeyStore
|
|
14
|
+
!:mime application/x-java-keystore
|
|
15
|
+
0 belong 0xcececece Java JCE KeyStore
|
|
16
|
+
!:mime application/x-java-jce-keystore
|
|
17
|
+
|
|
18
|
+
# Java source
|
|
19
|
+
0 regex \^import.*;$ Java source
|
|
20
|
+
!:mime text/x-java
|
|
21
|
+
|
|
22
|
+
# Java HPROF dumps
|
|
23
|
+
# https://java.net/downloads/heap-snapshot/hprof-binary-format.html
|
|
24
|
+
0 string JAVA\x20PROFILE\x201.0.
|
|
25
|
+
>0x12 byte 0
|
|
26
|
+
>>0x11 ubyte-0x31 <2 Java HPROF dump,
|
|
27
|
+
>>>0x17 beqdate/1000 x created %s
|
|
28
|
+
|
|
29
|
+
# Java jmod module
|
|
30
|
+
# See https://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/java.base/share/classes/jdk/internal/jmod/JmodFile.java
|
|
31
|
+
# Grr. 2 byte magic "JM", really? In 2019?
|
|
32
|
+
0 belong 0x4a4d0100 Java jmod module version 1.0
|
|
33
|
+
!:mime application/x-java-jmod
|
|
34
|
+
|
|
35
|
+
# Java jlinked image
|
|
36
|
+
# See https://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/src/java.base/share/native/libjimage/imageFile.hpp
|
|
37
|
+
0 belong 0xcafedada Java module image (big endian)
|
|
38
|
+
>4 beshort >0x00 \b, version %d
|
|
39
|
+
>6 beshort x \b.%d
|
|
40
|
+
!:mime application/x-java-image
|
|
41
|
+
|
|
42
|
+
0 lelong 0xcafedada Java module image (little endian)
|
|
43
|
+
>6 leshort >0x00 \b, version %d
|
|
44
|
+
>4 leshort x \b.%d
|
|
45
|
+
!:mime application/x-java-image
|
|
46
|
+
|
|
47
|
+
# JAR Manifest & Signature File
|
|
48
|
+
# Reference: https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html
|
|
49
|
+
0 string/t Manifest-Version:\x201.0 JAR Manifest
|
|
50
|
+
!:ext MF
|
|
51
|
+
0 string/t Signature-Version:\x201.0 JAR Signature File
|
|
52
|
+
!:ext SF
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
|
|
2
|
+
#------------------------------------------------------------------------------
|
|
3
|
+
# $File: javascript,v 1.5 2023/01/12 00:02:16 christos Exp $
|
|
4
|
+
# javascript: magic for javascript and node.js scripts.
|
|
5
|
+
#
|
|
6
|
+
0 string/tw #!/bin/node Node.js script executable
|
|
7
|
+
!:mime application/javascript
|
|
8
|
+
0 string/tw #!/usr/bin/node Node.js script executable
|
|
9
|
+
!:mime application/javascript
|
|
10
|
+
0 string/tw #!/bin/nodejs Node.js script executable
|
|
11
|
+
!:mime application/javascript
|
|
12
|
+
0 string/tw #!/usr/bin/nodejs Node.js script executable
|
|
13
|
+
!:mime application/javascript
|
|
14
|
+
0 string/t #!/usr/bin/env\ node Node.js script executable
|
|
15
|
+
!:mime application/javascript
|
|
16
|
+
0 string/t #!/usr/bin/env\ nodejs Node.js script executable
|
|
17
|
+
!:mime application/javascript
|
|
18
|
+
|
|
19
|
+
# JavaScript
|
|
20
|
+
# The strength is increased to beat the C++ & HTML rules
|
|
21
|
+
0 search "use\x20strict" JavaScript source
|
|
22
|
+
!:strength +30
|
|
23
|
+
!:mime application/javascript
|
|
24
|
+
!:ext js
|
|
25
|
+
0 search 'use\x20strict' JavaScript source
|
|
26
|
+
!:strength +30
|
|
27
|
+
!:mime application/javascript
|
|
28
|
+
!:ext js
|
|
29
|
+
0 regex module(\\.|\\[["'])exports.*= JavaScript source
|
|
30
|
+
!:strength +30
|
|
31
|
+
!:mime application/javascript
|
|
32
|
+
!:ext js
|
|
33
|
+
0 regex \^(const|var|let).*=.*require\\( JavaScript source
|
|
34
|
+
!:strength +30
|
|
35
|
+
!:mime application/javascript
|
|
36
|
+
!:ext js
|
|
37
|
+
0 regex \^export\x20(function|class|default|const|var|let|async)\x20 JavaScript source
|
|
38
|
+
!:strength +30
|
|
39
|
+
!:mime application/javascript
|
|
40
|
+
!:ext js
|
|
41
|
+
0 regex \\((async\x20)?function[(\x20] JavaScript source
|
|
42
|
+
!:strength +30
|
|
43
|
+
!:mime application/javascript
|
|
44
|
+
!:ext js
|
|
45
|
+
0 regex \^(import|export).*\x20from\x20 JavaScript source
|
|
46
|
+
!:strength +30
|
|
47
|
+
!:mime application/javascript
|
|
48
|
+
!:ext js
|
|
49
|
+
0 regex \^(import|export)\x20["']\\./ JavaScript source
|
|
50
|
+
!:strength +30
|
|
51
|
+
!:mime application/javascript
|
|
52
|
+
!:ext js
|
|
53
|
+
0 regex \^require\\(["'] JavaScript source
|
|
54
|
+
!:strength +30
|
|
55
|
+
!:mime application/javascript
|
|
56
|
+
!:ext js
|
|
57
|
+
0 regex typeof.*[!=]== JavaScript source
|
|
58
|
+
!:strength +30
|
|
59
|
+
!:mime application/javascript
|
|
60
|
+
!:ext js
|
|
61
|
+
|
|
62
|
+
# React Native minified JavaScript
|
|
63
|
+
0 search/128 __BUNDLE_START_TIME__= React Native minified JavaScript
|
|
64
|
+
!:strength +30
|
|
65
|
+
!:mime application/javascript
|
|
66
|
+
!:ext bundle/jsbundle
|
|
67
|
+
|
|
68
|
+
# Hermes by Facebook https://hermesengine.dev/
|
|
69
|
+
# https://github.com/facebook/hermes/blob/master/include/hermes/\
|
|
70
|
+
# BCGen/HBC/BytecodeFileFormat.h#L24
|
|
71
|
+
0 lequad 0x1F1903C103BC1FC6 Hermes JavaScript bytecode
|
|
72
|
+
>8 lelong x \b, version %d
|
|
73
|
+
|
|
74
|
+
# v8 JavaScript engine bytecode
|
|
75
|
+
# From: Alexandre Iooss <erdnaxe@crans.org>
|
|
76
|
+
# URL: https://v8.dev/docs/ignition
|
|
77
|
+
# Note: used in bytenode and NW.js protected source code
|
|
78
|
+
# V8 bytecode extraction was added in NodeJS v5.7.0 (V8 4.6.85.31).
|
|
79
|
+
# Version information is provided for some v8 versions found in NodeJS releases.
|
|
80
|
+
2 uleshort =0xC0DE
|
|
81
|
+
>0 ulelong^0xC0DE0000 >0
|
|
82
|
+
# Reservation table starts at 40
|
|
83
|
+
>>40 ulelong&0xFFFFFF00 =0x80000000
|
|
84
|
+
# Stub keys present
|
|
85
|
+
>>>24 ulelong >0
|
|
86
|
+
>>>>0 ulelong^0xC0DE0000 x v8 bytecode, external reference table size: %u bytes,
|
|
87
|
+
>>>>4 ulelong =0xEE4BF478 version 5.1.281.111,
|
|
88
|
+
>>>>4 ulelong =0xC4A0100C version 5.5.372.43,
|
|
89
|
+
>>>>8 ulelong x source size: %u bytes,
|
|
90
|
+
>>>>12 ulelong x cpu features: %#08X,
|
|
91
|
+
>>>>16 ulelong x flag hash: %#08X,
|
|
92
|
+
>>>>20 ulelong x %u reservations,
|
|
93
|
+
>>>>28 ulelong x payload size: %u bytes,
|
|
94
|
+
>>>>32 ulelong x checksum1: %#08X,
|
|
95
|
+
>>>>36 ulelong x checksum2: %#08X
|
|
96
|
+
# No stub keys
|
|
97
|
+
>>>24 ulelong =0
|
|
98
|
+
>>>>0 ulelong^0xC0DE0000 x v8 bytecode, external reference table size: %u bytes,
|
|
99
|
+
>>>>4 ulelong =0x54F0AD81 version 6.2.414.46,
|
|
100
|
+
>>>>4 ulelong =0X7D1BF182 version 6.2.414.54,
|
|
101
|
+
>>>>4 ulelong =0x35BA122E version 6.2.414.77,
|
|
102
|
+
>>>>4 ulelong =0X9319F9C2 version 6.2.414.78,
|
|
103
|
+
>>>>4 ulelong =0xB1240060 version 6.6.346.32,
|
|
104
|
+
>>>>4 ulelong =0x2B757060 version 6.7.288.46,
|
|
105
|
+
>>>>4 ulelong =0x09D147AA version 6.7.288.49,
|
|
106
|
+
>>>>4 ulelong =0xF4D4F48A version 6.8.275.32,
|
|
107
|
+
>>>>4 ulelong =0xD3961326 version 7.0.276.38,
|
|
108
|
+
>>>>8 ulelong x source size: %u bytes,
|
|
109
|
+
>>>>12 ulelong x cpu features: %#08X,
|
|
110
|
+
>>>>16 ulelong x flag hash: %#08X,
|
|
111
|
+
>>>>20 ulelong x %u reservations,
|
|
112
|
+
>>>>28 ulelong x payload size: %u bytes,
|
|
113
|
+
>>>>32 ulelong x checksum1: %#08X,
|
|
114
|
+
>>>>36 ulelong x checksum2: %#08X
|
|
115
|
+
# Reservation table starts at 32
|
|
116
|
+
>>32 ulelong&0xFFFFFF00 =0x80000000
|
|
117
|
+
# Second checksum present
|
|
118
|
+
>>>28 ulelong >0
|
|
119
|
+
>>>>0 ulelong^0xC0DE0000 x v8 bytecode, external reference table size: %u bytes,
|
|
120
|
+
>>>>4 ulelong =0x21DDF627 version 7.4.288.21,
|
|
121
|
+
>>>>4 ulelong =0x1FC9FE84 version 7.4.288.27,
|
|
122
|
+
>>>>4 ulelong =0x60A99E8B version 7.5.288.22,
|
|
123
|
+
>>>>4 ulelong =0x4F665E90 version 7.6.303.29,
|
|
124
|
+
>>>>4 ulelong =0xC7ACFCDE version 7.7.299.11,
|
|
125
|
+
>>>>4 ulelong =0x7F641D8F version 7.7.299.13,
|
|
126
|
+
>>>>4 ulelong =0xFD9A4F2E version 7.8.279.17,
|
|
127
|
+
>>>>4 ulelong =0x3A845324 version 7.8.279.23,
|
|
128
|
+
>>>>4 ulelong =0xFF52FEAF version 7.9.317.25,
|
|
129
|
+
>>>>8 ulelong x source size: %u bytes,
|
|
130
|
+
>>>>12 ulelong x flag hash: %#08X,
|
|
131
|
+
>>>>16 ulelong x %u reservations,
|
|
132
|
+
>>>>20 ulelong x payload size: %u bytes,
|
|
133
|
+
>>>>24 ulelong x checksum1: %#08X,
|
|
134
|
+
>>>>28 ulelong x checksum2: %#08X
|
|
135
|
+
# No second checksum
|
|
136
|
+
>>>28 ulelong =0
|
|
137
|
+
>>>>0 ulelong^0xC0DE0000 x v8 bytecode, external reference table size: %u bytes,
|
|
138
|
+
>>>>4 ulelong =0x8725E0F8 version 8.1.307.30,
|
|
139
|
+
>>>>4 ulelong =0x09ED1289 version 8.1.307.31,
|
|
140
|
+
>>>>4 ulelong =0xA5728C87 version 8.3.110.9,
|
|
141
|
+
>>>>4 ulelong =0xB45C5D30 version 8.4.371.23,
|
|
142
|
+
>>>>4 ulelong =0xED9C278B version 8.4.371.19,
|
|
143
|
+
>>>>4 ulelong =0xD27BFF42 version 8.6.395.16,
|
|
144
|
+
>>>>8 ulelong x source size: %u bytes,
|
|
145
|
+
>>>>12 ulelong x flag hash: %#08X,
|
|
146
|
+
>>>>16 ulelong x %u reservations,
|
|
147
|
+
>>>>20 ulelong x payload size: %u bytes,
|
|
148
|
+
>>>>24 ulelong x payload checksum: %#08X
|
|
149
|
+
# No reservation table and code starts at 24
|
|
150
|
+
>>32 ulelong =0
|
|
151
|
+
>>>0 ulelong^0xC0DE0000 x v8 bytecode, external reference table size: %u bytes,
|
|
152
|
+
>>>4 ulelong =0x9A6F0B0F version 9.0.257.17,
|
|
153
|
+
>>>4 ulelong =0x271D5D1E version 9.0.257.24,
|
|
154
|
+
>>>4 ulelong =0x4EEA75DF version 9.0.257.25,
|
|
155
|
+
>>>4 ulelong =0x80809479 version 9.1.269.36,
|
|
156
|
+
>>>4 ulelong =0x55C46F65 version 9.1.269.38,
|
|
157
|
+
>>>4 ulelong =0x8A9C758A version 9.2.230.21,
|
|
158
|
+
>>>4 ulelong =0x9712F0E1 version 9.3.345.16,
|
|
159
|
+
>>>4 ulelong =0x29593715 version 9.4.146.19,
|
|
160
|
+
>>>4 ulelong =0xCD991825 version 9.4.146.24,
|
|
161
|
+
>>>4 ulelong =0xACDD64EE version 9.4.146.26,
|
|
162
|
+
>>>4 ulelong =0xC96B4CD5 version 9.5.172.21,
|
|
163
|
+
>>>4 ulelong =0xBCCE4578 version 9.5.172.25,
|
|
164
|
+
>>>4 ulelong =0xA2EEA077 version 9.6.180.15,
|
|
165
|
+
>>>4 ulelong =0xFD350011 version 10.1.124.8,
|
|
166
|
+
>>>4 ulelong =0xBEF4028F version 10.2.154.13,
|
|
167
|
+
>>>4 ulelong =0xAF632352 version 10.2.154.4,
|
|
168
|
+
>>>8 ulelong x source size: %u bytes,
|
|
169
|
+
>>>12 ulelong x flag hash: %#08X,
|
|
170
|
+
>>>16 ulelong x payload size: %u bytes,
|
|
171
|
+
>>>20 ulelong x payload checksum: %#08X
|