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

Why are optimizations disabled (-O0) to compile the targets? #159

Open
acidghost opened this issue Nov 13, 2023 · 2 comments
Open

Why are optimizations disabled (-O0) to compile the targets? #159

acidghost opened this issue Nov 13, 2023 · 2 comments

Comments

@acidghost
Copy link

I'm wondering if there's a specific reason to disable optimizations to compile the targets:

ARG BUILD_FLAGS="-include ${MAGMA}/src/canary.h ${CANARIES_FLAG} ${FIXES_FLAG} ${ISAN_FLAG} ${HARDEN_FLAG} -g -O0"

I cannot think of any, besides maybe optimizations breaking some fuzzer.

@adrianherrera
Copy link
Member

Not sure tbh, one for @hazimeh

@acidghost
Copy link
Author

@hazimeh Any idea? I see that PDF018 is triggered w/ -O0 and it's not w/ -O3.

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

2 participants