-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
gdb: add tool to check heap memory corruption #15726
gdb: add tool to check heap memory corruption #15726
Conversation
Only heap nodes are checked for now. Signed-off-by: xuxingliang <[email protected]>
[Experimental Bot, please feedback here] No, this PR description does not meet the NuttX requirements. Here's why and how to fix it: Missing Information in Summary:
Missing Information in Impact:
Missing Information in Testing:
Example of Improved PR Description:
(gdb) mm check
(gdb) mm check Example with simulated corruption (injected manually for testing):(gdb) mm check
(gdb) mm check # another simulated corruption example
By providing more specific details and actual test results, the PR will be much easier to review and understand. Remember to replace the example logs and details with your actual testing environment and results. Also, make sure to follow the guidelines in the |
Note: Please adhere to Contributing Guidelines.
Summary
Only heap nodes are checked for now.
Usage:
Impact
New feature.
Testing
Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.