Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/proc/internal/ebpf: Fix uprobe address (go-delve#3894)
The update of gilium/ebpf introduced a beaking change in it's API: The `offset` in the UprobeOptions is now relative to the added option `address`. Since `address` was only default initalized, the library did not use `address` and `offset` as address for the uprobe, but tried to calculate the offset itself based on the given symbol. Since we set the path of the executable as symbol, the library errored when trying to resolve it. Fixes go-delve#3491
- Loading branch information