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

Function ParseFile

pkg/pe/parser.go:155–157  ·  view source on GitHub ↗

ParseFile parses the PE given the file system path and parser options.

(path string, opts ...Option)

Source from the content-addressed store, hash-verified

153
154// ParseFile parses the PE given the file system path and parser options.
155func ParseFile(path string, opts ...Option) (*PE, error) {
156 return parse(path, nil, opts...)
157}
158
159// ParseFileWithConfig parses the PE given the file system path and the config
160// which is usually read from the YAML file. Config flags are converted to parser

Callers 9

GetMethod · 0.92
symbolizer.goFile · 0.92
GetFileInfoFunction · 0.92
CheckMethod · 0.92
TestIsHeaderModifiedFunction · 0.85
TestParseFileFunction · 0.85
TestIsDotnetFunction · 0.85
TestIsDriverFunction · 0.85
ParseFileWithConfigFunction · 0.85

Calls 1

parseFunction · 0.85

Tested by 4

TestIsHeaderModifiedFunction · 0.68
TestParseFileFunction · 0.68
TestIsDotnetFunction · 0.68
TestIsDriverFunction · 0.68