Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.53 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.53 KB
➜  ciff-reader-hf git:(main) ✗ ./parser --help

 ______     ______     ______   ______   ______     ______
/\  ___\   /\  __ \   /\  ___\ /\  ___\ /\  ___\   /\  == \
\ \ \____  \ \  __ \  \ \  __\ \ \  __\ \ \  __\   \ \  __<
 \ \_____\  \ \_\ \_\  \ \_\    \ \_\    \ \_____\  \ \_\ \_\
  \/_____/   \/_/\/_/   \/_/     \/_/     \/_____/   \/_/ /_/

CAFFER: CrySyS CAFF and CIFF parser
Usage: reader [-ciff | -caff] [target_file]

    Command Summary:

        -ciff target_file 	|	Read CIFF target_file and exports it to a JPEG file
        -caff target_file 	|	Read CAFF target_file and exports the first image to a JPEG file
        --help 			|	This help message

Requirements:

  • Ubuntu 22.04 LTS
  • libjpeg-dev
  • make
  • g++
  • c++20

Install

First install libjpeg-dev:

sudo apt-get install libjpeg-dev

Then run make:

make

Done!

Informations

Compatible with macOS Ventura and Ubuntu 22.04.

Tested with:

  • Valgrind: No memory leaks found (log can be found here)
Used command:

valgrind --leak-check=full --show-leak-kinds=all --log-file=valgrind.log -- /home/kali/ciff-reader-hf/parser --caff testfiles/1.caff 
  • Memtrace: No memory leaks found
  • afl-fuzz tested on both --caff and -ciff formats: