• Home
  • Raw
  • Download

Lines Matching refs:archive

1 ## These test checks that llvm-objdump will not crash with malformed archive
5 ## Check we report an error when unable to read the size field on an archive as an integer.
9 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus1a.a 2>&1 | \
13 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus1b.a 2>&1 | \
16 …: truncated or malformed archive (characters in size field in archive header are not all decimal n…
23 ## Check we report an error when an archive is truncated and are unable to skip the data of a membe…
26 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus2.a 2>&1 | \
29 …BOGUS2: '[[FILE]]': truncated or malformed archive (offset to next archive member past the end of …
39 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus3.a 2>&1 | \
42 # BOGUS3: '[[FILE]]': truncated or malformed archive (remaining size of archive too small for next
48 ## Check we report an error when the terminator characters of an archive member header are not the …
51 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus4.a 2>&1 | \
54 …]': truncated or malformed archive (terminator characters in archive member "@\n" not the correct …
61 ## Document we report an error when parsing a BSD archive and the name of a member contains a leadi…
64 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus5.a 2>&1 | \
67 # BOGUS5: '[[FILE]]': truncated or malformed archive (name contains a leading space for archive mem…
71 - Name: '#1/0' ## Triggers parsing as BFD archive.
78 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus6.a 2>&1 | \
81 …]': truncated or malformed archive (long name length characters after the #1/ are not all decimal …
87 … we report an error when a member's long name length characters extend past the end of the archive.
90 # RUN: not llvm-objdump --macho --archive-headers %t.libbogus7.a 2>&1 | \
93 …[FILE]]': truncated or malformed archive (long name length: 1 extends past the end of the member o…
105 …>): truncated or malformed archive (long name offset characters after the '/' are not all decimal …
118 …file index: 0>): truncated or malformed archive (long name offset 1 past the end of the string tab…
128 # RUN: not llvm-objdump --macho --archive-headers \
131 …: truncated or malformed archive (characters in UID field in archive header are not all decimal nu…
141 # RUN: not llvm-objdump --macho --archive-headers \
144 …: truncated or malformed archive (characters in GID field in archive header are not all decimal nu…
154 # RUN: not llvm-objdump --macho --archive-headers \
157 …runcated or malformed archive (characters in AccessMode field in archive header are not all decima…
167 # RUN: llvm-objdump --macho --archive-headers %t.libbogus13.a 2>&1 | \
180 …ated or malformed archive (characters in LastModified field in archive header are not all decimal …