From 64ebb8d639719fb759fec0e1299225bc9291ad74 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 18 Nov 2016 20:34:29 -0500 Subject: PE format: added struct pe_coff_symbol_name. --- include/perk/perk_structs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 0634a02..f012d33 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -296,6 +296,16 @@ struct pe_coff_symbol { unsigned char num_of_aux_symbols [0x01]; /* 0x11 */ }; +struct pe_coff_symbol_name { + union { + unsigned char short_name [0x08]; /* 0x00 */ + + struct { + unsigned char zeroes [0x04]; /* 0x00 */ + unsigned char offset [0x04]; /* 0x04 */ + } long_name; + }; +}; #ifdef __cplusplus } -- cgit v1.2.3