www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++.windows.32-bits - Changing section name

↑ ↓ ← BiMode <BiMode_member pathlink.com> writes:
Is it possible?

If so, how do I do to change the section name of the image files?

for example '.text' change to 'CODE'
Oct 03 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
It isn't easy. You'll need to write a program to read the .exe file, change
the name, and write it back out.

"BiMode" <BiMode_member pathlink.com> wrote in message
news:bljr8v$2k7c$1 digitaldaemon.com...
 Is it possible?

 If so, how do I do to change the section name of the image files?

 for example '.text' change to 'CODE'

Oct 03 2003
↑ ↓ "Matthew Wilson" <matthew stlsoft.org> writes:
Is there some good documentation for the PE format, in respect of the
specifics required for doing what you describe?

"Walter" <walter digitalmars.com> wrote in message
news:blkl5g$nqm$1 digitaldaemon.com...
 It isn't easy. You'll need to write a program to read the .exe file,

 the name, and write it back out.

 "BiMode" <BiMode_member pathlink.com> wrote in message
 news:bljr8v$2k7c$1 digitaldaemon.com...
 Is it possible?

 If so, how do I do to change the section name of the image files?

 for example '.text' change to 'CODE'


Oct 03 2003
↑ ↓ "Walter" <walter digitalmars.com> writes:
There's documents on the PE format of varying quality, usually findable with
google.

"Matthew Wilson" <matthew stlsoft.org> wrote in message
news:blkof2$sca$1 digitaldaemon.com...
 Is there some good documentation for the PE format, in respect of the
 specifics required for doing what you describe?

 "Walter" <walter digitalmars.com> wrote in message
 news:blkl5g$nqm$1 digitaldaemon.com...
 It isn't easy. You'll need to write a program to read the .exe file,

 the name, and write it back out.

 "BiMode" <BiMode_member pathlink.com> wrote in message
 news:bljr8v$2k7c$1 digitaldaemon.com...
 Is it possible?

 If so, how do I do to change the section name of the image files?

 for example '.text' change to 'CODE'



Oct 03 2003
↑ ↓ → "Matthew Wilson" <matthew stlsoft.org> writes:
nw

"Walter" <walter digitalmars.com> wrote in message
news:blkqqp$vf9$1 digitaldaemon.com...
 There's documents on the PE format of varying quality, usually findable

 google.

 "Matthew Wilson" <matthew stlsoft.org> wrote in message
 news:blkof2$sca$1 digitaldaemon.com...
 Is there some good documentation for the PE format, in respect of the
 specifics required for doing what you describe?

 "Walter" <walter digitalmars.com> wrote in message
 news:blkl5g$nqm$1 digitaldaemon.com...
 It isn't easy. You'll need to write a program to read the .exe file,

 the name, and write it back out.

 "BiMode" <BiMode_member pathlink.com> wrote in message
 news:bljr8v$2k7c$1 digitaldaemon.com...
 Is it possible?

 If so, how do I do to change the section name of the image files?

 for example '.text' change to 'CODE'




Oct 03 2003