DeClang
DeClang copied to clipboard
An anti-hacking compiler forked from the ollvm (https://github.com/obfuscator-llvm/obfuscator)
-vオプションを指定すると、`warning: argument unused during compilation: '-D DECLANG' [-Wunused-command-line-argument]`が出ます ``` $ ./clang -v clang version 11.1.0 (https://github.com/DeNA/DeClang ec211549de54a69d8a1b877b4dcdb16b81fb9d75) Target: x86_64-apple-darwin20.6.0 Thread model: posix InstalledDir: /Users/tkmru/.DeClang/compiler/bin/. clang: warning: argument unused during compilation:...
https://github.com/DeNA/DeClang/pull/24 に関連したissueです。 最近のNDKではmacOS向けのClangバイナリがuniversal binaryになっています。 universal binaryのClangをuniversal binaryでないClangで置き換えると、それが原因のエラーが出かねないと思うので、universal binaryを用意してもらえるとうれしいです。
https://github.com/DeNA/DeClang/issues/23 に関連したissueです。 DeClangのバージョンアップに追従していこうと思うと、使っているDeClang自体のバージョン(ex. swift5.5-v1.0.0)を確認できる必要があります。`-v`でClangのバージョンだけではなく、DeClang自体のバージョンも出るとうれしいです。 ``` $ ./clang -v clang version 11.1.0 (https://github.com/DeNA/DeClang ec211549de54a69d8a1b877b4dcdb16b81fb9d75) Target: x86_64-apple-darwin20.6.0 Thread model: posix InstalledDir: /Users/tkmru/.DeClang/compiler/bin/. clang: warning: argument unused during compilation: '-D DECLANG' [-Wunused-command-line-argument] ```
CI上で動かすのにLinuxバイナリが必要なのですが、Linux環境ではビルドできませんでした。 `bash build.sh`を実行すると次のエラーが出ました。確認してもらえると嬉しいです。 ``` [ 5%] Linking CXX executable ../../bin/not In file included from /usr/include/c++/9/cassert:44, from /home/tkmru/Documents/DeClang/llvm/include/llvm/IR/ValueHandle.h:20, from /home/tkmru/Documents/DeClang/llvm/include/llvm/Transforms/Utils/Local.h:31, from /home/tkmru/Documents/DeClang/llvm/include/llvm/Transforms/AntiHack/DynamicBranch.h:23, from /home/tkmru/Documents/DeClang/llvm/lib/Transforms/AntiHack/DynamicBranch.cpp:17: /home/tkmru/Documents/DeClang/llvm/include/llvm/IR/ValueHandle.h: In member function ‘ValueTy* llvm::PoisoningVH::getValPtr() const’:...
Xcode 13 では正常ですが、Xcode14 ではそうではありません。この問題を修正する方法を教えてください。
unity windows standalone (つまり exeやGameAssembly.dll)の難読化の方法を知りたいです
fork元のObfuscator-LLVMにある難読化機能がいくつか削られています。取り入れてもらえるとうれしいです。 - [Instructions Substitution · obfuscator-llvm/obfuscator Wiki](https://github.com/obfuscator-llvm/obfuscator/wiki/Instructions-Substitution) - [Bogus Control Flow · obfuscator-llvm/obfuscator Wiki](https://github.com/obfuscator-llvm/obfuscator/wiki/Bogus-Control-Flow)
例えば、UIKit.frameworkを追加すると無数のerrorが発生します。 解決方法がありますか? 