Skip to content

Remove automatic -fsanitize=safe-stack from CMake hardening - #78

Merged
snape merged 1 commit into
mainfrom
dev/cmake-safe-stack
Nov 28, 2026
Merged

snape merged 1 commit into
mainfrom
dev/cmake-safe-stack

Conversation

@snape

@snape snape commented Nov 28, 2026

Copy link
Copy Markdown
Owner
  • Remove automatic -fsanitize=safe-stack from ENABLE_HARDENING in CMakeLists.txt
  • Clang SafeStack is unsupported for shared libraries (BUILD_SHARED_LIBS=ON with -Wl,-z,defs) and static builds do not export -fsanitize=safe-stack to downstream consumers via AVO.pc or AVOTargets.cmake

Signed-off-by: Jamie Snape <snape@me.com>
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Next included review available in 11 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 62 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: d8434595-8720-4fab-9de3-5001e54ea71d
Commits

Reviewing files that changed from the base of the PR and between 76d0277 and f1b2deb.

Files selected for processing: 1

  • CMakeLists.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@snape
snape merged commit 63ba02b into main Nov 28, 2026
26 checks passed
@snape
snape deleted the dev/cmake-safe-stack branch November 28, 2026 03:48
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