JustasMasiulis / xorstr

heavily vectorized c++17 compile time string encryption.
Apache License 2.0
1.19k stars 193 forks source link

Crash on Windows Server #23

Closed Mecanik closed 5 years ago

Mecanik commented 5 years ago

Hi,

I just tested on WS 2016 Essentials x64 and my app crashes with undefined behavior.

Not sure as why, I was using VS 2017 and x64 Release mode.

Maybe worth checking when you have time ?

JustasMasiulis commented 5 years ago

Perhaps AVX intrinsics are not supported? Try defining JM_XORSTR_DISABLE_AVX_INTRINSICS

Mecanik commented 5 years ago

Thank you, JM_XORSTR_DISABLE_AVX_INTRINSICS fixed my problem.