AddFlags registers persistent flags.
(flags *pflag.FlagSet)
| 54 | |
| 55 | // AddFlags registers persistent flags. |
| 56 | func 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 | } |
no test coverage detected