Comments (6)
Honestly, the last time i tested clang 17 and libc++17, it worked fine for me. What are the errors you are getting?
from obfuscator.
Update: I tried on my macbook m3 and it worked with llvm17. Just can‘t succeed on my kali in wsl2.
from obfuscator.
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, std::__1::allocator>::~basic_string()
ld.lld: error: undefined symbol: std::__1::random_device::operator()()
ld.lld: error: undefined symbol: std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>::operator=(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&)
ld.lld: error: undefined symbol: std::__1::random_device::~random_device()
ld.lld: error: undefined symbol: std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>::basic_string(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&)
ld.lld: error: undefined symbol: std::__1::stoull(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, unsigned long*, int)
ld.lld: error: undefined symbol: std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&)
ld.lld: error: undefined symbol: std::__1::__fs::filesystem::path::replace_extension(std::__1::__fs::filesystem::path const&)
ld.lld: error: undefined symbol: std::__1::__fs::filesystem::__status(std::__1::__fs::filesystem::path const&, std::__1::error_code*)
ld.lld: error: undefined symbol: std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>::assign(char const*)
ld.lld: error: undefined symbol: std::__1::__next_prime(unsigned long)
So many these error after [100%] Linking CXX executable obfuscator
from obfuscator.
Are you sure that you installed both libc++-17-dev and libc++abi-17-dev?
from obfuscator.
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)
from obfuscator.
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
from obfuscator.
Related Issues (14)
- iOS Support HOT 2
- RUNTIME ERROR: pe: rebuilder: unable to write section raw data HOT 2
- bb->successors empty inside insert_jmps HOT 5
- RUNTIME ERROR: obfuscator: got 0 functions to protect HOT 1
- Strip second executable section HOT 3
- runtime error: parsed 0 functions HOT 4
- Does nothing HOT 7
- RUNTIME ERROR: pe: duplicated rva entry HOT 1
- Feedback HOT 1
- Split up functions with only one basic block into multiple
- Create source files for header only files
- hi, can I use this after use Themida? HOT 1
- Error during building with cmake HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obfuscator.