retdec
|
Static code detection tool. More...
#include <iomanip>
#include <string>
#include <vector>
#include "retdec/utils/filesystem.h"
#include "retdec/utils/io/log.h"
#include "retdec/stacofin/stacofin.h"
#include "retdec/loader/image_factory.h"
Functions | |
void | printUsage () |
int | printError (const std::string &errorMessage) |
std::string | referencesToString (const References &references) |
void | printDetectionsDebug (const retdec::stacofin::DetectedFunctionsMultimap &detections) |
void | printDetections (const retdec::stacofin::DetectedFunctionsMultimap &detections) |
int | doActions (const std::vector< std::string > &args) |
int | main (int argc, char *argv[]) |
Static code detection tool.
int doActions | ( | const std::vector< std::string > & | args | ) |
Do actions according to command line arguments.
args | command line arguments |
int main | ( | int | argc, |
char * | argv[] | ||
) |
void printDetections | ( | const retdec::stacofin::DetectedFunctionsMultimap & | detections | ) |
Print results.
detections | detected functions |
void printDetectionsDebug | ( | const retdec::stacofin::DetectedFunctionsMultimap & | detections | ) |
Print results for debug purposes.
detections | detected functions |
int printError | ( | const std::string & | errorMessage | ) |
Print error message and return non-zero value.
errorMessage | message to print |
void printUsage | ( | ) |
Print usage.
std::string referencesToString | ( | const References & | references | ) |
Convert reference pairs to string.
references | references |