-
Notifications
You must be signed in to change notification settings - Fork 576
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
Add support for additional Valgrind annotations #7384
Labels
Comments
derekbruening
added a commit
that referenced
this issue
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 Fixes #7384
derekbruening
added a commit
that referenced
this issue
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
derekbruening
added a commit
to DynamoRIO/drmemory
that referenced
this issue
Mar 20, 2025
Updates DR to 8ec1ccf16 to pull in DynamoRIO/dynamorio#7384 adding support for 6 additional Valgrind annotations we will need for custom allocator support. Issue: #107
derekbruening
added a commit
to DynamoRIO/drmemory
that referenced
this issue
Mar 20, 2025
Updates DR to 8ec1ccf16 to pull in DynamoRIO/dynamorio#7384 adding support for 6 additional Valgrind annotations we will need for custom allocator support. Issue: #107
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For DynamoRIO/drmemory#107, Dr. Memory wants to recognize Valgrind annotations for marking custom allocators.
I'm thinking that these would be desirable:
And these would make it easier to write tests:
Core DR just needs to recognize these and call a DR handler.
The text was updated successfully, but these errors were encountered: