From: Kai T. <kti...@go...> - 2011-08-04 14:59:17
|
2011/8/4 NightStrike <nig...@gm...>: > On Thu, Aug 4, 2011 at 5:20 AM, PcX <xun...@gm...> wrote: >> 于 2011/8/3 19:57, NightStrike 写道: >> >> We could, if we could find the time. I know i for one have started a >> new job and have very limited time. >> >> If you'd like to write it, though, we'd be very happy to add you to >> the project and make you maintainer of it. Join us on IRC at >> irc://irc.oftc.net/#mingw-w64 >> >> Well, if I have the PE Programming knowledge, I will try to write one... >> I have some spare time now, but very sorry have not the PE structure >> technique. >> Could you provide some programming knowledge about the large address of the >> 32bit PE access? > > That's out of my league. Maybe Kai can. So, to get an intial idea about the pe-coff format, you should read the pe-coff specification provided by Microsoft. Additionally you can read in msdn about it a bit. This should giive you good starting point to learn a bit about it. A tool to modify pe-coff flags is pretty trivial and I would like to do - before we actually implement it - define a requirement list of additional features it might should have. We should avoid double features to objcopy tool, but indeed there are some I see as interesting. - Changing pe-coff flags - Changing pe-coff stack-reserve/commit values - Changing pe-coff heap-size values - Discard special sections - Compacting pe-coff image - Change section flags - Modify pe-coff directory-entries More complex features might be - Inserting, delete, modify additional resources - Resize sections - Merge sections into other sections So I am open-minded to hear a bit about the wish-list here. And then we might start the implementation of such an new tool. Regards, Kai |