Skip to content

feat(sanitizers): add asan-ubsan tooling and github action - #2

Open
skyegalaxy wants to merge 4 commits into
mainfrom
skyegalaxy/add-asan-ubsan-sanitizer
Open

feat(sanitizers): add asan-ubsan tooling and github action#2
skyegalaxy wants to merge 4 commits into
mainfrom
skyegalaxy/add-asan-ubsan-sanitizer

Conversation

@skyegalaxy

@skyegalaxy skyegalaxy commented Sep 4, 2026

Copy link
Copy Markdown
Member

Adds AddressSanitizer + UndefinedBehaviorSanitizer support for colcon workspaces, in a more complete and CI-friendly way than the --mixin approach.

  • cmake/sanitizers.cmake: injected via -DCMAKE_PROJECT_INCLUDE, instrumenting every package after each project() call.
    -- Note that message packages are excluded by regex to workaround an issue with rclpy loading instrumented typesupported into an uninstrumented python3.
  • a sanitizer_tool/ stdlib python library which allows for C++ exceptions to cross back over in python
  • asan/action.yml + scripts/sanitize.sh github action, which wraps building and testing packages under the sanitizer preset
  • polymath repo setup (code standard, copyright, gitignore)

Skyler Medeiros and others added 4 commits September 4, 2026 14:17
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
@skyegalaxy skyegalaxy changed the title feat(sanitizers): add asan-ubsan action feat(sanitizers): add asan-ubsan tooling and github action Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant