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,92 @@
|
|
|
1
|
+
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
|
|
2
|
+
|
|
3
|
+
from pkg_resources import parse_version
|
|
4
|
+
import kaitaistruct
|
|
5
|
+
from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO
|
|
6
|
+
import collections
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
if parse_version(kaitaistruct.__version__) < parse_version('0.9'):
|
|
10
|
+
raise Exception("Incompatible Kaitai Struct Python API: 0.9 or later is required, but you have %s" % (kaitaistruct.__version__))
|
|
11
|
+
|
|
12
|
+
from polyfile.kaitai.parsers import mach_o
|
|
13
|
+
class MachOFat(KaitaiStruct):
|
|
14
|
+
"""This is a simple container format that encapsulates multiple Mach-O files,
|
|
15
|
+
each generally for a different architecture. XNU can execute these files just
|
|
16
|
+
like single-arch Mach-Os and will pick the appropriate entry.
|
|
17
|
+
|
|
18
|
+
.. seealso::
|
|
19
|
+
Source - https://opensource.apple.com/source/xnu/xnu-7195.121.3/EXTERNAL_HEADERS/mach-o/fat.h.auto.html
|
|
20
|
+
"""
|
|
21
|
+
SEQ_FIELDS = ["magic", "num_fat_arch", "fat_archs"]
|
|
22
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
23
|
+
self._io = _io
|
|
24
|
+
self._parent = _parent
|
|
25
|
+
self._root = _root if _root else self
|
|
26
|
+
self._debug = collections.defaultdict(dict)
|
|
27
|
+
|
|
28
|
+
def _read(self):
|
|
29
|
+
self._debug['magic']['start'] = self._io.pos()
|
|
30
|
+
self.magic = self._io.read_bytes(4)
|
|
31
|
+
self._debug['magic']['end'] = self._io.pos()
|
|
32
|
+
if not self.magic == b"\xCA\xFE\xBA\xBE":
|
|
33
|
+
raise kaitaistruct.ValidationNotEqualError(b"\xCA\xFE\xBA\xBE", self.magic, self._io, u"/seq/0")
|
|
34
|
+
self._debug['num_fat_arch']['start'] = self._io.pos()
|
|
35
|
+
self.num_fat_arch = self._io.read_u4be()
|
|
36
|
+
self._debug['num_fat_arch']['end'] = self._io.pos()
|
|
37
|
+
self._debug['fat_archs']['start'] = self._io.pos()
|
|
38
|
+
self.fat_archs = [None] * (self.num_fat_arch)
|
|
39
|
+
for i in range(self.num_fat_arch):
|
|
40
|
+
if not 'arr' in self._debug['fat_archs']:
|
|
41
|
+
self._debug['fat_archs']['arr'] = []
|
|
42
|
+
self._debug['fat_archs']['arr'].append({'start': self._io.pos()})
|
|
43
|
+
_t_fat_archs = MachOFat.FatArch(self._io, self, self._root)
|
|
44
|
+
_t_fat_archs._read()
|
|
45
|
+
self.fat_archs[i] = _t_fat_archs
|
|
46
|
+
self._debug['fat_archs']['arr'][i]['end'] = self._io.pos()
|
|
47
|
+
|
|
48
|
+
self._debug['fat_archs']['end'] = self._io.pos()
|
|
49
|
+
|
|
50
|
+
class FatArch(KaitaiStruct):
|
|
51
|
+
SEQ_FIELDS = ["cpu_type", "cpu_subtype", "ofs_object", "len_object", "align"]
|
|
52
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
53
|
+
self._io = _io
|
|
54
|
+
self._parent = _parent
|
|
55
|
+
self._root = _root if _root else self
|
|
56
|
+
self._debug = collections.defaultdict(dict)
|
|
57
|
+
|
|
58
|
+
def _read(self):
|
|
59
|
+
self._debug['cpu_type']['start'] = self._io.pos()
|
|
60
|
+
self.cpu_type = KaitaiStream.resolve_enum(MachO.CpuType, self._io.read_u4be())
|
|
61
|
+
self._debug['cpu_type']['end'] = self._io.pos()
|
|
62
|
+
self._debug['cpu_subtype']['start'] = self._io.pos()
|
|
63
|
+
self.cpu_subtype = self._io.read_u4be()
|
|
64
|
+
self._debug['cpu_subtype']['end'] = self._io.pos()
|
|
65
|
+
self._debug['ofs_object']['start'] = self._io.pos()
|
|
66
|
+
self.ofs_object = self._io.read_u4be()
|
|
67
|
+
self._debug['ofs_object']['end'] = self._io.pos()
|
|
68
|
+
self._debug['len_object']['start'] = self._io.pos()
|
|
69
|
+
self.len_object = self._io.read_u4be()
|
|
70
|
+
self._debug['len_object']['end'] = self._io.pos()
|
|
71
|
+
self._debug['align']['start'] = self._io.pos()
|
|
72
|
+
self.align = self._io.read_u4be()
|
|
73
|
+
self._debug['align']['end'] = self._io.pos()
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def object(self):
|
|
77
|
+
if hasattr(self, '_m_object'):
|
|
78
|
+
return self._m_object if hasattr(self, '_m_object') else None
|
|
79
|
+
|
|
80
|
+
_pos = self._io.pos()
|
|
81
|
+
self._io.seek(self.ofs_object)
|
|
82
|
+
self._debug['_m_object']['start'] = self._io.pos()
|
|
83
|
+
self._raw__m_object = self._io.read_bytes(self.len_object)
|
|
84
|
+
_io__raw__m_object = KaitaiStream(BytesIO(self._raw__m_object))
|
|
85
|
+
self._m_object = mach_o.MachO(_io__raw__m_object)
|
|
86
|
+
self._m_object._read()
|
|
87
|
+
self._debug['_m_object']['end'] = self._io.pos()
|
|
88
|
+
self._io.seek(_pos)
|
|
89
|
+
return self._m_object if hasattr(self, '_m_object') else None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
|
|
2
|
+
|
|
3
|
+
from pkg_resources import parse_version
|
|
4
|
+
import kaitaistruct
|
|
5
|
+
from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO
|
|
6
|
+
from enum import Enum
|
|
7
|
+
import collections
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
if parse_version(kaitaistruct.__version__) < parse_version('0.9'):
|
|
11
|
+
raise Exception("Incompatible Kaitai Struct Python API: 0.9 or later is required, but you have %s" % (kaitaistruct.__version__))
|
|
12
|
+
|
|
13
|
+
class MagicavoxelVox(KaitaiStruct):
|
|
14
|
+
"""
|
|
15
|
+
.. seealso::
|
|
16
|
+
MagicaVoxel Homepage - https://ephtracy.github.io/
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
.. seealso::
|
|
20
|
+
Format Description - https://github.com/ephtracy/voxel-model/blob/master/MagicaVoxel-file-format-vox.txt
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
class ChunkType(Enum):
|
|
24
|
+
main = 1296124238
|
|
25
|
+
matt = 1296127060
|
|
26
|
+
pack = 1346454347
|
|
27
|
+
rgba = 1380401729
|
|
28
|
+
size = 1397316165
|
|
29
|
+
xyzi = 1482250825
|
|
30
|
+
|
|
31
|
+
class MaterialType(Enum):
|
|
32
|
+
diffuse = 0
|
|
33
|
+
metal = 1
|
|
34
|
+
glass = 2
|
|
35
|
+
emissive = 3
|
|
36
|
+
|
|
37
|
+
class PropertyBitsType(Enum):
|
|
38
|
+
plastic = 1
|
|
39
|
+
roughness = 2
|
|
40
|
+
specular = 4
|
|
41
|
+
ior = 8
|
|
42
|
+
attenuation = 16
|
|
43
|
+
power = 32
|
|
44
|
+
glow = 64
|
|
45
|
+
is_total_power = 128
|
|
46
|
+
SEQ_FIELDS = ["magic", "version", "main"]
|
|
47
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
48
|
+
self._io = _io
|
|
49
|
+
self._parent = _parent
|
|
50
|
+
self._root = _root if _root else self
|
|
51
|
+
self._debug = collections.defaultdict(dict)
|
|
52
|
+
|
|
53
|
+
def _read(self):
|
|
54
|
+
self._debug['magic']['start'] = self._io.pos()
|
|
55
|
+
self.magic = self._io.read_bytes(4)
|
|
56
|
+
self._debug['magic']['end'] = self._io.pos()
|
|
57
|
+
if not self.magic == b"\x56\x4F\x58\x20":
|
|
58
|
+
raise kaitaistruct.ValidationNotEqualError(b"\x56\x4F\x58\x20", self.magic, self._io, u"/seq/0")
|
|
59
|
+
self._debug['version']['start'] = self._io.pos()
|
|
60
|
+
self.version = self._io.read_u4le()
|
|
61
|
+
self._debug['version']['end'] = self._io.pos()
|
|
62
|
+
self._debug['main']['start'] = self._io.pos()
|
|
63
|
+
self.main = MagicavoxelVox.Chunk(self._io, self, self._root)
|
|
64
|
+
self.main._read()
|
|
65
|
+
self._debug['main']['end'] = self._io.pos()
|
|
66
|
+
|
|
67
|
+
class Chunk(KaitaiStruct):
|
|
68
|
+
SEQ_FIELDS = ["chunk_id", "num_bytes_of_chunk_content", "num_bytes_of_children_chunks", "chunk_content", "children_chunks"]
|
|
69
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
70
|
+
self._io = _io
|
|
71
|
+
self._parent = _parent
|
|
72
|
+
self._root = _root if _root else self
|
|
73
|
+
self._debug = collections.defaultdict(dict)
|
|
74
|
+
|
|
75
|
+
def _read(self):
|
|
76
|
+
self._debug['chunk_id']['start'] = self._io.pos()
|
|
77
|
+
self.chunk_id = KaitaiStream.resolve_enum(MagicavoxelVox.ChunkType, self._io.read_u4be())
|
|
78
|
+
self._debug['chunk_id']['end'] = self._io.pos()
|
|
79
|
+
self._debug['num_bytes_of_chunk_content']['start'] = self._io.pos()
|
|
80
|
+
self.num_bytes_of_chunk_content = self._io.read_u4le()
|
|
81
|
+
self._debug['num_bytes_of_chunk_content']['end'] = self._io.pos()
|
|
82
|
+
self._debug['num_bytes_of_children_chunks']['start'] = self._io.pos()
|
|
83
|
+
self.num_bytes_of_children_chunks = self._io.read_u4le()
|
|
84
|
+
self._debug['num_bytes_of_children_chunks']['end'] = self._io.pos()
|
|
85
|
+
if self.num_bytes_of_chunk_content != 0:
|
|
86
|
+
self._debug['chunk_content']['start'] = self._io.pos()
|
|
87
|
+
_on = self.chunk_id
|
|
88
|
+
if _on == MagicavoxelVox.ChunkType.size:
|
|
89
|
+
self._raw_chunk_content = self._io.read_bytes(self.num_bytes_of_chunk_content)
|
|
90
|
+
_io__raw_chunk_content = KaitaiStream(BytesIO(self._raw_chunk_content))
|
|
91
|
+
self.chunk_content = MagicavoxelVox.Size(_io__raw_chunk_content, self, self._root)
|
|
92
|
+
self.chunk_content._read()
|
|
93
|
+
elif _on == MagicavoxelVox.ChunkType.matt:
|
|
94
|
+
self._raw_chunk_content = self._io.read_bytes(self.num_bytes_of_chunk_content)
|
|
95
|
+
_io__raw_chunk_content = KaitaiStream(BytesIO(self._raw_chunk_content))
|
|
96
|
+
self.chunk_content = MagicavoxelVox.Matt(_io__raw_chunk_content, self, self._root)
|
|
97
|
+
self.chunk_content._read()
|
|
98
|
+
elif _on == MagicavoxelVox.ChunkType.rgba:
|
|
99
|
+
self._raw_chunk_content = self._io.read_bytes(self.num_bytes_of_chunk_content)
|
|
100
|
+
_io__raw_chunk_content = KaitaiStream(BytesIO(self._raw_chunk_content))
|
|
101
|
+
self.chunk_content = MagicavoxelVox.Rgba(_io__raw_chunk_content, self, self._root)
|
|
102
|
+
self.chunk_content._read()
|
|
103
|
+
elif _on == MagicavoxelVox.ChunkType.xyzi:
|
|
104
|
+
self._raw_chunk_content = self._io.read_bytes(self.num_bytes_of_chunk_content)
|
|
105
|
+
_io__raw_chunk_content = KaitaiStream(BytesIO(self._raw_chunk_content))
|
|
106
|
+
self.chunk_content = MagicavoxelVox.Xyzi(_io__raw_chunk_content, self, self._root)
|
|
107
|
+
self.chunk_content._read()
|
|
108
|
+
elif _on == MagicavoxelVox.ChunkType.pack:
|
|
109
|
+
self._raw_chunk_content = self._io.read_bytes(self.num_bytes_of_chunk_content)
|
|
110
|
+
_io__raw_chunk_content = KaitaiStream(BytesIO(self._raw_chunk_content))
|
|
111
|
+
self.chunk_content = MagicavoxelVox.Pack(_io__raw_chunk_content, self, self._root)
|
|
112
|
+
self.chunk_content._read()
|
|
113
|
+
else:
|
|
114
|
+
self.chunk_content = self._io.read_bytes(self.num_bytes_of_chunk_content)
|
|
115
|
+
self._debug['chunk_content']['end'] = self._io.pos()
|
|
116
|
+
|
|
117
|
+
if self.num_bytes_of_children_chunks != 0:
|
|
118
|
+
self._debug['children_chunks']['start'] = self._io.pos()
|
|
119
|
+
self.children_chunks = []
|
|
120
|
+
i = 0
|
|
121
|
+
while not self._io.is_eof():
|
|
122
|
+
if not 'arr' in self._debug['children_chunks']:
|
|
123
|
+
self._debug['children_chunks']['arr'] = []
|
|
124
|
+
self._debug['children_chunks']['arr'].append({'start': self._io.pos()})
|
|
125
|
+
_t_children_chunks = MagicavoxelVox.Chunk(self._io, self, self._root)
|
|
126
|
+
_t_children_chunks._read()
|
|
127
|
+
self.children_chunks.append(_t_children_chunks)
|
|
128
|
+
self._debug['children_chunks']['arr'][len(self.children_chunks) - 1]['end'] = self._io.pos()
|
|
129
|
+
i += 1
|
|
130
|
+
|
|
131
|
+
self._debug['children_chunks']['end'] = self._io.pos()
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
class Size(KaitaiStruct):
|
|
136
|
+
SEQ_FIELDS = ["size_x", "size_y", "size_z"]
|
|
137
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
138
|
+
self._io = _io
|
|
139
|
+
self._parent = _parent
|
|
140
|
+
self._root = _root if _root else self
|
|
141
|
+
self._debug = collections.defaultdict(dict)
|
|
142
|
+
|
|
143
|
+
def _read(self):
|
|
144
|
+
self._debug['size_x']['start'] = self._io.pos()
|
|
145
|
+
self.size_x = self._io.read_u4le()
|
|
146
|
+
self._debug['size_x']['end'] = self._io.pos()
|
|
147
|
+
self._debug['size_y']['start'] = self._io.pos()
|
|
148
|
+
self.size_y = self._io.read_u4le()
|
|
149
|
+
self._debug['size_y']['end'] = self._io.pos()
|
|
150
|
+
self._debug['size_z']['start'] = self._io.pos()
|
|
151
|
+
self.size_z = self._io.read_u4le()
|
|
152
|
+
self._debug['size_z']['end'] = self._io.pos()
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class Rgba(KaitaiStruct):
|
|
156
|
+
SEQ_FIELDS = ["colors"]
|
|
157
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
158
|
+
self._io = _io
|
|
159
|
+
self._parent = _parent
|
|
160
|
+
self._root = _root if _root else self
|
|
161
|
+
self._debug = collections.defaultdict(dict)
|
|
162
|
+
|
|
163
|
+
def _read(self):
|
|
164
|
+
self._debug['colors']['start'] = self._io.pos()
|
|
165
|
+
self.colors = [None] * (256)
|
|
166
|
+
for i in range(256):
|
|
167
|
+
if not 'arr' in self._debug['colors']:
|
|
168
|
+
self._debug['colors']['arr'] = []
|
|
169
|
+
self._debug['colors']['arr'].append({'start': self._io.pos()})
|
|
170
|
+
_t_colors = MagicavoxelVox.Color(self._io, self, self._root)
|
|
171
|
+
_t_colors._read()
|
|
172
|
+
self.colors[i] = _t_colors
|
|
173
|
+
self._debug['colors']['arr'][i]['end'] = self._io.pos()
|
|
174
|
+
|
|
175
|
+
self._debug['colors']['end'] = self._io.pos()
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
class Pack(KaitaiStruct):
|
|
179
|
+
SEQ_FIELDS = ["num_models"]
|
|
180
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
181
|
+
self._io = _io
|
|
182
|
+
self._parent = _parent
|
|
183
|
+
self._root = _root if _root else self
|
|
184
|
+
self._debug = collections.defaultdict(dict)
|
|
185
|
+
|
|
186
|
+
def _read(self):
|
|
187
|
+
self._debug['num_models']['start'] = self._io.pos()
|
|
188
|
+
self.num_models = self._io.read_u4le()
|
|
189
|
+
self._debug['num_models']['end'] = self._io.pos()
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
class Matt(KaitaiStruct):
|
|
193
|
+
SEQ_FIELDS = ["id", "material_type", "material_weight", "property_bits", "plastic", "roughness", "specular", "ior", "attenuation", "power", "glow", "is_total_power"]
|
|
194
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
195
|
+
self._io = _io
|
|
196
|
+
self._parent = _parent
|
|
197
|
+
self._root = _root if _root else self
|
|
198
|
+
self._debug = collections.defaultdict(dict)
|
|
199
|
+
|
|
200
|
+
def _read(self):
|
|
201
|
+
self._debug['id']['start'] = self._io.pos()
|
|
202
|
+
self.id = self._io.read_u4le()
|
|
203
|
+
self._debug['id']['end'] = self._io.pos()
|
|
204
|
+
self._debug['material_type']['start'] = self._io.pos()
|
|
205
|
+
self.material_type = KaitaiStream.resolve_enum(MagicavoxelVox.MaterialType, self._io.read_u4le())
|
|
206
|
+
self._debug['material_type']['end'] = self._io.pos()
|
|
207
|
+
self._debug['material_weight']['start'] = self._io.pos()
|
|
208
|
+
self.material_weight = self._io.read_f4le()
|
|
209
|
+
self._debug['material_weight']['end'] = self._io.pos()
|
|
210
|
+
self._debug['property_bits']['start'] = self._io.pos()
|
|
211
|
+
self.property_bits = self._io.read_u4le()
|
|
212
|
+
self._debug['property_bits']['end'] = self._io.pos()
|
|
213
|
+
if self.has_plastic:
|
|
214
|
+
self._debug['plastic']['start'] = self._io.pos()
|
|
215
|
+
self.plastic = self._io.read_f4le()
|
|
216
|
+
self._debug['plastic']['end'] = self._io.pos()
|
|
217
|
+
|
|
218
|
+
if self.has_roughness:
|
|
219
|
+
self._debug['roughness']['start'] = self._io.pos()
|
|
220
|
+
self.roughness = self._io.read_f4le()
|
|
221
|
+
self._debug['roughness']['end'] = self._io.pos()
|
|
222
|
+
|
|
223
|
+
if self.has_specular:
|
|
224
|
+
self._debug['specular']['start'] = self._io.pos()
|
|
225
|
+
self.specular = self._io.read_f4le()
|
|
226
|
+
self._debug['specular']['end'] = self._io.pos()
|
|
227
|
+
|
|
228
|
+
if self.has_ior:
|
|
229
|
+
self._debug['ior']['start'] = self._io.pos()
|
|
230
|
+
self.ior = self._io.read_f4le()
|
|
231
|
+
self._debug['ior']['end'] = self._io.pos()
|
|
232
|
+
|
|
233
|
+
if self.has_attenuation:
|
|
234
|
+
self._debug['attenuation']['start'] = self._io.pos()
|
|
235
|
+
self.attenuation = self._io.read_f4le()
|
|
236
|
+
self._debug['attenuation']['end'] = self._io.pos()
|
|
237
|
+
|
|
238
|
+
if self.has_power:
|
|
239
|
+
self._debug['power']['start'] = self._io.pos()
|
|
240
|
+
self.power = self._io.read_f4le()
|
|
241
|
+
self._debug['power']['end'] = self._io.pos()
|
|
242
|
+
|
|
243
|
+
if self.has_glow:
|
|
244
|
+
self._debug['glow']['start'] = self._io.pos()
|
|
245
|
+
self.glow = self._io.read_f4le()
|
|
246
|
+
self._debug['glow']['end'] = self._io.pos()
|
|
247
|
+
|
|
248
|
+
if self.has_is_total_power:
|
|
249
|
+
self._debug['is_total_power']['start'] = self._io.pos()
|
|
250
|
+
self.is_total_power = self._io.read_f4le()
|
|
251
|
+
self._debug['is_total_power']['end'] = self._io.pos()
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
def has_is_total_power(self):
|
|
256
|
+
if hasattr(self, '_m_has_is_total_power'):
|
|
257
|
+
return self._m_has_is_total_power if hasattr(self, '_m_has_is_total_power') else None
|
|
258
|
+
|
|
259
|
+
self._m_has_is_total_power = (self.property_bits & 128) != 0
|
|
260
|
+
return self._m_has_is_total_power if hasattr(self, '_m_has_is_total_power') else None
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
def has_plastic(self):
|
|
264
|
+
if hasattr(self, '_m_has_plastic'):
|
|
265
|
+
return self._m_has_plastic if hasattr(self, '_m_has_plastic') else None
|
|
266
|
+
|
|
267
|
+
self._m_has_plastic = (self.property_bits & 1) != 0
|
|
268
|
+
return self._m_has_plastic if hasattr(self, '_m_has_plastic') else None
|
|
269
|
+
|
|
270
|
+
@property
|
|
271
|
+
def has_attenuation(self):
|
|
272
|
+
if hasattr(self, '_m_has_attenuation'):
|
|
273
|
+
return self._m_has_attenuation if hasattr(self, '_m_has_attenuation') else None
|
|
274
|
+
|
|
275
|
+
self._m_has_attenuation = (self.property_bits & 16) != 0
|
|
276
|
+
return self._m_has_attenuation if hasattr(self, '_m_has_attenuation') else None
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
def has_power(self):
|
|
280
|
+
if hasattr(self, '_m_has_power'):
|
|
281
|
+
return self._m_has_power if hasattr(self, '_m_has_power') else None
|
|
282
|
+
|
|
283
|
+
self._m_has_power = (self.property_bits & 32) != 0
|
|
284
|
+
return self._m_has_power if hasattr(self, '_m_has_power') else None
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
def has_roughness(self):
|
|
288
|
+
if hasattr(self, '_m_has_roughness'):
|
|
289
|
+
return self._m_has_roughness if hasattr(self, '_m_has_roughness') else None
|
|
290
|
+
|
|
291
|
+
self._m_has_roughness = (self.property_bits & 2) != 0
|
|
292
|
+
return self._m_has_roughness if hasattr(self, '_m_has_roughness') else None
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
def has_specular(self):
|
|
296
|
+
if hasattr(self, '_m_has_specular'):
|
|
297
|
+
return self._m_has_specular if hasattr(self, '_m_has_specular') else None
|
|
298
|
+
|
|
299
|
+
self._m_has_specular = (self.property_bits & 4) != 0
|
|
300
|
+
return self._m_has_specular if hasattr(self, '_m_has_specular') else None
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
def has_ior(self):
|
|
304
|
+
if hasattr(self, '_m_has_ior'):
|
|
305
|
+
return self._m_has_ior if hasattr(self, '_m_has_ior') else None
|
|
306
|
+
|
|
307
|
+
self._m_has_ior = (self.property_bits & 8) != 0
|
|
308
|
+
return self._m_has_ior if hasattr(self, '_m_has_ior') else None
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def has_glow(self):
|
|
312
|
+
if hasattr(self, '_m_has_glow'):
|
|
313
|
+
return self._m_has_glow if hasattr(self, '_m_has_glow') else None
|
|
314
|
+
|
|
315
|
+
self._m_has_glow = (self.property_bits & 64) != 0
|
|
316
|
+
return self._m_has_glow if hasattr(self, '_m_has_glow') else None
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class Xyzi(KaitaiStruct):
|
|
320
|
+
SEQ_FIELDS = ["num_voxels", "voxels"]
|
|
321
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
322
|
+
self._io = _io
|
|
323
|
+
self._parent = _parent
|
|
324
|
+
self._root = _root if _root else self
|
|
325
|
+
self._debug = collections.defaultdict(dict)
|
|
326
|
+
|
|
327
|
+
def _read(self):
|
|
328
|
+
self._debug['num_voxels']['start'] = self._io.pos()
|
|
329
|
+
self.num_voxels = self._io.read_u4le()
|
|
330
|
+
self._debug['num_voxels']['end'] = self._io.pos()
|
|
331
|
+
self._debug['voxels']['start'] = self._io.pos()
|
|
332
|
+
self.voxels = [None] * (self.num_voxels)
|
|
333
|
+
for i in range(self.num_voxels):
|
|
334
|
+
if not 'arr' in self._debug['voxels']:
|
|
335
|
+
self._debug['voxels']['arr'] = []
|
|
336
|
+
self._debug['voxels']['arr'].append({'start': self._io.pos()})
|
|
337
|
+
_t_voxels = MagicavoxelVox.Voxel(self._io, self, self._root)
|
|
338
|
+
_t_voxels._read()
|
|
339
|
+
self.voxels[i] = _t_voxels
|
|
340
|
+
self._debug['voxels']['arr'][i]['end'] = self._io.pos()
|
|
341
|
+
|
|
342
|
+
self._debug['voxels']['end'] = self._io.pos()
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
class Color(KaitaiStruct):
|
|
346
|
+
SEQ_FIELDS = ["r", "g", "b", "a"]
|
|
347
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
348
|
+
self._io = _io
|
|
349
|
+
self._parent = _parent
|
|
350
|
+
self._root = _root if _root else self
|
|
351
|
+
self._debug = collections.defaultdict(dict)
|
|
352
|
+
|
|
353
|
+
def _read(self):
|
|
354
|
+
self._debug['r']['start'] = self._io.pos()
|
|
355
|
+
self.r = self._io.read_u1()
|
|
356
|
+
self._debug['r']['end'] = self._io.pos()
|
|
357
|
+
self._debug['g']['start'] = self._io.pos()
|
|
358
|
+
self.g = self._io.read_u1()
|
|
359
|
+
self._debug['g']['end'] = self._io.pos()
|
|
360
|
+
self._debug['b']['start'] = self._io.pos()
|
|
361
|
+
self.b = self._io.read_u1()
|
|
362
|
+
self._debug['b']['end'] = self._io.pos()
|
|
363
|
+
self._debug['a']['start'] = self._io.pos()
|
|
364
|
+
self.a = self._io.read_u1()
|
|
365
|
+
self._debug['a']['end'] = self._io.pos()
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
class Voxel(KaitaiStruct):
|
|
369
|
+
SEQ_FIELDS = ["x", "y", "z", "color_index"]
|
|
370
|
+
def __init__(self, _io, _parent=None, _root=None):
|
|
371
|
+
self._io = _io
|
|
372
|
+
self._parent = _parent
|
|
373
|
+
self._root = _root if _root else self
|
|
374
|
+
self._debug = collections.defaultdict(dict)
|
|
375
|
+
|
|
376
|
+
def _read(self):
|
|
377
|
+
self._debug['x']['start'] = self._io.pos()
|
|
378
|
+
self.x = self._io.read_u1()
|
|
379
|
+
self._debug['x']['end'] = self._io.pos()
|
|
380
|
+
self._debug['y']['start'] = self._io.pos()
|
|
381
|
+
self.y = self._io.read_u1()
|
|
382
|
+
self._debug['y']['end'] = self._io.pos()
|
|
383
|
+
self._debug['z']['start'] = self._io.pos()
|
|
384
|
+
self.z = self._io.read_u1()
|
|
385
|
+
self._debug['z']['end'] = self._io.pos()
|
|
386
|
+
self._debug['color_index']['start'] = self._io.pos()
|
|
387
|
+
self.color_index = self._io.read_u1()
|
|
388
|
+
self._debug['color_index']['end'] = self._io.pos()
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"executable/android_nanoapp_header.ksy": {"class_name": "AndroidNanoappHeader", "python_path": "android_nanoapp_header.py", "dependencies": []}, "database/gettext_mo.ksy": {"class_name": "GettextMo", "python_path": "gettext_mo.py", "dependencies": []}, "executable/python_pyc_27.ksy": {"class_name": "PythonPyc27", "python_path": "python_pyc_27.py", "dependencies": []}, "executable/mach_o_fat.ksy": {"class_name": "MachOFat", "python_path": "mach_o_fat.py", "dependencies": [{"class_name": "MachO", "python_path": "mach_o.py"}, {"class_name": "Asn1Der", "python_path": "asn1_der.py"}]}, "database/dbf.ksy": {"class_name": "Dbf", "python_path": "dbf.py", "dependencies": []}, "executable/microsoft_pe.ksy": {"class_name": "MicrosoftPe", "python_path": "microsoft_pe.py", "dependencies": []}, "executable/uefi_te.ksy": {"class_name": "UefiTe", "python_path": "uefi_te.py", "dependencies": []}, "database/sqlite3.ksy": {"class_name": "Sqlite3", "python_path": "sqlite3.py", "dependencies": [{"class_name": "VlqBase128Be", "python_path": "vlq_base128_be.py"}]}, "database/tsm.ksy": {"class_name": "Tsm", "python_path": "tsm.py", "dependencies": []}, "executable/swf.ksy": {"class_name": "Swf", "python_path": "swf.py", "dependencies": []}, "3d/gltf_binary.ksy": {"class_name": "GltfBinary", "python_path": "gltf_binary.py", "dependencies": []}, "executable/java_class.ksy": {"class_name": "JavaClass", "python_path": "java_class.py", "dependencies": []}, "executable/dos_mz.ksy": {"class_name": "DosMz", "python_path": "dos_mz.py", "dependencies": []}, "executable/mach_o.ksy": {"class_name": "MachO", "python_path": "mach_o.py", "dependencies": [{"class_name": "Asn1Der", "python_path": "asn1_der.py"}]}, "executable/dex.ksy": {"class_name": "Dex", "python_path": "dex.py", "dependencies": [{"class_name": "VlqBase128Le", "python_path": "vlq_base128_le.py"}]}, "executable/elf.ksy": {"class_name": "Elf", "python_path": "elf.py", "dependencies": []}, "firmware/uimage.ksy": {"class_name": "Uimage", "python_path": "uimage.py", "dependencies": []}, "firmware/andes_firmware.ksy": {"class_name": "AndesFirmware", "python_path": "andes_firmware.py", "dependencies": []}, "hardware/dtb.ksy": {"class_name": "Dtb", "python_path": "dtb.py", "dependencies": []}, "macos/resource_fork.ksy": {"class_name": "ResourceFork", "python_path": "resource_fork.py", "dependencies": [{"class_name": "BytesWithIo", "python_path": "bytes_with_io.py"}]}, "macos/ds_store.ksy": {"class_name": "DsStore", "python_path": "ds_store.py", "dependencies": []}, "macos/mac_os_resource_snd.ksy": {"class_name": "MacOsResourceSnd", "python_path": "mac_os_resource_snd.py", "dependencies": []}, "hardware/edid.ksy": {"class_name": "Edid", "python_path": "edid.py", "dependencies": []}, "macos/compressed_resource.ksy": {"class_name": "CompressedResource", "python_path": "compressed_resource.py", "dependencies": [{"class_name": "BytesWithIo", "python_path": "bytes_with_io.py"}]}, "firmware/ines.ksy": {"class_name": "Ines", "python_path": "ines.py", "dependencies": []}, "archive/respack.ksy": {"class_name": "Respack", "python_path": "respack.py", "dependencies": []}, "archive/mozilla_mar.ksy": {"class_name": "MozillaMar", "python_path": "mozilla_mar.py", "dependencies": []}, "archive/lzh.ksy": {"class_name": "Lzh", "python_path": "lzh.py", "dependencies": [{"class_name": "DosDatetime", "python_path": "dos_datetime.py"}]}, "archive/rar.ksy": {"class_name": "Rar", "python_path": "rar.py", "dependencies": [{"class_name": "DosDatetime", "python_path": "dos_datetime.py"}]}, "archive/zisofs.ksy": {"class_name": "Zisofs", "python_path": "zisofs.py", "dependencies": []}, "archive/android_bootldr_asus.ksy": {"class_name": "AndroidBootldrAsus", "python_path": "android_bootldr_asus.py", "dependencies": []}, "archive/cpio_old_le.ksy": {"class_name": "CpioOldLe", "python_path": "cpio_old_le.py", "dependencies": []}, "archive/zip.ksy": {"class_name": "Zip", "python_path": "zip.py", "dependencies": [{"class_name": "DosDatetime", "python_path": "dos_datetime.py"}]}, "archive/android_dto.ksy": {"class_name": "AndroidDto", "python_path": "android_dto.py", "dependencies": []}, "archive/rpm.ksy": {"class_name": "Rpm", "python_path": "rpm.py", "dependencies": []}, "archive/android_sparse.ksy": {"class_name": "AndroidSparse", "python_path": "android_sparse.py", "dependencies": []}, "archive/android_bootldr_qcom.ksy": {"class_name": "AndroidBootldrQcom", "python_path": "android_bootldr_qcom.py", "dependencies": []}, "archive/gzip.ksy": {"class_name": "Gzip", "python_path": "gzip.py", "dependencies": []}, "archive/android_img.ksy": {"class_name": "AndroidImg", "python_path": "android_img.py", "dependencies": []}, "archive/android_bootldr_huawei.ksy": {"class_name": "AndroidBootldrHuawei", "python_path": "android_bootldr_huawei.py", "dependencies": []}, "archive/phar_without_stub.ksy": {"class_name": "PharWithoutStub", "python_path": "phar_without_stub.py", "dependencies": [{"class_name": "PhpSerializedValue", "python_path": "php_serialized_value.py"}]}, "security/efivar_signature_list.ksy": {"class_name": "EfivarSignatureList", "python_path": "efivar_signature_list.py", "dependencies": []}, "archive/xar.ksy": {"class_name": "Xar", "python_path": "xar.py", "dependencies": []}, "serialization/bson.ksy": {"class_name": "Bson", "python_path": "bson.py", "dependencies": []}, "security/ssh_public_key.ksy": {"class_name": "SshPublicKey", "python_path": "ssh_public_key.py", "dependencies": []}, "security/openpgp_message.ksy": {"class_name": "OpenpgpMessage", "python_path": "openpgp_message.py", "dependencies": []}, "serialization/google_protobuf.ksy": {"class_name": "GoogleProtobuf", "python_path": "google_protobuf.py", "dependencies": [{"class_name": "VlqBase128Le", "python_path": "vlq_base128_le.py"}]}, "serialization/php_serialized_value.ksy": {"class_name": "PhpSerializedValue", "python_path": "php_serialized_value.py", "dependencies": []}, "serialization/microsoft_cfb.ksy": {"class_name": "MicrosoftCfb", "python_path": "microsoft_cfb.py", "dependencies": []}, "serialization/python_pickle.ksy": {"class_name": "PythonPickle", "python_path": "python_pickle.py", "dependencies": []}, "serialization/msgpack.ksy": {"class_name": "Msgpack", "python_path": "msgpack.py", "dependencies": []}, "serialization/ruby_marshal.ksy": {"class_name": "RubyMarshal", "python_path": "ruby_marshal.py", "dependencies": []}, "serialization/chrome_pak.ksy": {"class_name": "ChromePak", "python_path": "chrome_pak.py", "dependencies": []}, "network/tls_client_hello.ksy": {"class_name": "TlsClientHello", "python_path": "tls_client_hello.py", "dependencies": []}, "machine_code/code_6502.ksy": {"class_name": "Code6502", "python_path": "code_6502.py", "dependencies": []}, "network/rtpdump.ksy": {"class_name": "Rtpdump", "python_path": "rtpdump.py", "dependencies": [{"class_name": "RtpPacket", "python_path": "rtp_packet.py"}]}, "network/ipv4_packet.ksy": {"class_name": "Ipv4Packet", "python_path": "ipv4_packet.py", "dependencies": [{"class_name": "TcpSegment", "python_path": "tcp_segment.py"}, {"class_name": "UdpDatagram", "python_path": "udp_datagram.py"}, {"class_name": "ProtocolBody", "python_path": "protocol_body.py"}, {"class_name": "IcmpPacket", "python_path": "icmp_packet.py"}, {"class_name": "Ipv6Packet", "python_path": "ipv6_packet.py"}]}, "network/dns_packet.ksy": {"class_name": "DnsPacket", "python_path": "dns_packet.py", "dependencies": []}, "network/dime_message.ksy": {"class_name": "DimeMessage", "python_path": "dime_message.py", "dependencies": []}, "network/rtp_packet.ksy": {"class_name": "RtpPacket", "python_path": "rtp_packet.py", "dependencies": []}, "network/websocket.ksy": {"class_name": "Websocket", "python_path": "websocket.py", "dependencies": []}, "network/ipv6_packet.ksy": {"class_name": "Ipv6Packet", "python_path": "ipv6_packet.py", "dependencies": [{"class_name": "TcpSegment", "python_path": "tcp_segment.py"}, {"class_name": "UdpDatagram", "python_path": "udp_datagram.py"}, {"class_name": "ProtocolBody", "python_path": "protocol_body.py"}, {"class_name": "Ipv4Packet", "python_path": "ipv4_packet.py"}, {"class_name": "IcmpPacket", "python_path": "icmp_packet.py"}]}, "network/bitcoin_transaction.ksy": {"class_name": "BitcoinTransaction", "python_path": "bitcoin_transaction.py", "dependencies": []}, "network/udp_datagram.ksy": {"class_name": "UdpDatagram", "python_path": "udp_datagram.py", "dependencies": []}, "network/icmp_packet.ksy": {"class_name": "IcmpPacket", "python_path": "icmp_packet.py", "dependencies": []}, "network/tcp_segment.ksy": {"class_name": "TcpSegment", "python_path": "tcp_segment.py", "dependencies": []}, "network/ethernet_frame.ksy": {"class_name": "EthernetFrame", "python_path": "ethernet_frame.py", "dependencies": [{"class_name": "TcpSegment", "python_path": "tcp_segment.py"}, {"class_name": "UdpDatagram", "python_path": "udp_datagram.py"}, {"class_name": "ProtocolBody", "python_path": "protocol_body.py"}, {"class_name": "Ipv4Packet", "python_path": "ipv4_packet.py"}, {"class_name": "IcmpPacket", "python_path": "icmp_packet.py"}, {"class_name": "Ipv6Packet", "python_path": "ipv6_packet.py"}]}, "network/packet_ppi.ksy": {"class_name": "PacketPpi", "python_path": "packet_ppi.py", "dependencies": [{"class_name": "TcpSegment", "python_path": "tcp_segment.py"}, {"class_name": "UdpDatagram", "python_path": "udp_datagram.py"}, {"class_name": "ProtocolBody", "python_path": "protocol_body.py"}, {"class_name": "Ipv4Packet", "python_path": "ipv4_packet.py"}, {"class_name": "IcmpPacket", "python_path": "icmp_packet.py"}, {"class_name": "EthernetFrame", "python_path": "ethernet_frame.py"}, {"class_name": "Ipv6Packet", "python_path": "ipv6_packet.py"}]}, "network/protocol_body.ksy": {"class_name": "ProtocolBody", "python_path": "protocol_body.py", "dependencies": [{"class_name": "TcpSegment", "python_path": "tcp_segment.py"}, {"class_name": "UdpDatagram", "python_path": "udp_datagram.py"}, {"class_name": "Ipv4Packet", "python_path": "ipv4_packet.py"}, {"class_name": "IcmpPacket", "python_path": "icmp_packet.py"}, {"class_name": "Ipv6Packet", "python_path": "ipv6_packet.py"}]}, "network/hccap.ksy": {"class_name": "Hccap", "python_path": "hccap.py", "dependencies": []}, "network/pcap.ksy": {"class_name": "Pcap", "python_path": "pcap.py", "dependencies": [{"class_name": "TcpSegment", "python_path": "tcp_segment.py"}, {"class_name": "PacketPpi", "python_path": "packet_ppi.py"}, {"class_name": "UdpDatagram", "python_path": "udp_datagram.py"}, {"class_name": "ProtocolBody", "python_path": "protocol_body.py"}, {"class_name": "Ipv4Packet", "python_path": "ipv4_packet.py"}, {"class_name": "IcmpPacket", "python_path": "icmp_packet.py"}, {"class_name": "EthernetFrame", "python_path": "ethernet_frame.py"}, {"class_name": "Ipv6Packet", "python_path": "ipv6_packet.py"}]}, "network/rtcp_payload.ksy": {"class_name": "RtcpPayload", "python_path": "rtcp_payload.py", "dependencies": []}, "network/hccapx.ksy": {"class_name": "Hccapx", "python_path": "hccapx.py", "dependencies": []}, "network/microsoft_network_monitor_v2.ksy": {"class_name": "MicrosoftNetworkMonitorV2", "python_path": "microsoft_network_monitor_v2.py", "dependencies": [{"class_name": "TcpSegment", "python_path": "tcp_segment.py"}, {"class_name": "UdpDatagram", "python_path": "udp_datagram.py"}, {"class_name": "ProtocolBody", "python_path": "protocol_body.py"}, {"class_name": "Ipv4Packet", "python_path": "ipv4_packet.py"}, {"class_name": "WindowsSystemtime", "python_path": "windows_systemtime.py"}, {"class_name": "IcmpPacket", "python_path": "icmp_packet.py"}, {"class_name": "EthernetFrame", "python_path": "ethernet_frame.py"}, {"class_name": "Ipv6Packet", "python_path": "ipv6_packet.py"}]}, "filesystem/iso9660.ksy": {"class_name": "Iso9660", "python_path": "iso9660.py", "dependencies": []}, "filesystem/apm_partition_table.ksy": {"class_name": "ApmPartitionTable", "python_path": "apm_partition_table.py", "dependencies": []}, "filesystem/ext2.ksy": {"class_name": "Ext2", "python_path": "ext2.py", "dependencies": []}, "filesystem/gpt_partition_table.ksy": {"class_name": "GptPartitionTable", "python_path": "gpt_partition_table.py", "dependencies": []}, "filesystem/luks.ksy": {"class_name": "Luks", "python_path": "luks.py", "dependencies": []}, "filesystem/tr_dos_image.ksy": {"class_name": "TrDosImage", "python_path": "tr_dos_image.py", "dependencies": []}, "filesystem/zx_spectrum_tap.ksy": {"class_name": "ZxSpectrumTap", "python_path": "zx_spectrum_tap.py", "dependencies": []}, "filesystem/android_super.ksy": {"class_name": "AndroidSuper", "python_path": "android_super.py", "dependencies": []}, "filesystem/apple_single_double.ksy": {"class_name": "AppleSingleDouble", "python_path": "apple_single_double.py", "dependencies": []}, "filesystem/btrfs_stream.ksy": {"class_name": "BtrfsStream", "python_path": "btrfs_stream.py", "dependencies": []}, "filesystem/mbr_partition_table.ksy": {"class_name": "MbrPartitionTable", "python_path": "mbr_partition_table.py", "dependencies": []}, "filesystem/vmware_vmdk.ksy": {"class_name": "VmwareVmdk", "python_path": "vmware_vmdk.py", "dependencies": []}, "filesystem/cramfs.ksy": {"class_name": "Cramfs", "python_path": "cramfs.py", "dependencies": []}, "filesystem/vfat.ksy": {"class_name": "Vfat", "python_path": "vfat.py", "dependencies": [{"class_name": "DosDatetime", "python_path": "dos_datetime.py"}]}, "game/renderware_binary_stream.ksy": {"class_name": "RenderwareBinaryStream", "python_path": "renderware_binary_stream.py", "dependencies": []}, "game/fallout_dat.ksy": {"class_name": "FalloutDat", "python_path": "fallout_dat.py", "dependencies": []}, "game/saints_row_2_vpp_pc.ksy": {"class_name": "SaintsRow2VppPc", "python_path": "saints_row_2_vpp_pc.py", "dependencies": []}, "game/ftl_dat.ksy": {"class_name": "FtlDat", "python_path": "ftl_dat.py", "dependencies": []}, "game/fallout2_dat.ksy": {"class_name": "Fallout2Dat", "python_path": "fallout2_dat.py", "dependencies": []}, "game/heaps_pak.ksy": {"class_name": "HeapsPak", "python_path": "heaps_pak.py", "dependencies": []}, "game/gran_turismo_vol.ksy": {"class_name": "GranTurismoVol", "python_path": "gran_turismo_vol.py", "dependencies": []}, "game/quake_pak.ksy": {"class_name": "QuakePak", "python_path": "quake_pak.py", "dependencies": []}, "game/minecraft_nbt.ksy": {"class_name": "MinecraftNbt", "python_path": "minecraft_nbt.py", "dependencies": []}, "game/dune_2_pak.ksy": {"class_name": "Dune2Pak", "python_path": "dune_2_pak.py", "dependencies": []}, "game/heroes_of_might_and_magic_bmp.ksy": {"class_name": "HeroesOfMightAndMagicBmp", "python_path": "heroes_of_might_and_magic_bmp.py", "dependencies": []}, "game/doom_wad.ksy": {"class_name": "DoomWad", "python_path": "doom_wad.py", "dependencies": []}, "game/warcraft_2_pud.ksy": {"class_name": "Warcraft2Pud", "python_path": "warcraft_2_pud.py", "dependencies": []}, "game/heroes_of_might_and_magic_agg.ksy": {"class_name": "HeroesOfMightAndMagicAgg", "python_path": "heroes_of_might_and_magic_agg.py", "dependencies": []}, "image/pcx.ksy": {"class_name": "Pcx", "python_path": "pcx.py", "dependencies": []}, "game/quake_mdl.ksy": {"class_name": "QuakeMdl", "python_path": "quake_mdl.py", "dependencies": []}, "game/allegro_dat.ksy": {"class_name": "AllegroDat", "python_path": "allegro_dat.py", "dependencies": []}, "image/pcx_dcx.ksy": {"class_name": "PcxDcx", "python_path": "pcx_dcx.py", "dependencies": [{"class_name": "Pcx", "python_path": "pcx.py"}]}, "image/xwd.ksy": {"class_name": "Xwd", "python_path": "xwd.py", "dependencies": []}, "image/psx_tim.ksy": {"class_name": "PsxTim", "python_path": "psx_tim.py", "dependencies": []}, "image/ico.ksy": {"class_name": "Ico", "python_path": "ico.py", "dependencies": []}, "image/wmf.ksy": {"class_name": "Wmf", "python_path": "wmf.py", "dependencies": []}, "image/gimp_brush.ksy": {"class_name": "GimpBrush", "python_path": "gimp_brush.py", "dependencies": []}, "image/gif.ksy": {"class_name": "Gif", "python_path": "gif.py", "dependencies": []}, "image/tga.ksy": {"class_name": "Tga", "python_path": "tga.py", "dependencies": []}, "image/nitf.ksy": {"class_name": "Nitf", "python_path": "nitf.py", "dependencies": []}, "image/dicom.ksy": {"class_name": "Dicom", "python_path": "dicom.py", "dependencies": []}, "image/bmp.ksy": {"class_name": "Bmp", "python_path": "bmp.py", "dependencies": []}, "image/exif.ksy": {"class_name": "Exif", "python_path": "exif.py", "dependencies": []}, "common/vlq_base128_be.ksy": {"class_name": "VlqBase128Be", "python_path": "vlq_base128_be.py", "dependencies": []}, "image/png.ksy": {"class_name": "Png", "python_path": "png.py", "dependencies": []}, "common/utf8_string.ksy": {"class_name": "Utf8String", "python_path": "utf8_string.py", "dependencies": []}, "image/jpeg.ksy": {"class_name": "Jpeg", "python_path": "jpeg.py", "dependencies": [{"class_name": "Exif", "python_path": "exif.py"}]}, "common/bytes_with_io.ksy": {"class_name": "BytesWithIo", "python_path": "bytes_with_io.py", "dependencies": []}, "common/riff.ksy": {"class_name": "Riff", "python_path": "riff.py", "dependencies": []}, "common/dos_datetime.ksy": {"class_name": "DosDatetime", "python_path": "dos_datetime.py", "dependencies": []}, "common/bcd.ksy": {"class_name": "Bcd", "python_path": "bcd.py", "dependencies": []}, "cad/monomakh_sapr_chg.ksy": {"class_name": "MonomakhSaprChg", "python_path": "monomakh_sapr_chg.py", "dependencies": []}, "common/vlq_base128_le.ksy": {"class_name": "VlqBase128Le", "python_path": "vlq_base128_le.py", "dependencies": []}, "log/windows_evt_log.ksy": {"class_name": "WindowsEvtLog", "python_path": "windows_evt_log.py", "dependencies": []}, "log/aix_utmp.ksy": {"class_name": "AixUtmp", "python_path": "aix_utmp.py", "dependencies": []}, "log/sudoers_ts.ksy": {"class_name": "SudoersTs", "python_path": "sudoers_ts.py", "dependencies": []}, "log/hashcat_restore.ksy": {"class_name": "HashcatRestore", "python_path": "hashcat_restore.py", "dependencies": []}, "log/mcap.ksy": {"class_name": "Mcap", "python_path": "mcap.py", "dependencies": []}, "log/glibc_utmp.ksy": {"class_name": "GlibcUtmp", "python_path": "glibc_utmp.py", "dependencies": []}, "log/systemd_journal.ksy": {"class_name": "SystemdJournal", "python_path": "systemd_journal.py", "dependencies": []}, "windows/windows_shell_items.ksy": {"class_name": "WindowsShellItems", "python_path": "windows_shell_items.py", "dependencies": []}, "windows/windows_systemtime.ksy": {"class_name": "WindowsSystemtime", "python_path": "windows_systemtime.py", "dependencies": []}, "font/grub2_font.ksy": {"class_name": "Grub2Font", "python_path": "grub2_font.py", "dependencies": []}, "font/pcf_font.ksy": {"class_name": "PcfFont", "python_path": "pcf_font.py", "dependencies": [{"class_name": "BytesWithIo", "python_path": "bytes_with_io.py"}]}, "windows/windows_resource_file.ksy": {"class_name": "WindowsResourceFile", "python_path": "windows_resource_file.py", "dependencies": []}, "windows/windows_minidump.ksy": {"class_name": "WindowsMinidump", "python_path": "windows_minidump.py", "dependencies": []}, "font/ttf.ksy": {"class_name": "Ttf", "python_path": "ttf.py", "dependencies": []}, "geospatial/shapefile_index.ksy": {"class_name": "ShapefileIndex", "python_path": "shapefile_index.py", "dependencies": []}, "windows/regf.ksy": {"class_name": "Regf", "python_path": "regf.py", "dependencies": []}, "windows/windows_lnk_file.ksy": {"class_name": "WindowsLnkFile", "python_path": "windows_lnk_file.py", "dependencies": [{"class_name": "WindowsShellItems", "python_path": "windows_shell_items.py"}]}, "geospatial/shapefile_main.ksy": {"class_name": "ShapefileMain", "python_path": "shapefile_main.py", "dependencies": []}, "media/id3v2_4.ksy": {"class_name": "Id3v24", "python_path": "id3v2_4.py", "dependencies": []}, "media/id3v1_1.ksy": {"class_name": "Id3v11", "python_path": "id3v1_1.py", "dependencies": []}, "media/ogg.ksy": {"class_name": "Ogg", "python_path": "ogg.py", "dependencies": []}, "media/id3v2_3.ksy": {"class_name": "Id3v23", "python_path": "id3v2_3.py", "dependencies": []}, "media/wav.ksy": {"class_name": "Wav", "python_path": "wav.py", "dependencies": [{"class_name": "Riff", "python_path": "riff.py"}]}, "media/stl.ksy": {"class_name": "Stl", "python_path": "stl.py", "dependencies": []}, "media/magicavoxel_vox.ksy": {"class_name": "MagicavoxelVox", "python_path": "magicavoxel_vox.py", "dependencies": []}, "media/au.ksy": {"class_name": "Au", "python_path": "au.py", "dependencies": []}, "media/genmidi_op2.ksy": {"class_name": "GenmidiOp2", "python_path": "genmidi_op2.py", "dependencies": []}, "media/android_opengl_shaders_cache.ksy": {"class_name": "AndroidOpenglShadersCache", "python_path": "android_opengl_shaders_cache.py", "dependencies": []}, "media/vp8_ivf.ksy": {"class_name": "Vp8Ivf", "python_path": "vp8_ivf.py", "dependencies": []}, "media/creative_voice_file.ksy": {"class_name": "CreativeVoiceFile", "python_path": "creative_voice_file.py", "dependencies": []}, "media/blender_blend.ksy": {"class_name": "BlenderBlend", "python_path": "blender_blend.py", "dependencies": []}, "media/avi.ksy": {"class_name": "Avi", "python_path": "avi.py", "dependencies": []}, "media/standard_midi_file.ksy": {"class_name": "StandardMidiFile", "python_path": "standard_midi_file.py", "dependencies": [{"class_name": "VlqBase128Be", "python_path": "vlq_base128_be.py"}]}, "media/tracker_modules/s3m.ksy": {"class_name": "S3m", "python_path": "s3m.py", "dependencies": []}, "media/quicktime_mov.ksy": {"class_name": "QuicktimeMov", "python_path": "quicktime_mov.py", "dependencies": []}, "scientific/spectroscopy/specpr.ksy": {"class_name": "Specpr", "python_path": "specpr.py", "dependencies": []}, "scientific/spectroscopy/avantes_roh60.ksy": {"class_name": "AvantesRoh60", "python_path": "avantes_roh60.py", "dependencies": []}, "media/tracker_modules/fasttracker_xm_module.ksy": {"class_name": "FasttrackerXmModule", "python_path": "fasttracker_xm_module.py", "dependencies": []}, "scientific/nt_mdt/nt_mdt_pal.ksy": {"class_name": "NtMdtPal", "python_path": "nt_mdt_pal.py", "dependencies": []}, "network/some_ip/some_ip_sd_entries.ksy": {"class_name": "SomeIpSdEntries", "python_path": "some_ip_sd_entries.py", "dependencies": []}, "network/some_ip/some_ip_container.ksy": {"class_name": "SomeIpContainer", "python_path": "some_ip_container.py", "dependencies": [{"class_name": "SomeIp", "python_path": "some_ip.py"}, {"class_name": "SomeIpSdEntries", "python_path": "some_ip_sd_entries.py"}, {"class_name": "SomeIpSd", "python_path": "some_ip_sd.py"}, {"class_name": "SomeIpSdOptions", "python_path": "some_ip_sd_options.py"}]}, "network/some_ip/some_ip_sd.ksy": {"class_name": "SomeIpSd", "python_path": "some_ip_sd.py", "dependencies": [{"class_name": "SomeIpSdOptions", "python_path": "some_ip_sd_options.py"}, {"class_name": "SomeIpSdEntries", "python_path": "some_ip_sd_entries.py"}]}, "network/some_ip/some_ip_sd_options.ksy": {"class_name": "SomeIpSdOptions", "python_path": "some_ip_sd_options.py", "dependencies": []}, "serialization/asn1/asn1_der.ksy": {"class_name": "Asn1Der", "python_path": "asn1_der.py", "dependencies": []}, "network/some_ip/some_ip.ksy": {"class_name": "SomeIp", "python_path": "some_ip.py", "dependencies": [{"class_name": "SomeIpSdOptions", "python_path": "some_ip_sd_options.py"}, {"class_name": "SomeIpSdEntries", "python_path": "some_ip_sd_entries.py"}, {"class_name": "SomeIpSd", "python_path": "some_ip_sd.py"}]}, "macos/resource_compression/dcmp_variable_length_integer.ksy": {"class_name": "DcmpVariableLengthInteger", "python_path": "dcmp_variable_length_integer.py", "dependencies": []}, "macos/resource_compression/dcmp_2.ksy": {"class_name": "Dcmp2", "python_path": "dcmp_2.py", "dependencies": [{"class_name": "BytesWithIo", "python_path": "bytes_with_io.py"}]}, "macos/resource_compression/dcmp_1.ksy": {"class_name": "Dcmp1", "python_path": "dcmp_1.py", "dependencies": [{"class_name": "DcmpVariableLengthInteger", "python_path": "dcmp_variable_length_integer.py"}]}, "macos/resource_compression/dcmp_0.ksy": {"class_name": "Dcmp0", "python_path": "dcmp_0.py", "dependencies": [{"class_name": "DcmpVariableLengthInteger", "python_path": "dcmp_variable_length_integer.py"}]}, "hardware/mifare/mifare_classic.ksy": {"class_name": "MifareClassic", "python_path": "mifare_classic.py", "dependencies": []}}
|