diff options
author | midipix <writeonce@midipix.org> | 2016-11-12 18:00:03 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-12 18:00:03 -0500 |
commit | a5cc53c9e31a213da5ef8779ebca4de034e3b96f (patch) | |
tree | 3a51cbcf200ee427d170be53a0a13a9a320a6cd3 /src | |
parent | 007c7fe073a181af1493f6ee58ac24bbd3208952 (diff) | |
download | perk-a5cc53c9e31a213da5ef8779ebca4de034e3b96f.tar.bz2 perk-a5cc53c9e31a213da5ef8779ebca4de034e3b96f.tar.xz |
pe_output_image_type(): pretty_framework(): added .freestd support.
Diffstat (limited to 'src')
-rw-r--r-- | src/output/pe_output_image_type.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output/pe_output_image_type.c b/src/output/pe_output_image_type.c index 3d36ce5..d1211a9 100644 --- a/src/output/pe_output_image_type.c +++ b/src/output/pe_output_image_type.c @@ -66,6 +66,10 @@ static const char * pretty_framework(const struct pe_unit_ctx * uctx) { if (pe_get_named_section_index(uctx->meta,".midipix") >= 0) return "midipix"; + + else if (pe_get_named_section_index(uctx->meta,".freestd") >= 0) + return "freestd"; + else return "win32"; } |