Open
Description
As we use some C library wrappers and Golang can't prove the lifetime of objects at compile-time, it's possible that parca-agent
is not memory safe.
It's very important that we have as many safeguards as possible as we run in privileged mode which we need to interact with the BPF subsystem.
Let's add memory sanitisers to parca-agent
!
- We can first start with dev builds with ASAN (will take a look at this)
- Adding it in CI (for example integration tests) next
cc @Sylfrena