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

Function TestIsDotnet

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

Source from the content-addressed store, hash-verified

91}
92
93func TestIsDotnet(t *testing.T) {
94 pe, err := ParseFile("./_fixtures/mscorlib.dll", WithCLR())
95 require.NoError(t, err)
96 require.True(t, pe.IsDotnet)
97}
98
99func TestIsDriver(t *testing.T) {
100 pe, err := ParseFile("./_fixtures/054299e09cea38df2b84e6b29348b418.bin", WithSections(), WithSymbols())

Callers

nothing calls this directly

Calls 2

ParseFileFunction · 0.85
WithCLRFunction · 0.85

Tested by

no test coverage detected