flat assembler
Message board for the users of flat assembler.

Index > Windows > What do shareable, discardable, notpagable section flags do?

Author
Thread Post new topic Reply to topic
Ben321



Joined: 07 Dec 2017
Posts: 70
Ben321 07 Dec 2017, 10:24
I can't figure out the purpose for shareable, discardable, and notpageable flags. The other ones (like readable, import, export, executable, code) make sense, but I'm not sure what those specific 3 that I mentioned above are for. I couldn't find anything in the FASM manual for them, other than listing them as available flags. No description at all about what they are for.
Post 07 Dec 2017, 10:24
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 07 Dec 2017, 10:34
The PE spec defines all the flags.

https://en.wikipedia.org/wiki/Portable_Executable
https://msdn.microsoft.com/en-us/library/ms809762.aspx

Windows doesn't necessarily use them all so sometimes they do nothing.
Post 07 Dec 2017, 10:34
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.