llxiaoyuan / oxorany

obfuscated any constant encryption in compile time on any platform
MIT License
403 stars 76 forks source link

Compiler optimization issue (/Od) #8

Open underflowerror opened 1 year ago

underflowerror commented 1 year ago

Hello. First of all, thanks for creating this library it's really helpful.

Library works great with /O2 compiler flag (thats default option for a new project), but problem comes with /Od flag and /Ob1. image As you can see everything is fine, except fact that our original integer is shown and not even used. This issue persist in any variable type. This library works great with those flags, thing is that library supports only strings.

Thanks.

llxiaoyuan commented 1 year ago

Thanks for your reporting, Optimization must be enabled, and this problem may be due to some parameter passing