Open Dyras opened 7 years ago
Hi Dyras,
I haven't thought about ASLR, looks like support for it exists now in GCC with the flag --high-entropy-va
. I'll definitely give it a try when I look into releasing the next version.
Thanks for the suggestion!
@stefansundin, would you consider adding a Visual Studio solution? That would make it easier for me—possibly other folks—to recompile the code on my own, and add Control Flow Guard, ASLR, and so forth.
For what it's worth, Visual Studio 2015 and now 2017 both have a "Community Edition" that's free-as-in-beer, and fully functional unless you need the Microsoft proprietary "team" features.
Thanks in advance.
I tried to use -Wl,--high-entropy-va
and -Wl,--image-base,0x140000000
as reported on some websites to enable ASLR, but Process Explorer kept saying that it was disabled. It's hard to find information on the proper way to use it.
As for Visual Studio, I haven't given it a try yet.
Visual Studio steps:
shlwapi.lib
psapi.lib
superf4.c
& superf4.rc
(rest are #included from these two, thus treated as external dependencies not files to compile directly)
Greetings! It has come to my attention that SuperF4 does not have ASLR enabled. Is there a reason for this? If possible, could you enable it? It's one of two programs on my computer that isn't using ASLR.