1 #source: ibt-plt-2.s
2 #as: --32
3 #ld: -shared -m elf_i386 -z ibt --hash-style=sysv -z noseparate-code
4 #readelf: -n -wf
5 
6 Contents of the .eh_frame section:
7 
8 0+ 00000014 00000000 CIE
9   Version:               1
10   Augmentation:          "zR"
11   Code alignment factor: 1
12   Data alignment factor: -4
13   Return address column: 8
14   Augmentation data:     1b
15 
16   DW_CFA_def_cfa: r4 \(esp\) ofs 4
17   DW_CFA_offset: r8 \(eip\) at cfa-4
18   DW_CFA_nop
19   DW_CFA_nop
20 
21 0+18 0000001c 0000001c FDE cie=00000000 pc=[a-f0-9]+\.\.[a-f0-9]+
22   DW_CFA_advance_loc: 1 to [a-f0-9]+
23   DW_CFA_def_cfa_offset: 8
24   DW_CFA_offset: r3 \(ebx\) at cfa-8
25   DW_CFA_advance_loc: 14 to [a-f0-9]+
26   DW_CFA_def_cfa_offset: 16
27   DW_CFA_advance_loc: 13 to [a-f0-9]+
28   DW_CFA_def_cfa_offset: 8
29   DW_CFA_advance_loc: 1 to [a-f0-9]+
30   DW_CFA_restore: r3 \(ebx\)
31   DW_CFA_def_cfa_offset: 4
32 
33 0+38 00000010 0000003c FDE cie=00000000 pc=[a-f0-9]+\.\.[a-f0-9]+
34   DW_CFA_nop
35   DW_CFA_nop
36   DW_CFA_nop
37 
38 0+4c 00000020 00000050 FDE cie=00000000 pc=[a-f0-9]+\.\.[a-f0-9]+
39   DW_CFA_def_cfa_offset: 8
40   DW_CFA_advance_loc: 6 to [a-f0-9]+
41   DW_CFA_def_cfa_offset: 12
42   DW_CFA_advance_loc: 10 to [a-f0-9]+
43   DW_CFA_def_cfa_expression \(DW_OP_breg4 \(esp\): 4; DW_OP_breg8 \(eip\): 0; DW_OP_lit15; DW_OP_and; DW_OP_lit9; DW_OP_ge; DW_OP_lit2; DW_OP_shl; DW_OP_plus\)
44 
45 0+70 00000010 00000074 FDE cie=00000000 pc=[a-f0-9]+\.\.[a-f0-9]+
46   DW_CFA_nop
47   DW_CFA_nop
48   DW_CFA_nop
49 
50 
51 Displaying notes found in: .note.gnu.property
52 [ 	]+Owner[ 	]+Data size[ 	]+Description
53   GNU                  0x0000000c	NT_GNU_PROPERTY_TYPE_0
54       Properties: x86 feature: IBT
55