obfuscator-llvm / obfuscator

3.9k stars 1.17k forks source link

<vector> not found obfuscating c++11 #127

Open sonvirgo opened 6 years ago

sonvirgo commented 6 years ago
$ clang++ --version
Obfuscator-LLVM clang version 4.0.1  (based on Obfuscator-LLVM 4.0.1)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Volumes/osxext/build/bin
$ make
clang++ -I. -I/usr/local/Cellar/openssl/1.0.2p/include/ -lcrypto -lssl  -lcurl -std=c++11 -W -g -framework Foundation -stdlib=libc++  -mllvm -sub -mllvm -fla -mllvm -bcf   -o embed.out embed.cpp h.cpp
In file included from embed.cpp:25:
./a.h:2:10: fatal error: 'vector' file not found
#include <vector>
         ^~~~~~~~
1 error generated.
make: *** [amake] Error 1
sonvirgo commented 6 years ago

Ok , I download official LLVM/Clang precompile LLVM-Clang 4.0.1 then copy over build/bin/* it compile ok without flags -mllvm -sub -mllvm -fla -mllvm -bcf but hang it compile with above flags?

sonvirgo commented 6 years ago

the flag that hang, is actually this one -mllvm -bcf

sonvirgo commented 6 years ago

even with the above 2 flags. obsfucator seem to do nothing in REC STUDIO 4, all function name not change, string const remain unchanged

icu996fuck commented 4 years ago

hello,i have same bug