retdec
Namespaces | Functions
format_detection.cpp File Reference

File format detection. More...

#include <fstream>
#include <map>
#include <memory>
#include <system_error>
#include <llvm/Object/COFF.h>
#include <llvm/Support/Host.h>
#include "retdec/utils/conversion.h"
#include "retdec/utils/string.h"
#include "retdec/fileformat/utils/byte_array_buffer.h"
#include "retdec/fileformat/utils/format_detection.h"
#include "retdec/pelib/PeFile.h"
#include "retdec/pelib/ImageLoader.h"

Namespaces

 retdec
 
 retdec::fileformat
 

Functions

Format retdec::fileformat::detectFileFormat (std::istream &inputStream, bool isRaw=false)
 
Format retdec::fileformat::detectFileFormat (const std::string &filePath, bool isRaw=false)
 
Format retdec::fileformat::detectFileFormat (const std::uint8_t *data, std::size_t size, bool isRaw=false)
 

Detailed Description

File format detection.