retdec
Functions
bin2pat.cpp File Reference

Binary pattern generator. More...

#include <cstdlib>
#include <fstream>
#include <ostream>
#include <vector>
#include "retdec/utils/filesystem.h"
#include "retdec/utils/io/log.h"
#include "retdec/patterngen/pattern_extractor/pattern_extractor.h"
#include "yaramod/yaramod.h"

Functions

void printUsage (Logger &log)
 
void printErrorAndDie (const std::string &message)
 
void needValue (const std::string &arg)
 
void processArgs (const std::vector< std::string > &args)
 
int main (int argc, char *argv[])
 

Detailed Description

Binary pattern generator.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ needValue()

void needValue ( const std::string &  arg)

◆ printErrorAndDie()

void printErrorAndDie ( const std::string &  message)

◆ printUsage()

void printUsage ( Logger log)

◆ processArgs()

void processArgs ( const std::vector< std::string > &  args)