llvm-for-llvmta/test/tools/llvm-objcopy/MachO/encrypt_info_64_lc.test

23 lines
503 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: yaml2obj %s -o %t
# RUN: llvm-objcopy %t %t.copy
# RUN: cmp %t %t.copy
--- !mach-o
FileHeader:
magic: 0xFEEDFACF
cputype: 0x0100000C
cpusubtype: 0x00000000
filetype: 0x00000002
ncmds: 1
sizeofcmds: 24
flags: 0x00002000
reserved: 0x00000000
LoadCommands:
- cmd: LC_ENCRYPTION_INFO_64
cmdsize: 24
cryptoff: 0
cryptsize: 0
cryptid: 0
pad: 0
...