Mercurial > hg > CbC > CbC_llvm
comparison test/Object/corrupt.test @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | afa8332a0e37 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 // Section name offset overflows section name string table. | |
2 RUN: not llvm-readobj %p/Inputs/corrupt.elf-x86-64 -sections \ | |
3 RUN: 2>&1 | FileCheck --check-prefix=SECNAME %s | |
4 | |
5 // Section data offset past end of file. | |
6 RUN: not llvm-readobj %p/Inputs/corrupt.elf-x86-64 -sections -section-data \ | |
7 RUN: 2>&1 | FileCheck --check-prefix=SECDATA %s | |
8 | |
9 // Symbol name offset overflows string table. | |
10 RUN: not llvm-readobj %p/Inputs/corrupt.elf-x86-64 -symbols \ | |
11 RUN: 2>&1 | FileCheck --check-prefix=SYMNAME %s | |
12 | |
13 // Version index in .gnu.version overflows the version map. | |
14 RUN: not llvm-readobj %p/Inputs/corrupt-version.elf-x86_64 -dt \ | |
15 RUN: 2>&1 | FileCheck --check-prefix=VER %s | |
16 | |
17 SECNAME: Error reading file: Invalid data was encountered while parsing the file. | |
18 | |
19 SECDATA: Error reading file: Invalid data was encountered while parsing the file. | |
20 SECDATA: Error reading file: Invalid data was encountered while parsing the file. | |
21 | |
22 SYMNAME: Error reading file: Invalid data was encountered while parsing the file. | |
23 | |
24 VER: Error reading file: Invalid data was encountered while parsing the file. |