summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_meta.h12
-rw-r--r--include/perk/perk_structs.h10
2 files changed, 22 insertions, 0 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h
index 2232085..f20c6ac 100644
--- a/include/perk/perk_meta.h
+++ b/include/perk/perk_meta.h
@@ -246,6 +246,18 @@ struct pe_meta_import_hdr {
};
+/* coff: symbol table entry */
+struct pe_meta_coff_sym_entry {
+ char name[16];
+ char * long_name;
+ uint32_t value;
+ int16_t section_number;
+ uint16_t type;
+ unsigned char storage_class;
+ unsigned char num_of_aux_symbols;
+};
+
+
#ifdef __cplusplus
}
#endif
diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h
index 4a03a27..eecaba6 100644
--- a/include/perk/perk_structs.h
+++ b/include/perk/perk_structs.h
@@ -287,6 +287,16 @@ struct pe_hint_name_entry {
};
+struct pe_coff_sym_entry {
+ unsigned char name [0x08]; /* 0x00 */
+ unsigned char value [0x04]; /* 0x08 */
+ unsigned char section_number [0x02]; /* 0x0c */
+ unsigned char type [0x02]; /* 0x0e */
+ unsigned char storage_class [0x01]; /* 0x10 */
+ unsigned char num_of_aux_symbols [0x01]; /* 0x11 */
+};
+
+
#ifdef __cplusplus
}
#endif