KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Here I have an executable without knowing its build environment, with the assumption of gcc/g++ being used. Is there a way to find out the optimization flag used during compilation (like O0, O2, ...)? All means are welcomed, no matter it's by analyzing the binary or some debug test via gdb (if we assume that -g flag is available during compilation).
Tags (comma-separated)
Save Edits
Cancel