Kernel: Ignore KUBSAN symbols in the kernel symbol map
This commit is contained in:
parent
2845c6753e
commit
294b918e9b
Notes:
sideshowbarker
2024-07-18 08:49:07 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/294b918e9b9 Pull-request: https://github.com/SerenityOS/serenity/pull/8795 Reviewed-by: https://github.com/Hendiadyoin1
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ if [ -f Kernel32 ]; then
|
|||
else
|
||||
kernel_binary=Kernel64
|
||||
fi
|
||||
nm -n $kernel_binary | awk '{ if ($2 != "a") print; }' | uniq > "$tmp"
|
||||
nm -n $kernel_binary | grep -vE \\.Lubsan_data | awk '{ if ($2 != "a") print; }' | uniq > "$tmp"
|
||||
printf "%08x\n" "$(wc -l "$tmp" | cut -f1 -d' ')" > kernel.map
|
||||
c++filt < "$tmp" >> kernel.map
|
||||
rm -f "$tmp"
|
||||
|
|
Loading…
Add table
Reference in a new issue