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

Function TestIsDriver

pkg/pe/parser_test.go:99–103  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

97}
98
99func TestIsDriver(t *testing.T) {
100 pe, err := ParseFile("./_fixtures/054299e09cea38df2b84e6b29348b418.bin", WithSections(), WithSymbols())
101 require.NoError(t, err)
102 require.True(t, pe.IsDriver)
103}
104
105func TestParseMem(t *testing.T) {
106 var tests = []struct {

Callers

nothing calls this directly

Calls 3

ParseFileFunction · 0.85
WithSectionsFunction · 0.85
WithSymbolsFunction · 0.85

Tested by

no test coverage detected