summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/perk/perk_structs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h
index 5105cd1..6cacac8 100644
--- a/include/perk/perk_structs.h
+++ b/include/perk/perk_structs.h
@@ -40,6 +40,17 @@ struct pe_raw_coff_image_hdr {
};
+struct pe_raw_coff_object_hdr {
+ unsigned char cfh_machine [0x02]; /* 0x00 */
+ unsigned char cfh_num_of_sections [0x02]; /* 0x02 */
+ unsigned char cfh_time_date_stamp [0x04]; /* 0x04 */
+ unsigned char cfh_ptr_to_sym_tbl [0x04]; /* 0x08 */
+ unsigned char cfh_num_of_syms [0x04]; /* 0x0c */
+ unsigned char cfh_size_of_opt_hdr [0x02]; /* 0x10 */
+ unsigned char cfh_characteristics [0x02]; /* 0x12 */
+};
+
+
struct pe_raw_opt_hdr_std {
unsigned char coh_magic [0x02]; /* 0x00 */
unsigned char coh_major_linker_ver [0x01]; /* 0x02 */