summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-18 20:34:29 -0500
committermidipix <writeonce@midipix.org>2016-11-18 20:34:29 -0500
commit64ebb8d639719fb759fec0e1299225bc9291ad74 (patch)
tree0e56d44b69f49953c8a5873da21fec1f3378c8a5 /include
parent381efa1fe4cb925f5ecd84b15e68e317ec90176c (diff)
downloadperk-64ebb8d639719fb759fec0e1299225bc9291ad74.tar.bz2
perk-64ebb8d639719fb759fec0e1299225bc9291ad74.tar.xz
PE format: added struct pe_coff_symbol_name.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_structs.h10
1 files changed, 10 insertions, 0 deletions
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
}