addrs2lines
is a utility command-line program
in support of the memorizer project
at Information Trust Institute at University of Illinois.
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
This project is licensed under the MIT license See LICENSE for details.
Portions of this code were inspired by, adapted from, or copied from Github Copilot suggestions.
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.
Rob Adams ([email protected])
Copyright 2023 Board of Trustees of the University of Illinois