Skip to content
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

i#7384: Add support for 6 additional Valgrind annotations #7385

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Mar 20, 2025

Adds core DR support for recognizing and calling a client-register handler for these 6 annotations which will be useful in Dr. Memory:

  • VALGRIND_MAKE_MEM_UNDEFINED
  • VALGRIND_MAKE_MEM_DEFINED
  • VALGRIND_CHECK_MEM_IS_DEFINED
  • VALGRIND_CHECK_MEM_IS_ADDRESSABLE
  • VALGRIND_MALLOCLIKE_BLOCK
  • VALGRIND_FREELIKE_BLOCK

Adds identification of these to the vg-annot test.

Fixes #7384

Adds core DR support for recognizing and calling a client-register
handler for these 6 annotations which will be useful in Dr. Memory:
+ VALGRIND_MAKE_MEM_UNDEFINED
+ VALGRIND_MAKE_MEM_DEFINED
+ VALGRIND_CHECK_MEM_IS_DEFINED
+ VALGRIND_CHECK_MEM_IS_ADDRESSABLE
+ VALGRIND_MALLOCLIKE_BLOCK
+ VALGRIND_FREELIKE_BLOCK

Fixes #7384
@derekbruening derekbruening merged commit 8ec1ccf into master Mar 20, 2025
24 checks passed
@derekbruening derekbruening deleted the i7384-valgrind-annotations branch March 20, 2025 17:18
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.

Add support for additional Valgrind annotations
2 participants