Skip to content

build: Build with sanitizers #368

Open
@javierhonduco

Description

@javierhonduco

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions