retdec
Namespaces | Enumerations | Functions
unpacker.cpp File Reference

Main function and help. More...

#include <cstddef>
#include <memory>
#include "retdec/utils/conversion.h"
#include "retdec/utils/filesystem.h"
#include "retdec/utils/io/log.h"
#include "retdec/utils/memory.h"
#include "retdec/cpdetect/cpdetect.h"
#include "retdec/fileformat/fileformat.h"
#include "arg_handler.h"
#include "retdec/unpacker/plugin.h"
#include "retdec/unpackertool/unpackertool.h"
#include "plugin_mgr.h"

Namespaces

 retdec
 
 retdec::unpackertool
 Generic unpacker.
 

Enumerations

enum  retdec::unpackertool::ExitCode {
  retdec::unpackertool::EXIT_CODE_OK = 0 , retdec::unpackertool::EXIT_CODE_NOTHING_TO_DO , retdec::unpackertool::EXIT_CODE_UNPACKING_FAILED , retdec::unpackertool::EXIT_CODE_PREPROCESSING_ERROR ,
  retdec::unpackertool::EXIT_CODE_MEMORY_LIMIT_ERROR
}
 

Functions

bool retdec::unpackertool::detectPackers (const std::string &inputFile, std::vector< retdec::cpdetect::DetectResult > &detectedPackers)
 
ExitCode retdec::unpackertool::unpackFile (const std::string &inputFile, const std::string &outputFile, bool brute, const std::vector< retdec::cpdetect::DetectResult > &detectedPackers)
 
ExitCode retdec::unpackertool::processArgs (ArgHandler &handler, char argc, char **argv)
 
int retdec::unpackertool::_main (int argc, char **argv)
 

Detailed Description

Main function and help.