rdi checksum kinds, rdim checksums, pull parsed checksum kinds/values from cv, fill out rdim checksums (still haven't put into rdi itself yet)

This commit is contained in:
Ryan Fleury
2025-10-02 13:40:45 -07:00
parent b88c45d737
commit 56b5792546
7 changed files with 166 additions and 41 deletions
+17
View File
@@ -305,6 +305,16 @@ RDI_BinarySectionFlag_Write = 1<<1,
RDI_BinarySectionFlag_Execute = 1<<2,
} RDI_BinarySectionFlagsEnum;
typedef RDI_U16 RDI_ChecksumKind;
typedef enum RDI_ChecksumKindEnum
{
RDI_ChecksumKind_Null = 0,
RDI_ChecksumKind_MD5 = 1,
RDI_ChecksumKind_SHA1 = 2,
RDI_ChecksumKind_SHA256 = 3,
RDI_ChecksumKind_Timestamp = 4,
} RDI_ChecksumKindEnum;
typedef RDI_U32 RDI_Language;
typedef enum RDI_LanguageEnum
{
@@ -790,6 +800,13 @@ X(RDI_U64, voff_opl)\
X(RDI_U64, foff_first)\
X(RDI_U64, foff_opl)\
#define RDI_ChecksumKind_XList \
X(Null)\
X(MD5)\
X(SHA1)\
X(SHA256)\
X(Timestamp)\
#define RDI_FilePathNode_XList \
X(RDI_U32, name_string_idx)\
X(RDI_U32, parent_path_node)\