-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drgn.helpers.common.memory: fix identify_address vmap identification …
…with CONFIG_VMAP_STACK=n In the uncached case, the task variable is supposed to be the task that matched the vm area. But, if we detect that CONFIG_VMAP_STACK is disabled, we break without clearing the task variable. Fix that, and also make sure to test both the cached and uncached cases. Closes #414. Fixes: 69bd07d ("drgn.helpers.common.memory: add optional cache to identify_address()") Reported-by: Sourabh Jain <[email protected]> Signed-off-by: Omar Sandoval <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 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