Skip to content

Simple script to find kernel objects of a certain size in the Linux kernel

Notifications You must be signed in to change notification settings

chompie1337/kernel_obj_finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

kernel_obj_finder

Simple script to find objects of a certain size in the Linux kernel

Requirements

Needs pahole v1.22 and above.

Usage

./obj_finder.sh /path/to/vmlimux size1 size2

where size1 and size2 represent the bounds for the range of sizes in bytes to search for (in decimal)

Outputs obj_list.txt which lists all the structures matching the size, and obj_defs.txt which contains their full definitions.

Plan to improve this in the future and and add a search for function pointers, etc.

About

Simple script to find kernel objects of a certain size in the Linux kernel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages