syzkaller: github.com/google/syzkaller/sys/linux Index | Files | Directories

package linux

import "github.com/google/syzkaller/sys/linux"

Index

Package Files

init.go init_alg.go init_iptables.go init_vusb.go init_vusb_ids.go

Constants

const (
    ALG_CIPHER = iota
    ALG_SKCIPHER
    ALG_AEAD
    ALG_HASH
    ALG_RNG
)
const (
    USB_DEVICE_ID_MATCH_VENDOR = 1 << iota
    USB_DEVICE_ID_MATCH_PRODUCT
    USB_DEVICE_ID_MATCH_DEV_LO
    USB_DEVICE_ID_MATCH_DEV_HI
    USB_DEVICE_ID_MATCH_DEV_CLASS
    USB_DEVICE_ID_MATCH_DEV_SUBCLASS
    USB_DEVICE_ID_MATCH_DEV_PROTOCOL
    USB_DEVICE_ID_MATCH_INT_CLASS
    USB_DEVICE_ID_MATCH_INT_SUBCLASS
    USB_DEVICE_ID_MATCH_INT_PROTOCOL
    USB_DEVICE_ID_MATCH_INT_NUMBER

    BytesPerUsbID = 17
    BytesPerHidID = 12
)

Variables

var (
    // This should not be here, but for now we expose this for syz-fuzzer.
    KCOV_INIT_TRACE    uintptr
    KCOV_ENABLE        uintptr
    KCOV_REMOTE_ENABLE uintptr
    KCOV_DISABLE       uintptr
    KCOV_TRACE_PC      uintptr
    KCOV_TRACE_CMP     uintptr
)

func InitTarget Uses

func InitTarget(target *prog.Target)

type HidDeviceID Uses

type HidDeviceID struct {
    Bus     uint16
    Group   uint16
    Vendor  uint32
    Product uint32
}

type UsbDeviceID Uses

type UsbDeviceID struct {
    MatchFlags         uint16
    IDVendor           uint16
    IDProduct          uint16
    BcdDeviceLo        uint16
    BcdDeviceHi        uint16
    BDeviceClass       uint8
    BDeviceSubClass    uint8
    BDeviceProtocol    uint8
    BInterfaceClass    uint8
    BInterfaceSubClass uint8
    BInterfaceProtocol uint8
    BInterfaceNumber   uint8
}

Directories

PathSynopsis
genAUTOGENERATED FILE This file is needed if OS is completely excluded by build tags.

Package linux imports 8 packages (graph) and is imported by 4 packages. Updated 2019-12-11. Refresh now. Tools for package owners.