-
Notifications
You must be signed in to change notification settings - Fork 11
Sanitizers #101
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
Merged
Sanitizers #101
Changes from all commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
2cf8c65
WIP
jbachorik c9de9da
Work in progress to try out sanitizers
r1viollet febacfb
Add suppression options
r1viollet d26011e
Avoid division by 0
r1viollet 7435234
Tsan fix - Linear allocator
r1viollet ea6aa49
stackFrame - minor asan fix
r1viollet 336384d
Tsan spinlock fix
r1viollet 1ed9cd5
Minor tsan fixes for the CPU smoke test
r1viollet 826f860
Allow new build/test configurations
jbachorik f6906b9
Add build comments
jbachorik b63c5de
Minor adjustements in sanitizer flags
r1viollet a44f570
Rework the build configurations
jbachorik 8fa4dd6
Change asan location command
jbachorik 778675a
Remove debug output
jbachorik 845c889
Fix the linux build
jbachorik 8e1fa05
Add a tsan configuration
r1viollet 6d03be8
Minor tsan fix - Ensure we use atomic primitives on the epoch value.
r1viollet 9559071
TSan fix - Call Trace Storage
r1viollet 77ccc3f
TSan: WallClock running flag
r1viollet 384b379
- Add suppressions for java issues
r1viollet 2b90274
Move gtest to gradle
jbachorik 62f0ca3
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
jbachorik 61d9dec
Remove access to non-existent file in CI
jbachorik 9f1da2e
Debug gtests on CI
jbachorik 5b3f463
TMPDIR fallback
jbachorik 2266b46
TMPDIR fallback (1)
jbachorik 6e9ce04
Turn off CI script debug
jbachorik dbd3fdf
Fix codecheck
jbachorik 1a24bfa
TSan fix - Silence alignment issue from checkInterruptedSyscall
r1viollet 368859f
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
r1viollet 45b713f
Gtest task per configuration
jbachorik 6118292
Remove -lz
jbachorik 9056385
More gtest build compatibilty fixes
jbachorik 1c3f4d6
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
r1viollet f9b3e7b
Minor fix on folder used to run the gtest build
r1viollet 8f5769a
Remove minor leak in unit test
r1viollet ea61263
Fix CI build typo
jbachorik 5a19586
Allow excluding tests for sanitized configs
jbachorik bc66484
Add comment about Buffer var-size-array
jbachorik 756b903
Asan minor fixes
r1viollet fe6e0d9
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
r1viollet a786605
Use the cmake defs from the gtest suite
jbachorik 0605196
Do not delegate ddprof-test:test to ddprof-test:testDebug
jbachorik aa1d0f6
Allow gradle up-to-date checks for custom tasks
jbachorik 0f140e8
Remove cmake files
jbachorik f688aa9
Merge remote-tracking branch 'origin/jb/asan' into jb/asan
jbachorik b5af49d
Use common sanitizer suppression files
jbachorik 68f8649
Fix test env setup
jbachorik 26d56b8
fix for com.datadoghq.profiler.wallclock.ContextWallClockTest
r1viollet 525234d
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
r1viollet df24fcf
Merge branch 'refs/heads/main' into jb/asan
jbachorik 715b74e
Try migrating the CI Run workflow to shared tests
jbachorik cba18d5
Track failures in nightly
jbachorik 1109744
WIP
jbachorik f7949f9
Improved CI tests
jbachorik 966f0aa
Migrate gtests to gradle
jbachorik 9944d64
Merge branch 'jb/asan_3' into jb/asan
jbachorik be360f9
Make gtest tasks more flexible
jbachorik c175bf1
Fix the gtest failure for release
jbachorik 6feecfb
Update readme
jbachorik 4273b88
Enable nightly run
jbachorik 83beece
Try to avoid read-only systemIncludes error
jbachorik 62642c5
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
jbachorik e346229
Fix arm64 linux build
jbachorik 029951e
Aarch64 clang workaround
jbachorik 16a8696
Merge remote-tracking branch 'origin/jb/asan' into jb/asan
jbachorik ac782b6
Fix the release jar assembly
jbachorik d89b649
Fix assembly on aarch64
jbachorik 1032728
Explicit sanitizers linker paths
jbachorik 40d7220
Try more systematic system includes
jbachorik 51db011
Skip strip symmbols if 'skip-native' is specified
jbachorik 66ab531
Upgrade Gradle to support JDK 22
jbachorik 54e3447
Update CI definitions
jbachorik eb5d9c3
Fix vmstruct stackwalker asan issue
jbachorik d0ea979
Do not try to resolve heap usage function on JDK 11
jbachorik 2f5c875
Do not attempt to memcpy from a NULL source
jbachorik e9afed6
Remove commented out code
jbachorik 7974902
Fix the test job exclusion for musl
jbachorik ac78bc0
Do not attempt to read JavaThread state from non-JavaThread threads (…
jbachorik 9653303
Remove asan exclusion for VMThread::state()
jbachorik fee54cc
Add sanity check for elfsymbol value offset (#104)
jbachorik 9e6c379
Add a binary for unresolved functions
r1viollet 38159dc
Remove debug output
jbachorik fb5015d
Tsan fixes - Adjust atomic operations
r1viollet b6b31ae
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
r1viollet 98032a2
TSan fixes - Change the enabled flags to atomics
r1viollet 706b40b
Plug the test reources build into gradle scripts (#105)
jbachorik c9cc5b0
Try setting up images with gtest
jbachorik 3a4f7e8
Adjust memory orders for enabled flag
r1viollet b4e02f9
Merge branch 'jb/asan' of github.com:DataDog/java-profiler into jb/asan
r1viollet 33c8c13
Valgrind analysis - silence an UMR
r1viollet be6fbbd
epoch minor atomic adjustement
r1viollet 7192381
Merge branch 'main' of github.com:DataDog/java-profiler into jb/asan
r1viollet 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to leave notifications ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Once we are ready to merge we should uncomment this block