143a5ec4eSXin LI 243a5ec4eSXin LI#------------------------------------------------------------ 3*898496eeSXin LI# $File: bytecode,v 1.5 2023/02/20 16:25:05 christos Exp $ 443a5ec4eSXin LI# magic for various bytecodes 543a5ec4eSXin LI 643a5ec4eSXin LI# From: Mikhail Gusarov <dottedmag@dottedmag.net> 743a5ec4eSXin LI# NekoVM (https://nekovm.org/) bytecode 843a5ec4eSXin LI0 string NEKO NekoVM bytecode 943a5ec4eSXin LI>4 lelong x (%d global symbols, 1043a5ec4eSXin LI>8 lelong x %d global fields, 1143a5ec4eSXin LI>12 lelong x %d bytecode ops) 1243a5ec4eSXin LI!:mime application/x-nekovm-bytecode 1343a5ec4eSXin LI 1443a5ec4eSXin LI# https://www.iana.org/assignments/media-types/application/vnd.resilient.logic 1543a5ec4eSXin LI# From: Benedikt Muessig <benedikt@resilient-group.de> 1643a5ec4eSXin LI0 belong 0x07524c4d Resilient Logic bytecode 1743a5ec4eSXin LI!:mime application/vnd.resilient.logic 1843a5ec4eSXin LI>4 byte/16 x \b, version %d 1943a5ec4eSXin LI>4 byte&0x0f x \b.%d 2043a5ec4eSXin LI 2143a5ec4eSXin LI# Guile file magic from <dalepsmith@gmail.com> 2243a5ec4eSXin LI# https://www.gnu.org/s/guile/ 2343a5ec4eSXin LI# https://git.savannah.gnu.org/gitweb/?p=guile.git;f=libguile/_scm.h;hb=HEAD#l250 2443a5ec4eSXin LI 2543a5ec4eSXin LI0 string GOOF---- Guile Object 2643a5ec4eSXin LI>8 string LE \b, little endian 2743a5ec4eSXin LI>8 string BE \b, big endian 2843a5ec4eSXin LI>11 string 4 \b, 32bit 2943a5ec4eSXin LI>11 string 8 \b, 64bit 30a4d6d3b8SXin LI>13 regex .\\.. \b, bytecode v%s 31*898496eeSXin LI 32*898496eeSXin LI# Racket file magic 33*898496eeSXin LI# From: Haelwenn (lanodan) Monnier <contact+libmagic@hacktivis.me> 34*898496eeSXin LI# https://racket-lang.org/ 35*898496eeSXin LI# https://github.com/racket/racket/blob/master/racket/src/expander/compile/write-linklet.rkt 36*898496eeSXin LI0 string #~ 37*898496eeSXin LI>&0 pstring x 38*898496eeSXin LI>>&0 pstring racket 39*898496eeSXin LI>>>0 string #~ Racket bytecode 40*898496eeSXin LI>>>>&0 pstring x (version %s) 41*898496eeSXin LI 42