-
Notifications
You must be signed in to change notification settings - Fork 349
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
Extend track alloc id to show deallocations #1314
Comments
That's a good idea, I like it. :) |
…fJung added machine hooks to track deallocations This is part of rust-lang/miri#1314 in order to allow miri to show stack traces for on deallocation in order to debug use-after-free bugs
…fJung added machine hooks to track deallocations This is part of rust-lang/miri#1314 in order to allow miri to show stack traces for on deallocation in order to debug use-after-free bugs
…fJung added machine hooks to track deallocations This is part of rust-lang/miri#1314 in order to allow miri to show stack traces for on deallocation in order to debug use-after-free bugs
@KrishnaSannasi your rustc PR landed, do you plan to follow up on this with a Miri PR? Do you need any help with that? |
@RalfJung yes, I will follow up with a miri PR, just was a little busy the last few days, I think I can figure this out, but if I need help I'll be sure to ping you. Thanks for all the help so far! |
Currently
-Zmiri-track-alloc-id=<id>
shows a stack trace of where some memory got allocated, but not where it was deallocated. It would be nice to show where it was deallocated in order to debug use-after-free bugs.The text was updated successfully, but these errors were encountered: