-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add sanitizers to CI builds #5996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pratikmankawde
wants to merge
139
commits into
develop
Choose a base branch
from
pratik/Add-sanitizers-to-CI-builds
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+820
−33
Open
Changes from all commits
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
c38b5aa
Added flow for the sanitizers build
pratikmankawde 7ae3a85
formatting correction
pratikmankawde e95299d
code review changes
pratikmankawde 977a087
code review changes
pratikmankawde 21b9f6d
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 3b32210
formatting changes
pratikmankawde db74ceb
added build with sanitizers ins.
pratikmankawde 83eb93f
added back type
pratikmankawde 0be98ac
made sanitizers optional
pratikmankawde ff0284e
removed sanitizers from script
pratikmankawde ada5230
passing sanitizers to on-pr and on-trigger
pratikmankawde b150fea
fixes sanitizer arg not available in build-test
pratikmankawde 10a422d
seperate clang and gcc
pratikmankawde 48a3e5e
special case only for gcc
pratikmankawde 1cdd0bf
end of line
pratikmankawde e7da05e
added setting EOF-ExtraLine in clang-format
pratikmankawde 30f7ef7
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 0b1bd42
Add sanitizers to CI builds
pratikmankawde c15d639
minor revert in clang-format
pratikmankawde c0ecb9a
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 34b10b8
merged develop
pratikmankawde 1eb3cc4
fixed pre-commit check
pratikmankawde d077141
name to small case
pratikmankawde cb5a765
tryring escaped " in config file
pratikmankawde abfaac5
trying direct input placement
pratikmankawde 7121267
don't build deps with sanitizers
pratikmankawde f5b473c
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 4a0fc0f
formatting changes
pratikmankawde 1f88697
trying suppression files
pratikmankawde 39adc5a
fixes forgcc compilation errors.
pratikmankawde 832c32d
formatting changes
pratikmankawde 0029210
minor fix
pratikmankawde 6b8d5b5
updated suppression file paths
pratikmankawde e347da9
added mcmodel flags for linker
pratikmankawde db5aa2d
added no-var-tracking
pratikmankawde e156ed4
minor formatting
pratikmankawde 2178fb9
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde ebf917a
no-var-tracking is gcc specific
pratikmankawde 18b65fd
linked model flags specific to amd64
pratikmankawde 72b3a03
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 5478e4f
move working_dir up
pratikmankawde 28885a4
path revert
pratikmankawde 124b6ca
using GITHUB_WORKSPACE now
pratikmankawde 9b92aaf
fixed path to atsan
pratikmankawde 937dc87
another combi
pratikmankawde d9c26bd
another comb.
pratikmankawde f236554
added variable in an early action
pratikmankawde 14f605b
minor
pratikmankawde 2bc089a
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 9abec17
commenting out windows and mac for now.
pratikmankawde a011d29
trying again with minor change
pratikmankawde 5ef2ced
testing by printing asan_options
pratikmankawde 20326a7
putting commented code back
pratikmankawde a9444d3
try 2
pratikmankawde 5ea3b43
try 3
pratikmankawde 695f4a2
try 4
pratikmankawde fd71277
try 5
pratikmankawde 509d388
try 6
pratikmankawde b182b6a
try 6
pratikmankawde e687ab8
try 7
pratikmankawde 916f000
try 8
pratikmankawde 7d05090
setting variables in run
pratikmankawde 2e5afa7
updated asan suppressions file
pratikmankawde 6355eba
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde dcd0553
sanitizer builds only for gcc15 and clang20. no linking check for san…
pratikmankawde ea4d062
added ubsan file
pratikmankawde 1d76de8
minor correction
pratikmankawde b650852
static liking for gcc
pratikmankawde 9b793cd
linker flag correction
pratikmankawde 5e89bce
use mcmodel=large
pratikmankawde 5f2a351
reverted mcmodel to medium
pratikmankawde 1cc00cd
trying with " and dyn linking
pratikmankawde a93052e
added -fPIC flag
pratikmankawde 09a6e46
pass sanitizer flags to linker as well
pratikmankawde 2e53c5a
changed linker for gcc
pratikmankawde baee65b
fixing minor spacing issue
pratikmankawde b38ef53
trying lld.
pratikmankawde 7edba0a
trying with mcmodel=large
pratikmankawde 4248a1f
only set mcmodel=large for gcc
pratikmankawde 8d6d2ec
trying with bfd
pratikmankawde 4cf4802
for tsan only use medium
pratikmankawde 73ab466
use gold+large
pratikmankawde f1561c5
use lld
pratikmankawde 58b248d
pass lld flag to cmake
pratikmankawde e1403d5
skip mold, gold, lld
pratikmankawde 013ff18
cleanup
pratikmankawde c0da028
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde aac1076
minor cleanup
pratikmankawde 89f9ede
cleanup
pratikmankawde 8d8a0cb
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 67946f4
more cleanup
pratikmankawde 4277717
added afew suppressors
pratikmankawde 6a89a54
tsan race suppression
pratikmankawde 18b9b9d
updated supp files
pratikmankawde a9d134a
more chnages
pratikmankawde 9f02692
adding asio to tsan.supp
pratikmankawde 6610f46
trying diff. asan supp options
pratikmankawde 8006a1e
removed leak type
pratikmankawde 5a90149
trying without begin-regex
pratikmankawde 4fc5c00
added lsan and updated tsan
pratikmankawde d8ff72b
updated asan and lsan
pratikmankawde 2428c5c
added more suppressions
pratikmankawde e2c75f5
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde d8c8900
updated supp files
pratikmankawde 216ecf6
updated tsan and ubsan
pratikmankawde d01b1da
cleaned up linker flags
pratikmankawde a58df41
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde 7d7c659
target clang-21
pratikmankawde 3b1e82b
revert back to clang-20
pratikmankawde 9267756
fixed generate.py file " issue
pratikmankawde 42cab6c
updated ubsan file
pratikmankawde 640f9ff
Added more files to ubsan.supp
pratikmankawde 4c0f7a3
few more additions
pratikmankawde 0fcfcd0
more aggressive suppresions
pratikmankawde dd0408a
added blacklist file
pratikmankawde 92a6c98
try blacklist file
pratikmankawde a3e42a0
alternate approach
pratikmankawde b6c313b
only use ignorelist in gcc
pratikmankawde 2610e65
only for clang
pratikmankawde cb982e7
added pie flag and signal suppressions
pratikmankawde 087e52e
suppress crashes in tsan intrumentation code
pratikmankawde 10553fc
added few more suppressions in tsan.supp
pratikmankawde 4f496db
few more additions
pratikmankawde 5befd5d
added tsan option second_deadlock_stack=1 and more tsan supps
pratikmankawde d026d06
build conan deps with sanitizers to fix tsan crashes
pratikmankawde 810f5e9
statically link sanitizers
pratikmankawde 7d3fc5c
added static linking flags
pratikmankawde 702d941
minor correction
pratikmankawde 6407788
added halt on error=0 and -fno-pie
pratikmankawde 1a08b97
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde d4b0339
removed static linking.
pratikmankawde 4430cb6
trying a diff. sanitizer-blacklist syntax
pratikmankawde 39ace64
updated blacklist file
pratikmankawde 6e32392
added no-PIC
pratikmankawde 32d129e
Merge branch 'develop' into pratik/Add-sanitizers-to-CI-builds
pratikmankawde facb6c6
cleanup and additions to asan, ubsan suppressions
pratikmankawde dd9e554
added readme.
pratikmankawde 49f8daf
updated link
pratikmankawde 9cdabe9
link to sanitizer_readme.md
pratikmankawde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.