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
617 stars 66 forks source link

Extend clang invocation with SDK path when targeting iOS #37

Closed antoniofrighetto closed 8 months ago

antoniofrighetto commented 8 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.