MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / AddFlags

Function AddFlags

pkg/pe/config.go:56–62  ·  view source on GitHub ↗

AddFlags registers persistent flags.

(flags *pflag.FlagSet)

Source from the content-addressed store, hash-verified

54
55// AddFlags registers persistent flags.
56func AddFlags(flags *pflag.FlagSet) {
57 flags.Bool(enabled, false, "Specifies if PE metadata is fetched from the process' image file")
58 flags.Bool(readResources, false, "Determines if resources are read from the PE resource directory")
59 flags.Bool(readSymbols, false, "Indicates if symbols are read from the PE")
60 flags.Bool(readSections, false, "Indicates if full section inspection is allowed")
61 flags.StringSlice(excludedImages, []string{}, "Contains a list of comma-separated images names that are excluded from PE parsing")
62}

Callers 1

NewWithOptsFunction · 0.92

Calls 1

StringSliceMethod · 0.80

Tested by

no test coverage detected