Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AllLibraries = regexp.MustCompile(`\.so($|\.)`)
AllLibraries represents a filter that matches all shared libraries
Functions ¶
This section is empty.
Types ¶
type Library ¶
type Library struct { PidsPath []string // list of host pid path like /proc/<pid> per libraryKey HostPath string // path of the library seen by the host // contains filtered or unexported fields }
Library define a dynamic library
func Find ¶
Find returns the host-resolved paths of all shared libraries (per mount namespace) matching the given filter It does so by iterating over all /proc/<PID>/maps and /proc/<PID>/mountinfo files in the host If filter is nil, all entries from /proc/<PID>/maps with a pathname are reported
func FindProc ¶
Find returns the host-resolved paths of all shared libraries (per mount namespace) matching the given filter It does so by iterating over all /procPath/<PID>/maps and /procPath/<PID>/mountinfo files in the host If filter is nil, all entries from /procPath/<PID>/maps with a pathname are reported