WithCLR indicates if CLR (Common Language Runtime) header is parsed.
()
| 146 | |
| 147 | // WithCLR indicates if CLR (Common Language Runtime) header is parsed. |
| 148 | func WithCLR() Option { |
| 149 | return func(o *opts) { |
| 150 | o.parseCLR = true |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | // ParseFile parses the PE given the file system path and parser options. |
| 155 | func ParseFile(path string, opts ...Option) (*PE, error) { |
no outgoing calls