retdec
|
#include <fileimage.h>
Static Public Member Functions | |
static FileImage * | addFileImage (llvm::Module *m, const std::string &path, Config *config) |
static FileImage * | addFileImage (llvm::Module *m, const std::shared_ptr< retdec::fileformat::FileFormat > &ff, Config *config) |
static FileImage * | getFileImage (llvm::Module *m) |
static bool | getFileImage (llvm::Module *m, FileImage *&img) |
static void | clear () |
Static Private Member Functions | |
static FileImage * | addFileImage (llvm::Module *m, FileImage img) |
Static Private Attributes | |
static std::map< llvm::Module *, FileImage > | _module2image |
Mapping of modules to file images associated with them. More... | |
Completely static object – all members and methods are static -> it can be used by anywhere in bin2llvmirl. It provides mapping of modules to file images associated with them.
|
static |
Create and add to provider a file image ff for the given module m and architecture a.
nullptr
if something went wrong and it was not successfully created.
|
static |
Create and add to provider a file image created from file at path for the given module m and architecture a.
nullptr
if something went wrong and it was not successfully created.
|
staticprivate |
|
static |
Clear all stored data.
|
static |
nullptr
if there is no associated file image.
|
static |
Get file image objf associated with the module m.
[in] | m | Module for which to get file image. |
[out] | objf | Set to file image associated with m module, or nullptr if there is no associated file image. |
True
if file image objf was set ok and can be used. False
otherwise.
|
staticprivate |
Mapping of modules to file images associated with them.