🍄 A parser, interpreter and compiler for libmagic rule files in golang
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Magdir
apprentice
scripts
wizardry
.gitignore
.gitlab-ci.yml
LICENSE
README.md
docompile.go
doidentify.go
main.go

README.md

wizardry

build status codecov Go Report Card GoDoc MIT licensed

wizardry is a toolkit to deal with libmagic rule files (sources, not compiled)

It contains:

  • A parser, which turn magic rule files into an AST
  • An interpreter, which identifies a target by following the rules in the AST
  • A compiler, which generates go code to follow the rules in the AST

License

wizardry is released under the MIT license, see the LICENSE file for details.