FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
magic.cpp File Reference

Patches magic bytes to identify file as a FlatImage. More...

#include <fstream>
#include <iostream>
Include dependency graph for magic.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Entry point for the magic bytes patcher.
 

Detailed Description

Patches magic bytes to identify file as a FlatImage.

Author
Ruan E. Formigoni

Definition in file magic.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Entry point for the magic bytes patcher.

Parameters
argcArgument count
argvArgument vector
Returns
int Exit code (0 for success, non-zero for failure)

Definition at line 19 of file magic.cpp.