Showing posts with label win32. Show all posts
Showing posts with label win32. Show all posts

Friday, February 14, 2020

Correct Visual Studio Code Configuration Properties for writing CrackMe's

When you write CrackMe's in win32, you want it to be easy to debug with x64dbg - especially for beginners to reversing. Below are the optimal configuration properties for Visual Studio 2017:


[Build]
Set Build to Release for x86 (32 bit)

[Configuration properties]
[----   General -----]
Character Set -> Use Multi-Byte Character Set

[----    C/C++  -----]
[General]
SDL checks -> No (/sdl-)

[Code Generation]
Runtime Library -> Multi-threaded(/MT)
Security Check -> Disable security Check (/GS-)

[----   Linker  ----- ]
[Advanced]
Randomized Base Address -> No(/DYNAMICBASE:NO)
Fixed Base Address -> Yes(/FIXED)