flat assembler
Message board for the users of flat assembler.
Index
> Windows > section '.reloc' |
Author |
|
bitRAKE 16 Jul 2009, 05:04
Primarily only in DLLs, but in general for any executable which might need to be relocated. If the base address (defaults to $400000 for executables) conflict with other loaded resources then windows will attempt to relocate to another base when relocation segment is present. Also, there is a security feature (only in Win7?) to locate programs at a random base - iirc, it also requires a relocation section to work dynamically.
|
|||
16 Jul 2009, 05:04 |
|
f0dder 16 Jul 2009, 12:45
Afaik ASLR was introduced on Vista (although it might have begun in a pre-vista server edition of Windows) - there were some changes for Win7, but I can't remember the details and don't have an URL handy, sorry. To enable ASLR for your executables, I believe you need both the .reloc section as well as some header stuff, here's a short description.
|
|||
16 Jul 2009, 12:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.