bb78a1c165
elf: only resolve addresses in none/user address context
...
This ensures that we only try to resolve addresses for ELFs when we know
we're inside of the userspace address context.
2018-01-28 22:14:32 -08:00
aa0506e26f
symbol-resolver: check for kernel address context
...
We only want to resolve a symbol if we're inside the kernel context.
Otherwise, it wont be accurate.
2018-01-28 22:13:49 -08:00
df07f6d915
resolver: extend interface to include address context
...
We might need access to the address context when resolving symbols so that
we know if the address range applies to us.
2018-01-28 22:12:27 -08:00
128aa18a00
lib: query /proc/kallsyms and/or daemon for symbols
...
If we have a system where we can read kallsyms without elevated
privilledges do that. Otherwise, query the sysprod daemon to get the
available kernel symbols.
2018-01-28 21:34:44 -08:00
cf756c65aa
kernel-symbol-resolver: code style cleanup
2018-01-28 21:26:47 -08:00
0e8b51c6ab
kernel: only try to load kernel symbol map once
...
If we fail, log a message to the console and bail. This seems to happen
with recent kernel changes.
2018-01-27 01:10:00 -08:00
00b6892a72
build: fix header installation paths
2017-09-28 17:45:07 -07:00
190faa818d
build: use subdir meson.build files
...
This keeps the build file closer to the sources it effects.
2017-09-28 16:57:00 -07:00
c47822b26e
source tree cleanup
...
The lib/ directory was getting a bit out of hand, so this tries
to organize things a bit so it is easier going forward to locate
the code people want to patch.
2017-09-28 16:23:03 -07:00