config

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuildSystemCMake string = "cmake"
	BuildSystemOther string = "other"
)

Variables

This section is empty.

Functions

func CreateProjectConfig

func CreateProjectConfig(projectDir string) (string, error)

CreateProjectConfig creates a new project config in the given directory

func DetermineBuildSystem

func DetermineBuildSystem(projectDir string) (string, error)

func FindProjectDir

func FindProjectDir() (string, error)

func ParseProjectConfig

func ParseProjectConfig(opts interface{}) (string, error)

func ValidateBuildSystem

func ValidateBuildSystem(buildSystem string) error

Types

type Config

type Config struct {
	*ProjectConfig
	ProjectDir string
}

func NewConfig

func NewConfig() *Config

type Engine

type Engine string
const (
	LIBFUZZER Engine = "libfuzzer"
)

type FuzzTestType

type FuzzTestType string
const (
	CPP FuzzTestType = "cpp"
)

type ProjectConfig

type ProjectConfig struct {
	LastUpdated string
	BuildSystem string `yaml:"build-system"`
}

func ReadProjectConfig

func ReadProjectConfig(projectDir string) (*ProjectConfig, error)

Jump to

Keyboard shortcuts

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