Skip to content

Conversation

@Coldwings
Copy link
Collaborator

The compile option PHOTON_BUILD_WITH_ASAN links address sanitizer but never compiled with it.
That makes it totally waisted.

Modify the CMakeLists to add -fsanitizer=address in compiling, and move code blocks associated by asan stack address hooks to the place after struct thread since it needs to use the struct definition.

@Coldwings Coldwings requested a review from lihuiba August 12, 2025 03:37
@lihuiba lihuiba merged commit 014d75c into alibaba:release/0.8 Aug 12, 2025
10 checks passed
photonlibos pushed a commit that referenced this pull request Aug 12, 2025
lihuiba pushed a commit that referenced this pull request Aug 12, 2025
photonlibos added a commit that referenced this pull request Aug 12, 2025
lihuiba pushed a commit that referenced this pull request Aug 12, 2025
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.

2 participants