From 64ebb8d639719fb759fec0e1299225bc9291ad74 Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 19 2016 01:34:29 +0000 Subject: PE format: added struct pe_coff_symbol_name. --- 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 }