ifaceprobe

package
v0.0.0-...-0f61b41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package ifaceprobe implements dynamic component of automatic kernel interface extraction. Currently it discovers all /{dev,sys,proc} files, and collects coverage for open/read/write/mmap/ioctl syscalls on these files. Later this allows to build file path <-> file_operations mapping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	Name  string // Full file name, e.g. /dev/null.
	Cover []int  // Combined coverage for operations on the file.
}

type Info

type Info struct {
	Files []FileInfo
	PCs   []PCInfo
}

Info represents information about dynamically extracted information.

func Run

func Run(ctx context.Context, cfg *mgrconfig.Config, features flatrpc.Feature, exec queue.Executor) (*Info, error)

Run does dynamic analysis and returns dynamic info. As it runs it will submit some test program requests to the exec queue.

type PCInfo

type PCInfo struct {
	Func string
	File string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL