LLVM 20.0.0git
|
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. More...
#include "ObjCopy/MachO/MachOLayoutBuilder.h"
Public Attributes | |
uint32_t | StartOffset |
uint32_t | AllHeadersSize |
uint32_t | BlockCount |
StringRef | OutputFileName |
uint32_t | Size |
Static Public Attributes | |
static constexpr uint32_t | Align = 16 |
static constexpr uint8_t | BlockSizeShift = 12 |
static constexpr size_t | BlockSize = (1 << BlockSizeShift) |
static constexpr size_t | HashSize = 256 / 8 |
static constexpr size_t | BlobHeadersSize |
static constexpr uint32_t | FixedHeadersSize |
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.
Definition at line 25 of file MachOLayoutBuilder.h.
|
staticconstexpr |
Definition at line 29 of file MachOLayoutBuilder.h.
uint32_t llvm::objcopy::macho::CodeSignatureInfo::AllHeadersSize |
Definition at line 47 of file MachOLayoutBuilder.h.
|
staticconstexpr |
Definition at line 36 of file MachOLayoutBuilder.h.
uint32_t llvm::objcopy::macho::CodeSignatureInfo::BlockCount |
Definition at line 49 of file MachOLayoutBuilder.h.
|
staticconstexpr |
Definition at line 32 of file MachOLayoutBuilder.h.
|
staticconstexpr |
Definition at line 30 of file MachOLayoutBuilder.h.
|
staticconstexpr |
Definition at line 40 of file MachOLayoutBuilder.h.
|
staticconstexpr |
Definition at line 35 of file MachOLayoutBuilder.h.
StringRef llvm::objcopy::macho::CodeSignatureInfo::OutputFileName |
Definition at line 50 of file MachOLayoutBuilder.h.
uint32_t llvm::objcopy::macho::CodeSignatureInfo::Size |
Definition at line 53 of file MachOLayoutBuilder.h.
uint32_t llvm::objcopy::macho::CodeSignatureInfo::StartOffset |
Definition at line 45 of file MachOLayoutBuilder.h.