summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-13 19:40:13 -0500
committermidipix <writeonce@midipix.org>2017-12-14 11:36:09 -0500
commit20e8a3f6e4e37fe028ebc2daefb10bc55eec85d9 (patch)
treebea6fdc5149354436e830c8c89ecdf2e6719ff9f /include
parent2111da6c6b5a906d2e9a821b3d6733684b7378eb (diff)
downloadperk-20e8a3f6e4e37fe028ebc2daefb10bc55eec85d9.tar.bz2
perk-20e8a3f6e4e37fe028ebc2daefb10bc55eec85d9.tar.xz
logic: pe_get_image_meta(): added mdso support.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index d667413..e012a96 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -79,6 +79,8 @@ struct pe_expsym {
struct pe_meta_stats {
int32_t t_nexpsyms;
int32_t t_nimplibs;
+ int32_t t_ndsolibs;
+ int32_t t_ndsosyms;
int32_t t_nrelocs;
};
@@ -93,6 +95,11 @@ struct pe_image_meta {
struct pe_raw_export_hdr * r_edata;
struct pe_raw_import_hdr * r_idata;
+ void * r_dsometa;
+ void * r_dsosyms;
+ char * r_dsostrs;
+ void * r_dsodata;
+
struct pe_meta_stats m_stats;
struct pe_meta_image_dos_hdr m_dos;
struct pe_meta_coff_file_hdr m_coff;
@@ -104,6 +111,11 @@ struct pe_image_meta {
struct pe_meta_sec_hdr * h_edata;
struct pe_meta_sec_hdr * h_idata;
+
+ struct pe_meta_sec_hdr * h_dsometa;
+ struct pe_meta_sec_hdr * h_dsosyms;
+ struct pe_meta_sec_hdr * h_dsostrs;
+ struct pe_meta_sec_hdr * h_dsodata;
};
struct pe_source_version {