Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.2 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.2 KB

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