#include <KMtraceCall.hh>
Public Methods | |
KMtraceCall () | |
KMtraceCall (QString address, QString module, int line, QString function, QString offset) | |
QString | getAddress () |
QString | getModule () |
int | getLine () |
QString | getFunction () |
QString | getOffset () |
Private Attributes | |
QString | m_address |
QString | m_module |
int | m_line |
QString | m_function |
QString | m_offset |
This class represends a function/method call in a stack trace. This class is closely related to the class KMtraceLeak as a memory leak consists of a stack trace (class KMtraceCallStack).
|
|
|
|
|
Get the memory address of the function call.
|
|
Get the name of the function being called. This can be the function/method name as used in the source code followed optionally by an offset "+0xXX" (see getOffset ).
|
|
Get the line where the function starts. This is >0 if getModule returns the name of a C/C++ source code file or 0 in case the function is part of library.
|
|
Get the name of the module containing the function. This is normally the name of a C/C++ module (in case the function belongs to code compiled with the gcc -g option). It can also be the name of a library in case of library function, e.g libc.so.6. If you ommit the -g gcc option the name of the module results in the name of the binary being inspected.
|
|
Get the offset into the function. This can happend for inlined code or in code within libraries.
|
|
|
|
|
|
|
|
|
|
|