flat assembler
Message board for the users of flat assembler.

Index > Windows > Section Characteristics

Author
Thread Post new topic Reply to topic
Yardman



Joined: 12 Apr 2005
Posts: 244
Location: US
Yardman 22 Feb 2009, 02:53
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 03:27; edited 1 time in total
Post 22 Feb 2009, 02:53
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20454
Location: In your JS exploiting you and your system
revolution 22 Feb 2009, 03:25
I think it is like this:

If you have some uninitialised data then you get the 0x80 flag set:
Code:
section '.data' data readable writeable
db ? ;set the 0x80 flag    


But if you have an empty section, or only initialised data then the 0x80 flag is not set:
Code:
section '.data' data readable writeable
db 1 ;set the 0x40 flag    
Post 22 Feb 2009, 03:25
View user's profile Send private message Visit poster's website Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 244
Location: US
Yardman 22 Feb 2009, 04:54
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 03:27; edited 1 time in total
Post 22 Feb 2009, 04:54
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20454
Location: In your JS exploiting you and your system
revolution 22 Feb 2009, 05:52
I like macros, they are a good thing.

I don't do the COFF dance, sorry, no macros for that. Linker? What's that? .obj file? What's that?
Post 22 Feb 2009, 05:52
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.