summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-04 16:21:22 -0500
committermidipix <writeonce@midipix.org>2017-02-05 18:30:58 -0500
commit24bd6abc40b1a16c771f1d90dd7838a9292d275f (patch)
tree7cd16dfe4c0027cad816760be8dcd7f606abf15d /src
parent2c190da52dbfe58d46c8e4d4dcc924fb444e0334 (diff)
downloadmdso-24bd6abc40b1a16c771f1d90dd7838a9292d275f.tar.bz2
mdso-24bd6abc40b1a16c771f1d90dd7838a9292d275f.tar.xz
internals: added coff symbol record, string table, and auxiliary record defs.
Diffstat (limited to 'src')
-rw-r--r--src/internal/perk/perk_structs.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/internal/perk/perk_structs.h b/src/internal/perk/perk_structs.h
index 6cacac8..8ec0b94 100644
--- a/src/internal/perk/perk_structs.h
+++ b/src/internal/perk/perk_structs.h
@@ -327,6 +327,29 @@ struct pe_raw_coff_symbol_name {
};
+struct pe_raw_coff_strtbl {
+ unsigned char cst_size [0x04]; /* 0x00 */
+ unsigned char cst_data[]; /* 0x04 */
+};
+
+
+struct pe_raw_coff_reloc {
+ unsigned char rel_rva [0x04]; /* 0x00 */
+ unsigned char rel_sym [0x04]; /* 0x04 */
+ unsigned char rel_type [0x02]; /* 0x08 */
+};
+
+
+struct pe_aux_rec_section {
+ unsigned char aux_size [0x04]; /* 0x00 */
+ unsigned char aux_num_of_relocs [0x02]; /* 0x04 */
+ unsigned char aux_num_of_line_nums [0x02]; /* 0x06 */
+ unsigned char aux_check_sum [0x04]; /* 0x08 */
+ unsigned char aux_number [0x02]; /* 0x0c */
+ unsigned char aux_selection [0x01]; /* 0x0e */
+ unsigned char aux_pad [0x03]; /* 0x0f */
+};
+
#ifdef __cplusplus
}
#endif