]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - debian/scripts/retpoline-extract
8 } |
xargs objdump
--disassemble | \
10 /^.\// { file=$1; sub(":.*", "", file); sub("^.*/", "", file); }
11 /^[0-9a-f][0-9a-f]* <.*>:/ { tag=$1; sub(".*<", "", tag); sub(">.*", "", tag); tag=file " " tag; }
12 $3 ~ /(call|jmp)q? *\*(0x[a-f0-9]+\()?%/ { print(tag " " $3); }
14 grep -v " \*%cs:0x" # elide 32bit code-segment absolute offsets.