Skip to content

Commit

Permalink
Updated offsets tracker to version 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac committed Apr 12, 2023
1 parent c3e4cf1 commit c1429ac
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ prereqs:
@echo "### Check if prerequisites are met, and installing missing dependencies"
$(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/[email protected])
$(call go-install-tool,$(BPF2GO),github.com/cilium/ebpf/cmd/[email protected])
$(call go-install-tool,$(GO_OFFSETS_TRACKER),github.com/grafana/go-offsets-tracker/cmd/[email protected].2)
$(call go-install-tool,$(GO_OFFSETS_TRACKER),github.com/grafana/go-offsets-tracker/cmd/[email protected].3)

.PHONY: lint
lint: prereqs
Expand Down
7 changes: 5 additions & 2 deletions configs/offsets/tracker_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@
}
},
"google.golang.org/genproto": {
"versions": ">= 0.0",
"branch": "main",
"packages": [
"google.golang.org/genproto/googleapis/rpc/status"
],
"fields": {
"google.golang.org/genproto/googleapis/rpc/status.Status": [
"Code"
]
}
}
}
}
40 changes: 27 additions & 13 deletions pkg/goexec/offsets.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
{
"data": {
"google.golang.org/genproto/googleapis/rpc/status.Status": {
"Code": {
"versions": {
"oldest": "0.0.0",
"newest": "0.0.0"
},
"offsets": [
{
"offset": 40,
"since": "0.0.0"
}
]
}
},
"google.golang.org/grpc/internal/status.Status": {
"s": {
"versions": {
Expand All @@ -9,7 +23,7 @@
"offsets": [
{
"offset": 0,
"since": "v1.40.0"
"since": "1.40.0"
}
]
}
Expand All @@ -23,7 +37,7 @@
"offsets": [
{
"offset": 80,
"since": "v1.40.0"
"since": "1.40.0"
}
]
},
Expand All @@ -35,7 +49,7 @@
"offsets": [
{
"offset": 8,
"since": "v1.40.0"
"since": "1.40.0"
}
]
}
Expand All @@ -49,7 +63,7 @@
"offsets": [
{
"offset": 88,
"since": "v1.40.0"
"since": "1.40.0"
}
]
},
Expand All @@ -61,7 +75,7 @@
"offsets": [
{
"offset": 72,
"since": "v1.40.0"
"since": "1.40.0"
}
]
}
Expand All @@ -75,7 +89,7 @@
"offsets": [
{
"offset": 0,
"since": "1.17"
"since": "1.17.0"
}
]
},
Expand All @@ -87,7 +101,7 @@
"offsets": [
{
"offset": 24,
"since": "1.17"
"since": "1.17.0"
}
]
}
Expand All @@ -101,7 +115,7 @@
"offsets": [
{
"offset": 128,
"since": "1.17"
"since": "1.17.0"
}
]
},
Expand All @@ -113,7 +127,7 @@
"offsets": [
{
"offset": 0,
"since": "1.17"
"since": "1.17.0"
}
]
},
Expand All @@ -125,7 +139,7 @@
"offsets": [
{
"offset": 176,
"since": "1.17"
"since": "1.17.0"
}
]
},
Expand All @@ -137,7 +151,7 @@
"offsets": [
{
"offset": 16,
"since": "1.17"
"since": "1.17.0"
}
]
}
Expand All @@ -151,7 +165,7 @@
"offsets": [
{
"offset": 120,
"since": "1.17"
"since": "1.17.0"
}
]
}
Expand All @@ -165,7 +179,7 @@
"offsets": [
{
"offset": 56,
"since": "1.17"
"since": "1.17.0"
}
]
}
Expand Down

0 comments on commit c1429ac

Please sign in to comment.