Multi diag tools
All Classes Namespaces Functions Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
Mdt::DeployUtils::ObjdumpWrapper Class Reference

Wrapps a objdump executable. More...

#include <ObjdumpWrapper.h>

+ Inheritance diagram for Mdt::DeployUtils::ObjdumpWrapper:
+ Collaboration diagram for Mdt::DeployUtils::ObjdumpWrapper:

Public Member Functions

 ObjdumpWrapper (QObject *parent=nullptr)
 Constructor.
 
bool execFindDependencies (const QString &binaryFilePath)
 Execute the command to find dependencies. More...
 
bool execReadFormat (const QString &binaryFilePath)
 Execute the command to read format. More...
 
QString findObjdump ()
 Find objdump executable. More...
 
- Public Member Functions inherited from Mdt::DeployUtils::ToolExecutableWrapper
 ToolExecutableWrapper (QObject *parent=nullptr)
 Constructor.
 
QString readAllStandardOutputString ()
 Returns all data available from standard output of the channel as string.
 
QString readAllStandardErrorString ()
 Returns all data available from standard error of the channel as string.
 
Mdt::Error lastError () const
 Get last error.
 

Additional Inherited Members

- Protected Member Functions inherited from Mdt::DeployUtils::ToolExecutableWrapper
bool exec (const QString &exeName, const QStringList &arguments)
 Execute a command.
 
QProcess::ProcessError lastProcessError () const
 Returns last error from process.
 
QStringList processArguments () const
 Get process arguments.
 
void setLastError (const Mdt::Error &error)
 Set last error.
 

Detailed Description

Wrapps a objdump executable.

Definition at line 33 of file ObjdumpWrapper.h.

Member Function Documentation

bool Mdt::DeployUtils::ObjdumpWrapper::execFindDependencies ( const QString &  binaryFilePath)

Execute the command to find dependencies.

Parameters
binaryFilePathPath to a executable or a library

Definition at line 36 of file ObjdumpWrapper.cpp.

bool Mdt::DeployUtils::ObjdumpWrapper::execReadFormat ( const QString &  binaryFilePath)

Execute the command to read format.

Parameters
binaryFilePathPath to a executable or a library

Definition at line 41 of file ObjdumpWrapper.cpp.

QString Mdt::DeployUtils::ObjdumpWrapper::findObjdump ( )

Find objdump executable.

Note
This method is called automatically by find*() methods.

Definition at line 46 of file ObjdumpWrapper.cpp.


The documentation for this class was generated from the following files: