mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-11-07 06:33:38 +01:00
Use /proc/kallsyms to get symbols, if available
This commit is contained in:
parent
70323a30da
commit
f4140a992a
@ -186,7 +186,11 @@ if [ "$opt_live" = 1 ]; then
|
||||
[ -e /boot/kernel-genkernel-$(uname -m)-$(uname -r) ] && opt_kernel=/boot/kernel-genkernel-$(uname -m)-$(uname -r)
|
||||
|
||||
# system.map
|
||||
[ -e /boot/System.map-$(uname -r) ] && opt_map=/boot/System.map-$(uname -r)
|
||||
if [ -e /proc/kallsyms ] ; then
|
||||
opt_map="/proc/kallsyms"
|
||||
elif [ -e /boot/System.map-$(uname -r) ] ; then
|
||||
opt_map=/boot/System.map-$(uname -r)
|
||||
fi
|
||||
|
||||
# config
|
||||
if [ -e /proc/config.gz ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user