• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<abi-corpus version='2.1' path='data/test-read-ctf/test0'>
2  <elf-needed>
3    <dependency name='libc.so.6'/>
4  </elf-needed>
5  <elf-function-symbols>
6    <elf-symbol name='__libc_csu_fini' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
7    <elf-symbol name='__libc_csu_init' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
8    <elf-symbol name='_start' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
9    <elf-symbol name='foo_1' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
10    <elf-symbol name='main' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
11  </elf-function-symbols>
12  <elf-variable-symbols>
13    <elf-symbol name='_IO_stdin_used' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
14    <elf-symbol name='status' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
15    <elf-symbol name='test_array' size='40' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
16    <elf-symbol name='test_const' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
17    <elf-symbol name='test_float' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
18    <elf-symbol name='test_pointer' size='8' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
19    <elf-symbol name='test_restrict' size='8' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
20    <elf-symbol name='test_volatile' size='2' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
21  </elf-variable-symbols>
22  <abi-instr address-size='64' language='LANG_C'>
23    <type-decl name='char' size-in-bits='8' id='type-id-1'/>
24    <type-decl name='float' size-in-bits='32' id='type-id-2'/>
25    <type-decl name='int' size-in-bits='32' id='type-id-3'/>
26    <array-type-def dimensions='1' type-id='type-id-3' size-in-bits='320' id='type-id-4'>
27      <subrange length='10' type-id='type-id-5' id='type-id-6'/>
28    </array-type-def>
29    <type-decl name='long int' size-in-bits='64' id='type-id-7'/>
30    <type-decl name='short int' size-in-bits='16' id='type-id-8'/>
31    <class-decl name='S' size-in-bits='32' is-struct='yes' visibility='default' id='type-id-9'>
32      <data-member access='public' layout-offset-in-bits='0'>
33        <var-decl name='m0' type-id='type-id-3' visibility='default'/>
34      </data-member>
35    </class-decl>
36    <class-decl name='' size-in-bits='32' is-struct='yes' is-anonymous='yes' visibility='default' id='type-id-10'>
37      <data-member access='public' layout-offset-in-bits='0'>
38        <var-decl name='status0' type-id='type-id-11' visibility='default'/>
39      </data-member>
40      <data-member access='public' layout-offset-in-bits='1'>
41        <var-decl name='status1' type-id='type-id-11' visibility='default'/>
42      </data-member>
43    </class-decl>
44    <type-decl name='unsigned int' size-in-bits='32' id='type-id-11'/>
45    <type-decl name='unsigned long int' size-in-bits='64' id='type-id-5'/>
46    <pointer-type-def type-id='type-id-9' size-in-bits='64' alignment-in-bits='64' id='type-id-12'/>
47    <pointer-type-def type-id='type-id-1' size-in-bits='64' alignment-in-bits='64' id='type-id-13'/>
48    <qualified-type-def type-id='type-id-9' const='yes' id='type-id-14'/>
49    <pointer-type-def type-id='type-id-7' size-in-bits='64' alignment-in-bits='64' id='type-id-15'/>
50    <qualified-type-def type-id='type-id-15' restrict='yes' id='type-id-16'/>
51    <qualified-type-def type-id='type-id-8' volatile='yes' id='type-id-17'/>
52    <var-decl name='status' type-id='type-id-10' mangled-name='status' visibility='default' elf-symbol-id='status'/>
53    <var-decl name='test_pointer' type-id='type-id-13' mangled-name='test_pointer' visibility='default' elf-symbol-id='test_pointer'/>
54    <var-decl name='test_const' type-id='type-id-14' mangled-name='test_const' visibility='default' elf-symbol-id='test_const'/>
55    <var-decl name='test_float' type-id='type-id-2' mangled-name='test_float' visibility='default' elf-symbol-id='test_float'/>
56    <function-decl name='foo_1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='foo_1'>
57      <parameter type-id='type-id-12'/>
58      <return type-id='type-id-3'/>
59    </function-decl>
60    <function-decl name='main' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='main'>
61      <return type-id='type-id-3'/>
62    </function-decl>
63    <var-decl name='test_array' type-id='type-id-4' mangled-name='test_array' visibility='default' elf-symbol-id='test_array'/>
64    <var-decl name='test_restrict' type-id='type-id-16' mangled-name='test_restrict' visibility='default' elf-symbol-id='test_restrict'/>
65    <var-decl name='test_volatile' type-id='type-id-17' mangled-name='test_volatile' visibility='default' elf-symbol-id='test_volatile'/>
66  </abi-instr>
67</abi-corpus>
68