XEX2 Security Page Descriptors
This commit is contained in:
parent
c32a94599e
commit
800f982a4d
|
@ -586,6 +586,17 @@ struct xex2_header {
|
||||||
xex2_opt_header headers[1]; // 0x18
|
xex2_opt_header headers[1]; // 0x18
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct xex2_page_descriptor {
|
||||||
|
union {
|
||||||
|
struct {
|
||||||
|
uint32_t info : 4;
|
||||||
|
uint32_t size : 28;
|
||||||
|
};
|
||||||
|
xe::be<uint32_t> value; // 0x0
|
||||||
|
};
|
||||||
|
char data_digest[0x14]; // 0x4
|
||||||
|
};
|
||||||
|
|
||||||
struct xex2_security_info {
|
struct xex2_security_info {
|
||||||
xe::be<uint32_t> header_size; // 0x0
|
xe::be<uint32_t> header_size; // 0x0
|
||||||
xe::be<uint32_t> image_size; // 0x4
|
xe::be<uint32_t> image_size; // 0x4
|
||||||
|
@ -602,8 +613,9 @@ struct xex2_security_info {
|
||||||
char header_digest[0x14]; // 0x164
|
char header_digest[0x14]; // 0x164
|
||||||
xe::be<uint32_t> region; // 0x178
|
xe::be<uint32_t> region; // 0x178
|
||||||
xe::be<uint32_t> allowed_media_types; // 0x17C
|
xe::be<uint32_t> allowed_media_types; // 0x17C
|
||||||
|
xe::be<uint32_t> page_descriptor_count; // 0x180
|
||||||
|
xex2_page_descriptor page_descriptors[1]; // 0x184
|
||||||
};
|
};
|
||||||
static_assert_size(xex2_security_info, 0x180);
|
|
||||||
|
|
||||||
struct xex2_export_table {
|
struct xex2_export_table {
|
||||||
xe::be<uint32_t> magic[3]; // 0x0
|
xe::be<uint32_t> magic[3]; // 0x0
|
||||||
|
|
Loading…
Reference in New Issue