(path string)
| 67 | } |
| 68 | |
| 69 | func (o opts) isImageExcluded(path string) bool { |
| 70 | for _, img := range o.excludedImages { |
| 71 | if strings.EqualFold(img, filepath.Base(path)) { |
| 72 | skippedImages.Add(1) |
| 73 | return true |
| 74 | } |
| 75 | } |
| 76 | return false |
| 77 | } |
| 78 | |
| 79 | // Option represents the option type for the PE parser. |
| 80 | type Option func(o *opts) |