blob: 142f9e9fa947d548a85d8409c6ea228fa65941a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#as:
#source: array-char.c
#source: array-int.c
#objdump: --ctf=.ctf
#ld: -shared --ctf-variables --hash-style=sysv
#name: Arrays
.*: +file format .*
Contents of CTF section .ctf:
Header:
Magic number: 0xdff2
Version: 4 \(CTF_VERSION_3\)
#...
Data object section: .* \(0x[1-9a-f][0-9a-f]* bytes\)
Type section: .* \(0x6c bytes\)
String section: .*
Labels:
Data objects:
digits -> 0x[0-9a-f]*: \(kind 4\) int \[10\] .*
digits_names -> 0x[0-9a-f]*: \(kind 4\) char \*\[10\] .*
Function objects:
Variables:
Types:
#...
0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
#...
0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
#...
|