|
Multi diag tools
|
Read the format of a executable or a library. More...
#include <BinaryFormat.h>
Inherits QObject.
Public Member Functions | |
| BinaryFormat (QObject *parent=nullptr) | |
| Constructor. | |
| bool | readFormat (const QString &binaryFilePath) |
| Read the format of a executable or a library. | |
| OperatingSystem | operatingSystem () const |
| Get operating system. More... | |
| Processor | processor () const |
| Get processor. More... | |
| Mdt::Error | lastError () const |
| Get last error. | |
Static Public Member Functions | |
| static bool | isFileAnExecutableByExtension (const QFileInfo &fileInfo) |
| Check if a file is a executable. | |
Read the format of a executable or a library.
Definition at line 37 of file BinaryFormat.h.
|
inline |
Get operating system.
Return only a valid value after readFormat() succeded
Definition at line 55 of file BinaryFormat.h.
|
inline |
Get processor.
Return only a valid value after readFormat() succeded
Definition at line 64 of file BinaryFormat.h.
1.8.11