Is there some way in masm source, or is there a switch for masm or LINK, that will set the attributes of a PE section? Maybe by using the SEGMENT directive instead of .model? Thx.
Posted on 2001-06-23 04:30:00 by Larry Hammick
Larry, you can set the sections with the following syntax in LINK, /section:.text,RWE This sets the .text section as Read Write Execute. ou can also merge sections with the syntax, /MERGE:from=to Regards,
Posted on 2001-06-23 05:08:00 by hutch--
there is a little utilitie in called "PESam" that let you modify section`s atributtes. I dunno if exits any switch in MASM/TASM ... Regards,
Posted on 2001-06-23 05:09:00 by elmenda
Thanks guys. I was using one of my own gadgets: which just goes in the build file. Convenient, but can't merge sections.
Posted on 2001-06-24 02:05:00 by Larry Hammick