Re: Data in a 32 bit code section



"rhyde@xxxxxxxxxx" <rhyde@xxxxxxxxxx> écrivait
news:1180546411.068356.169700@xxxxxxxxxxxxxxxxxxxxxxxxxxx:

On May 30, 9:02 am, HandyMan <luke77...@xxxxxxxxx> wrote:
Two questions.
Thanks.

Can Win32 apps have and use data in the code section ?

Thanks.

Yes, define the data as public and you can access it from other Apps
(e.g., C or assembly).

I suppose that this means something inside your head, clown, but
the answer to the question is:

Yes, you can declare Data inside a PE Code Section. In normal Code,
the Data will be read-only, unless you would declare the Code Section
writable.


Betov.

< http://rosasm.org >






.