Observed since 20 Oct, 19:23 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
address-to-line
Convert addresses to source file and line number
address_to_lineTranslate return addresses into source locations using the readelf and addr2line utilities from the GNU Binutils package.
This package depends on the readelf and addr2line utilities from the GNU Binutils package.
Converting return addresses captured from within some process requires a copy of that process' /proc/[pid]/maps file.
python3 -m address_to_line <proc_map_file> <addresses>
where proc_map_file is a copy of a process' /proc/[pid]/maps file and addresses is a text file containing 1 (hexaecimal) return address per line.
from address_to_line import resolve_source_locations
proc_map_file = "memory_map.txt" # The relevant /proc/[pid]/maps file
addresses_file = "addresses.txt" # Contains 1 (hexadecimal) return address per line
with open(addresses_file, "r") as f:
addresses = [int(line, base=16) for line in f.readlines()]
# A list of named tuples of address, function, source file and line
source_locations = resolve_source_locations("memory_map.txt", addresses)
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
bdist_wheel · 7.72 KB · Python py3
sdist · 5.36 KB · Python source
Observed since 20 Oct, 19:23 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:eeb89f80fe126148da653dab438b47ce49d8ed163f846e2f71ca254df0272127