brintos

brintos / llvm-project-archived public Read only

0
0
Text · 465 B · 6ad151d Raw
11 lines · plain
1; Check an executable, where the baes relocation data directory points into2; a section (within the range specified by VirtualSize), but outside of the3; raw data provided in the executable. Make sure that we don't error out on4; the executable - but we don't try to print any base relocs (as their data5; is missing).6 7RUN: yaml2obj %p/Inputs/COFF/data-dir-out-of-bounds.yaml | llvm-readobj --coff-basereloc - | FileCheck %s8 9CHECK:      BaseReloc [10CHECK-NEXT: ]11