struct CodeSignatureInfo
Declaration
struct CodeSignatureInfo { /* full declaration omitted */ };
Description
When MachO binaries include a LC_CODE_SIGNATURE load command, the __LINKEDIT data segment will include a section corresponding to the LC_CODE_SIGNATURE load command. This section serves as a signature for the binary. Included in the CodeSignature section is a header followed by a hash of the binary. If present, the CodeSignature section is the last component of the binary.
Declared at: llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.h:25
Member Variables
- public uint32_t StartOffset
- public uint32_t AllHeadersSize
- public uint32_t BlockCount
- public llvm::StringRef OutputFileName
- public uint32_t Size
- public static const uint32_t Align = 16
- public static const uint8_t BlockSizeShift = 12
- public static const size_t BlockSize = (1 << BlockSizeShift)
- public static const size_t HashSize = 256 / 8
- public static const size_t BlobHeadersSize = llvm::alignTo<8>(sizeof(llvm::MachO::CS_SuperBlob) + sizeof(llvm::MachO::CS_BlobIndex))
- public static const uint32_t FixedHeadersSize = BlobHeadersSize + sizeof(llvm::MachO::CS_CodeDirectory)