Lines Matching refs:READELF
61 global READELF
64 catch "exec $READELF $READELFFLAGS --file-header $binary_file > readelf.out" got
67 verbose "proc check_osabi: Readelf produced unexpected out processing $binary_file: $got"
72 [file_contents readelf.out] nil osabi] } {
73 verbose "proc check_osabi: Readelf failed to extract an ELF header from $binary_file"
89 global READELF
92 catch "exec $READELF $READELFFLAGS --symbols $binary_file > readelf.out" got
95 verbose "proc contains_ifunc_symbol: Readelf produced unexpected out processing $binary_file: $got"
103 if { ![regexp ".*\[ \]*IFUNC\[ \]+GLOBAL\[ \]+DEFAULT .* \[UND0-9\]+\[ \]+library_func2\n" [file_contents readelf.out]] } {
115 global READELF
118 catch "exec $READELF $READELFFLAGS --relocs --wide $binary_file > readelf.out" got
121 verbose "proc contains_irelative_reloc: Readelf produced unexpected out processing $binary_file: $got"
130 if { ![regexp "\[0-9a-f\]+\[ \]+\[0-9a-f\]+\[ \]+R_\[_0-9A-Z\]+_IREL(|ATIVE)\[ \]*\[0-9a-f\]*\n" [file_contents readelf.out]] } {
140 global READELF
143 catch "exec $READELF $READELFFLAGS --relocs $binary_file > readelf.out" got
146 verbose "proc contains_ifunc_reloc: Readelf produced unexpected out processing $binary_file: $got"
150 if [string match "" [file_contents readelf.out]] then {
155 if { ![regexp "\\(\\)" [file_contents readelf.out]] } {