Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPort int = 1500
DefaultPort is the default port for valgrind commentary sent to a socket.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuxInfo ¶
type AuxInfo struct { What string Stack []*StackFrame }
AuxInfo provides additional information regarding the cause of an error. For example, when Valgrind detects a double free the auxillary information will identify where the memory was previously freed.
type ErrorInfo ¶
type ErrorInfo struct { Unique string Kind string What string Stack []*StackFrame Aux []*AuxInfo }
ErrorInfo represents an error detected by Valgrind.
type Listener ¶
type Listener struct {
*net.TCPListener
}
Listener is a TCP network listener for commentary from valgrind.
type Report ¶
Report summarizes the output produced by Valgrind.
func (*Report) MarshalText ¶
type StackFrame ¶
type StackFrame struct { IP string // instruction pointer Object string // name of the shared object or executable Function string // name of the function or symbol corresponding to IP Location string // source location where Function is defined }
StackFrame represents a stack frame as identified (traced) by Valgrind.
Click to show internal directories.
Click to hide internal directories.