1 #ifndef FILELOADER_ELF_H 2 #define FILELOADER_ELF_H 54 string DetectFileType(
unsigned char *buf,
size_t buflen,
float& matchness)
const;
61 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
65 #endif // FILELOADER_ELF_H bool LoadIntoComponent(refcount_ptr< Component > component, ostream &messages) const
Loads the file into a Component.
static void RunUnitTests(int &nSucceeded, int &nFailures)
string DetectFileType(unsigned char *buf, size_t buflen, float &matchness) const
Attempt to detect file type.
FileLoader_ELF(const string &filename)
Base class for unit testable classes.