executable files on windows have a .reloc
section which stores information to rebase the image. But EXE built by lazarus doesn't have that. How I enable dynamic base on a lazarus project if I really need ASLR?
Use Editbin tool with /DYNAMICBASE or /HIGHENTROPYVA parameter to edit your executable .