//===- MachOLayoutBuilder.h -------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_OBJCOPY_MACHO_MACHOLAYOUTBUILDER_H #define LLVM_LIB_OBJCOPY_MACHO_MACHOLAYOUTBUILDER_H #include "MachOObject.h" #include "llvm/ObjCopy/MachO/MachOObjcopy.h" namespace llvm { namespace objcopy { namespace macho { /// 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. struct CodeSignatureInfo { … }; class MachOLayoutBuilder { … }; } // end namespace macho } // end namespace objcopy } // end namespace llvm #endif // LLVM_LIB_OBJCOPY_MACHO_MACHOLAYOUTBUILDER_H