GammaRay API Documentation  2.7.0
Public Member Functions | Static Public Member Functions | List of all members
GammaRay::ProbeABIDetector Class Reference

Detect the probe ABI required for a given target. A target can be specified as either a process id or a path to an executable to be launched. More...

#include <probeabidetector.h>

Public Member Functions

ProbeABI abiForExecutable (const QString &path) const
 
ProbeABI abiForProcess (qint64 pid) const
 
QString qtCoreForExecutable (const QString &path) const
 
QString qtCoreForProcess (quint64 pid) const
 

Static Public Member Functions

static bool containsQtCore (const QByteArray &line)
 

Detailed Description

Detect the probe ABI required for a given target. A target can be specified as either a process id or a path to an executable to be launched.

Member Function Documentation

ProbeABI GammaRay::ProbeABIDetector::abiForExecutable ( const QString path) const

Detect the ABI of the executable at path.

ProbeABI GammaRay::ProbeABIDetector::abiForProcess ( qint64  pid) const

Detect the ABI of the process running with PID pid.

static bool GammaRay::ProbeABIDetector::containsQtCore ( const QByteArray line)
static

Check if the given line contains a mention of the QtCore library.

QString GammaRay::ProbeABIDetector::qtCoreForExecutable ( const QString path) const

Returns the full path to QtCore used by the given executable.

QString GammaRay::ProbeABIDetector::qtCoreForProcess ( quint64  pid) const

Returns the full path to QtCore used by the process with PID pid.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
https://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
https://www.kdab.com/gammaray/