retdec
Namespaces | Functions
other.cpp File Reference

Simple utilities. More...

#include <array>
#include <cmath>
#include <map>
#include <unordered_map>
#include "retdec/utils/container.h"
#include "retdec/utils/conversion.h"
#include "retdec/fileformat/utils/other.h"

Namespaces

 retdec
 
 retdec::fileformat
 

Functions

std::size_t retdec::fileformat::getRealSizeInRegion (std::size_t offset, std::size_t requestedSize, std::size_t regionSize)
 
std::string retdec::fileformat::getFileFormatNameFromEnum (Format format)
 
std::vector< std::string > retdec::fileformat::getSupportedFileFormats ()
 
std::vector< std::string > retdec::fileformat::getSupportedArchitectures ()
 
std::string retdec::fileformat::lcidToStr (std::size_t lcid)
 
std::string retdec::fileformat::codePageToStr (std::size_t cpage)
 
double retdec::fileformat::computeDataEntropy (const std::uint8_t *data, std::size_t dataLen)
 

Detailed Description

Simple utilities.