Benign go Download

github.com/ILogtail/jfr-parser v0.5.1

Go module source archive layoutFetched github.com repository artifact
SHA-256577a9cf52642551a3ff21ee74c0aecac81531b2d1e8b80f996061b2831535de0

Evidence

Go calls a Seek method chunk.go · lines 66–73
66:12… int64(0)
67 events := make(map[int64]int32)
68
69 // Parse metadata
70 br.Seek(c.Header.MetadataOffset, io.SeekStart)
71 metadataSize, err := rd.VarInt()
72 if err != nil {
73 return fmt.Errorf("unable to parse …
Go test function name parser_test.go · lines 1–15
⋯9 lines
10)
11
12func TestParse(t *testing.T) {
13 jfr, err := readGzipFile("./testdata/example.jfr.gz")
14 if err != nil {
15 t.Fatalf("Unable t …
testing.B type parser_test.go · lines 28–39
28:33… %s", err)
29 return
30 }
31}
32
33func BenchmarkParse(b *testing.B) {
34 jfr, err := readGzipFile("./testdata/example.jfr.gz")
35 if err != nil {
36 b.Fatalf("Unable to read JFR file: %s", err)
37 }
38 for i := 0; i < b.N; i++ {
39 _, err := Parse(bytes.NewReader(jfr))
Go gzip.NewReader decompression parser_test.go · lines 46–58
⋯4 lines
50 }
51 defer f.Close()
52 r, err := gzip.NewReader(f)
53 if err != nil {
54 return nil, err
⋯4 lines
English function-word token "the" LICENSE · lines 1–16
1
2 Apache License
3 Version 2.0, January 2004
4 http://www.apache.org/licenses/
5
6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
8 1. Definitions.
9
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
12
13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
15
16 "Legal Entity" shall mean the union of the acting entity and al …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.