PointCloudLibrary / PointCloudLibrary/pcl

Compile Tests with Sanitizers

Open
#3,538 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind: todo module: ci
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

Context

Some sanitizers need to be run using instrumented binaries (like UBSan) and creating workloads is difficult (sort of). This will provide additional benefits to any test added by making sure we don't introduce bad behaviors.

Related discussion: #3176 (comment)

Possible Solution

  • CI could address,pointer-subtract,leak,undefined in some job. Might increase runtime and compile time.
  • CI could created instrumented binaries for express purpose of sanity checks. Doesn't sound like it would scale since the workloads will be synthetic, similar to tests

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the related discussion in issue #3176 and reviewing the repository's existing CI jobs. Compare the proposed address, pointer-subtract, leak, and undefined sanitizers, then define a CI approach that compiles and exercises tests with instrumented binaries while keeping runtime practical.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
ci-cd, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.