vtil-project / VTIL-Kaitai

Kaitai structure definition for VTIL files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VTIL-Kaitai

Generates deserializers for the VTIL file format using Kaitai.

Usage

Make sure your language is supported by checking out the langs/ folder. If it's there copy and paste all files in that subfolder into your project. For more information please refer to Kaitai's official documentation.

Example

You can find an example that dumps all instructions from a VTIL file here. Here's a short outline of how to access the VTIL information:

from vtil import Vtil

vtil = Vtil.from_file("./patch/to/file.vtil")
entrypoint = vtil.entrypoint.entry_vip
print(f"===> Entrypoint: {entrypoint}")

Building

You can build the source files by executing one of the scripts.

# Windows
.\compile.bat
# Any other OS
./compile

This will update all source files in the langs/ folder.

About

Kaitai structure definition for VTIL files.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 16.5%Language:Java 15.2%Language:C# 14.6%Language:Python 13.8%Language:Perl 12.2%Language:PHP 10.6%Language:JavaScript 6.2%Language:Ruby 5.9%Language:Lua 5.0%Language:Shell 0.0%Language:Batchfile 0.0%