obfuscator
obfuscator copied to clipboard
What is the enviroment&version of build tool-chain?
I have tried clang17/libc++abi-17-dev on kali but failed on linker (looks like some symbols couldn't found in libc++, compiled 100% ) Then I tried other llvm docker but also failed . If would be helpful to provide some version information as c++23 is not stably supported
Honestly, the last time i tested clang 17 and libc++17, it worked fine for me. What are the errors you are getting?
Honestly, the last time i tested clang 17 and libc++17, it worked fine for me. What are the errors you are getting?
I got things like:
ld.lld: error: undefined symbol: std::__1::basic_string<char, std::__1::char_traits
So many these error after [100%] Linking CXX executable obfuscator
Are you sure that you installed both libc++-17-dev and libc++abi-17-dev?
dpkg -l | grep libc++ ii libc++-17-dev:amd64 1:17.0.6-5 amd64 LLVM C++ Standard library (development files) ii libc++1-17:amd64 1:17.0.6-5 amd64 LLVM C++ Standard library ii libc++abi-17-dev:amd64 1:17.0.6-5 amd64 LLVM low level support for a standard C++ library (development files) ii libc++abi1-17:amd64 1:17.0.6-5 amd64 LLVM low level support for a standard C++ library
CC=clang-17 CXX=clang++-17
[100%] Linking CXX executable obfuscator
ld.lld: error: undefined symbol: std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>::~basic_string()
.........
ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++-17: error: linker command failed with exit code 1 (use -v to see invocation)
OS: wsl2 (kali)
Update: I tried on my macbook m3 and it worked with llvm17. Just can‘t succeed on my kali in wsl2.
Update: I tried on my macbook m3 and it worked with llvm17. Just can‘t succeed on my kali in wsl2.
Can you checkout to the dev branch and remove -Wl,-L/usr/local/lib/ from https://github.com/es3n1n/obfuscator/blob/dev/src/cmake.toml#L6 ? Then make a new cmake build and try to build it