a.out binary loader.
More...
#include <FileLoader_aout.h>
a.out binary loader.
TODO: Longer comment.
Definition at line 43 of file FileLoader_aout.h.
◆ FileLoader_aout()
FileLoader_aout::FileLoader_aout |
( |
const string & |
filename | ) |
|
◆ ~FileLoader_aout()
FileLoader_aout::~FileLoader_aout |
( |
| ) |
|
|
inline |
◆ DetectFileType()
string FileLoader_aout::DetectFileType |
( |
unsigned char * |
buf, |
|
|
size_t |
buflen, |
|
|
float & |
matchness |
|
) |
| const |
|
virtual |
Attempt to detect file type.
- Parameters
-
buf | A buffer containing the header of the file. |
buflen | The length of the buffer. |
matchness | Set to a value between 0.0 and 1.0, indicating the match certainty. |
- Returns
- A file type description, if there was a match; otherwise an empty string.
Implements FileLoaderImpl.
Definition at line 56 of file FileLoader_aout.cc.
Referenced by LoadIntoComponent().
◆ LoadIntoComponent()
bool FileLoader_aout::LoadIntoComponent |
( |
refcount_ptr< Component > |
component, |
|
|
ostream & |
messages |
|
) |
| const |
|
virtual |
◆ RunUnitTests()
static void FileLoader_aout::RunUnitTests |
( |
int & |
nSucceeded, |
|
|
int & |
nFailures |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: