1 # To regenerate has-cet.exe
2 # $ echo int main() { return 0; } > has-cet.c
3 # $ cl has-cet.c /link /cetcompat
4 RUN: llvm-readobj --coff-debug-directory %p/Inputs/has-cet.exe | FileCheck %s
7 CHECK: Characteristics: 0x0
8 CHECK: Type: ExtendedDLLCharacteristics (0x14)
9 CHECK: ExtendedCharacteristics [ (0x1)
10 CHECK: IMAGE_DLL_CHARACTERISTICS_EX_CET_COMPAT (0x1)
13 CHECK: 0000: 01000000 |....|