open-obfuscator / o-mvll

:electron: O-MVLL is a LLVM-based obfuscator for native code (Android & iOS)
https://obfuscator.re/omvll
Apache License 2.0
574 stars 62 forks source link

Extend clang invocation with SDK path when targeting iOS #37

Closed antoniofrighetto closed 4 months ago

antoniofrighetto commented 4 months ago

When invoking Apple Clang via getMainExecutable, we lack of the various options the command was invoked with. This ensures that, at the very least, Foundation header paths are properly included. Minor style convention fixes too.