Skip to content

illinoisrobert/addrs2lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

addrs2lines

addrs2lines is a utility command-line program in support of the memorizer project at Information Trust Institute at University of Illinois.

Usage

Assuming you have finished a memorizer run and have collected:

  • vmlinux
  • /proc/modules
  • cp $(find /lib/modules/${uname -r} -name '*.ko' -print) .
  • kmap, allocs, accesses, any or all of them.

Then a typical usage might look like this:

addrs2lines -e vmlinux -m modules -d . < kmap > kmap.out

License

This project is licensed under the MIT license See LICENSE for details.

Use of AI

Portions of this code were inspired by, adapted from, or copied from Github Copilot suggestions.

TODO

Faster. Maybe by making multiple copies of addr2line run in parallel.

Add tests. Currently kernel addresses are ad-hoc tested, but module addresses are untested.

Authors

Rob Adams ([email protected])

Copyright 2023 Board of Trustees of the University of Illinois

About

Utility program to support memorizer data analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages