Lines Matching +full:fault +full:- +full:q

2 # SPDX-License-Identifier: GPL-2.0
7 file ${obj} | grep -q ELF || (echo "${obj} is not an ELF file." 1>&2 ; exit 0)
10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null
11 [ $? -ne 0 ] && exit 0
15 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 |
16 grep -v $(eval echo -e{${white_list}}) | awk '{print $3}')
19 [ -z "${suspicious_relocs}" ] && exit 0
25 # you're expecting this section to contain code which can fault (i.e. the
33 …eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; s…
42 eval $(echo $reloc | sed 's/\([^+]\+\)+\?\(0x[0-9a-f]\+\)\?/symbol="\1"; symbol_offset="\2"/')
46 if [ -z "${symbol_offset}" ]; then
55 …eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | …
56 sed 's/\([^+]\+\)+\(0x[0-9a-f]\+\)/alt_target_section="\1"; alt_target_offset="\2"/')
65 addr2line -fip -j ${alt_target_section} -e ${obj} ${alt_target_offset} | awk '{print "\t" $0}'
72 objdump -hwj ${section} ${obj} | grep -q CODE
81 # the white list or fix his code. We try to pretty-print the file
84 addr2line -fip -j ${section} -e ${obj} ${section_offset} | awk '{print "\t" $0}'
87 # to a non-executable section, there's no way this would ever be
89 …echo "Error: found a reference to non-executable section \"${section}\" in __ex_table at offset ${…
123 if [ -z "$( echo $section | grep -v $(eval echo -e{${white_list}}))" ]; then
134 objdump -hj .debug_info ${obj} 2> /dev/null > /dev/null ||
135 echo -e "${obj} does not contain debug information, the addr2line output will be limited.\n" \