forked from crash-utility/crash
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic support for PaX's split module layout
PaX and grsecurity kernels split module memory into dedicated r/x and r/w mappings using '*_rw' and '*_rx' named member variables in 'struct module'. To add basic support for such kernels detect the split layout by testing for the corresponding structure members and use these instead. So far we limit ourself to only track module code mappings for such kernels as adding support for separate data mappings violates lots of invariants in the rest of our code base, thereby would require a major rework. However, with that patch applied, module code references can be resolved in backtraces, memory and code dumps, which makes it already very useful for analyzing such kernels. Signed-off-by: Mathias Krause <[email protected]>
- Loading branch information
1 parent
5753350
commit e781015
Showing
3 changed files
with
103 additions
and
16 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
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