* patterns: Add Lua 5.0 pattern
Based on Lua 5.1 pattern.
* tests: Add Lua 5.0 test file
function fac(n)
if n < 2 then
return 1
end
return n * fac(n - 1)
end
./luac - < test.lua
Lua compiled with make ARFLAGS=rv CC="gcc -m32"
at commit 762c7370376dbd13cd8aeb4d8c8da0bb153269c3
luac compiled with make LUA=../lua CC="gcc -m32"
at commit d002063c4605d3ea12d419b34a23c562f9add318
---------
Co-authored-by: Nik <werwolv98@gmail.com>
* Add credit to ne.hexpat
* Add many changes to nes.hexpat
* Fixing dependance on variables declared in if statement
* Added mappers and inline to NES 2.0 header, removed needless parenthesises
* Add files via upload
* Add files via upload
* Create nsf.hexpat
* Used full name of the SNES on description
* Add SNES, NSF & NSFe, new description for NES
* Removing erroneous condition in ips.hexpat's truncatedSize
* Removing unnecessary std.string import in ips.hexpat
* Added both locations for sections in PE, clearer variable names, reorganized DOS stub
* Delete patterns/nsfe.hexpat
* Delete patterns/nsfmetadata.hexpat
* Added chunks from NSFe to NSF
* Added NSFe
* Fix size of truncatedSize in ips.hexpat
* More mappers, deprecated tag, and constants to nes
* Fixed official header's constants
* Various corrections
* Fix on declaration of sections, reserved words made into padding
* Added hacked algorithm for longer PRG ROM size, fixed iNES check
* For nes.hexpat, fixed mapper 51 still having its submapper's name
* Fix bug that makes size negative on standard roms
---------
Co-authored-by: Nik <werwolv98@gmail.com>
* Add parquet.hexpat for Apache Parquet data file
> Apache Parquet is an open source, column-oriented data file format designed for efficient data storage and retrieval.
> -- https://parquet.apache.org
* Add parquet.hexpat test file
* Fix parquet.hexpat boolean parsing
* Fix parquet.hexpat ColumnChunkPlacer not placing last chunk
* Fix parquet.hexpat using VarInt = LEB128
---------
Co-authored-by: Nik <werwolv98@gmail.com>
* patterns: Add json support for glb files
This makes it possible to separate display the different buffer views,
accessors and images (even visualizing them).
Unfortunately the data within the JSON gets sometimes corrupted and this
is the reason, why it parses the JSON multiple times at some places.
* Use original style and only single json variable
* patterns: Reuse json from global variable in gltf
* patterns: Check component type in gltf only once
* patterns: Fix gltf pattern and add formatting
Removes the duplicate definition of `component_type_t` and also removes
the need to pass the `component_type` to `stride_type_t`.
* Commit patterns I've collected
- AppleSingle/AppleDouble pattern, used for macOS resource forks.
- MAME CHD file format, currently only supports v5.
- KEX Engine proprietary TARC format, used by various Nightdive games.
* Add to README
* Add pattern for KTX 1.0 file
* Use import, add reference ktx file
* Add to README
* Add credit to ne.hexpat
* Add many changes to nes.hexpat
* Fixing dependance on variables declared in if statement
* Added mappers and inline to NES 2.0 header, removed needless parenthesises
* Add files via upload
* Add files via upload
* Create nsf.hexpat
* Used full name of the SNES on description
* Add SNES, NSF & NSFe, new description for NES
* Removing erroneous condition in ips.hexpat's truncatedSize
* Removing unnecessary std.string import in ips.hexpat
* Added both locations for sections in PE, clearer variable names, reorganized DOS stub
* Delete patterns/nsfe.hexpat
* Delete patterns/nsfmetadata.hexpat
* Added chunks from NSFe to NSF
* Added NSFe
* Fix size of truncatedSize in ips.hexpat
---------
Co-authored-by: Nik <werwolv98@gmail.com>
* patterns: Added PopCap's proprietary Lua bytecode pattern.
* updated README to include new pattern
* fixed README link
* patterns/popcap_luc.hexpat: fixed comments and sources
* patterns/popcap_luc.hexpat: Changed datatype of filename to be more clear about its structure
* patterns/popcap_luc.hexpat: fixed improper handling of Nil type and added test file
* Add credit to ne.hexpat
* Add many changes to nes.hexpat
* Fixing dependance on variables declared in if statement
---------
Co-authored-by: Nik <werwolv98@gmail.com>
* patterns/terminfo: Add pattern for compiled term info entry files.
This adds support for the compiled (legacy and extended) term info entry files that are used for determining terminal capabilities.
* Add .bin extension to the terminfo test file.
Apple Multi-Picture Format JPEGs often have 4 extra bytes in the APP0 section. The pattern now skips any extra bytes beyond the fixed APP0 data.
Co-authored-by: Nik <werwolv98@gmail.com>
* Add UEFI Firmare Volume Variable Store pattern
Add a pattern for UEFI Firmare Volume Variable store.
This file type is commonly used with virtual machine UEFI variable files,
like OVMF.fd used with QEMU. You could also extract a UEFI firmware binary
from a flash device, search for the FV Variable Store, and set this pattern
to the FV address.
Signed-off-by: Marc Jones <marcj303@gmail.com>
* Fixed description pragma
---------
Signed-off-by: Marc Jones <marcj303@gmail.com>
Co-authored-by: Nik <werwolv98@gmail.com>