Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile fails after too many oxorany calls #4

Open
Xniveres opened this issue Jul 10, 2022 · 3 comments
Open

compile fails after too many oxorany calls #4

Xniveres opened this issue Jul 10, 2022 · 3 comments

Comments

@Xniveres
Copy link

Xniveres commented Jul 10, 2022

hey,
tried using this project in a few places with visual studio 22 with cpp 17

errors:

oxorany.h(743): warning C4789: buffer '' of size 17 bytes will be overrun; 19 bytes will be written starting at offset 5

and

 fatal error C1002: compiler is out of heap space in pass 2

seems to happen after around 30 oxorany calls.

build in release, x86 bit, compiles when using #define OXORANY_DISABLE_OBFUSCATION

@Xniveres
Copy link
Author

i've did some more research and the not compiling at all seems to be an issue with msvc ( https://developercommunity.visualstudio.com/t/extremely-long-compilation-time-when-using-compile/873112 )

you can get it to work using /d2ReducedOptimizeHugeFunctions however the overrun still exists

@llxiaoyuan
Copy link
Owner

Can you provide a POC ?please

@mikSn
Copy link

mikSn commented Jan 17, 2024

same problem on this line
Screenshot_2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants