| ... | @@ -588,6 +588,25 @@ pub const rpath_command = extern struct { | ... | @@ -588,6 +588,25 @@ pub const rpath_command = extern struct { |
| 588 | path: u32, | 588 | path: u32, |
| 589 | }; | 589 | }; |
| 590 | | 590 | |
| | 591 | pub const encryption_info_command = extern struct { |
| | 592 | cmd: LC = .ENCRYPTION_INFO, |
| | 593 | cmdsize: u32 = @sizeOf(encryption_info_command), |
| | 594 | |
| | 595 | cryptoff: u32, |
| | 596 | cryptsize: u32, |
| | 597 | cryptid: u32 = 0, |
| | 598 | }; |
| | 599 | |
| | 600 | pub const encryption_info_command_64 = extern struct { |
| | 601 | cmd: LC = .ENCRYPTION_INFO_64, |
| | 602 | cmdsize: u32 = @sizeOf(encryption_info_command_64), |
| | 603 | |
| | 604 | cryptoff: u32, |
| | 605 | cryptsize: u32, |
| | 606 | cryptid: u32 = 0, |
| | 607 | _pad: u32 = 0, |
| | 608 | }; |
| | 609 | |
| 591 | /// The segment load command indicates that a part of this file is to be | 610 | /// The segment load command indicates that a part of this file is to be |
| 592 | /// mapped into the task's address space. The size of this segment in memory, | 611 | /// mapped into the task's address space. The size of this segment in memory, |
| 593 | /// vmsize, maybe equal to or larger than the amount to map from this file, | 612 | /// vmsize, maybe equal to or larger than the amount to map from this file, |