There is a .code section in exe. How can I create a new executable section?
Posted on 2001-09-21 03:47:34 by vkim

.model flat,c
option dotname

.dotdot@ segment para public 'DATA'
db "hey, this is in the .dotdot@ section"
.dotdot@ ends


end start

... masm is pretty limited in the names you can use, though. I assume
the 'DATA' is the storage class, which will affect the section flags.
A little interesting thing... Try defining three sections...
sec$1, sec$2, sec$3. Experiment with the declaration order in the
asm file, and look what output section is generated... nifty, huh? :)
Posted on 2001-09-21 04:27:21 by f0dder

This is the basic reference material for PE files,

Both are useful if you need to work in this area.

Posted on 2001-09-21 04:43:37 by hutch--
f0dder and hutch--,
Thank You very much!

Is it a poetry? :)
Posted on 2001-09-21 05:38:44 by vkim