#include "config.h"
#include "EDocBFD/bfd_utils.h"
#include "EDocBFD/Section.h"
#include "EDocBFD/BFDArchive.h"
#include "EDoc/utils.h"
#include "EDocBFD/exceptions.h"
#include "EDoc/persistence_data.h"
Go to the source code of this file.
Namespaces | |
namespace | EDocBFD |
Functions | |
void | EDocBFD::ProcessReadBFD (std::list< EDoc::ManagedFile > &input_files, struct bfd *abfd, const EDoc::ManagedFile &filename) |
Reads the contens of a binary file and extracts all relevant EDoc information from them if there is any. | |
void | EDocBFD::InitialiseBFD () |
Must be called before using any bfd related functions. | |
bfd * | EDocBFD::OpenBFDFile (std::string filename) |
Opens the given file using bfd. | |
std::list< EDoc::ManagedFile > | EDocBFD::HandleEDocSection (bfd *abfd, asection *asect, const EDoc::ManagedFile &arch) |
Returns a list of temporary files that have been populated with the contents of an EDoc section. | |
void | EDocBFD::EmbedFileInBinary (const std::string &file_to_embed, const std::string embedded_name, const std::string &binary_file, std::string section) |
Embeds the contents of the given file into the given section of a binary file. | |
Variables | |
bool | EDocBFD::bfd_initialised = false |