seg fault when apply "string encryption"
Nathaniel100 opened this issue · 0 comments
Nathaniel100 commented
Crash when using string encryption, based on ndk 25.2.9519653, Macos 13.5
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 clang-14 0x000000010c5a890b llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long) + 352411
1 clang-14 0x000000010c5a79c5 llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long) + 348501
2 clang-14 0x000000010c50a7b7 llvm::cl::opt<bool, false, llvm::cl::parser<bool> >::setCallback(std::__1::function<void (bool const&)>) + 64263
3 clang-14 0x000000010c50a96d llvm::cl::opt<bool, false, llvm::cl::parser<bool> >::setCallback(std::__1::function<void (bool const&)>) + 64701
4 libsystem_platform.dylib 0x00007ff8178df5ed _sigtramp + 29
5 libLLVMObfuscator.dylib 0x000000011090acb3 llvm::Value::setName(llvm::Twine const&) + 51
6 libLLVMObfuscator.dylib 0x00000001107eec56 llvm::ConstantFoldGetElementPtr(llvm::Type*, llvm::Constant*, bool, llvm::Optional<unsigned int>, llvm::ArrayRef<llvm::Value*>) + 166
7 libLLVMObfuscator.dylib 0x000000011080fd95 llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, llvm::Optional<unsigned int>, llvm::Type*) + 85
8 libLLVMObfuscator.dylib 0x000000011087e1d4 llvm::ConstantFolder::FoldGEP(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, bool) const + 100
9 libLLVMObfuscator.dylib 0x00000001107a69d5 llvm::IRBuilderBase::CreateConstInBoundsGEP2_32(llvm::Type*, llvm::Value*, unsigned int, unsigned int, llvm::Twine const&) + 133
10 libLLVMObfuscator.dylib 0x00000001107a6717 llvm::StringObfuscatorPass::addDecodeAllStringsFunction(llvm::Module&, llvm::Function*) + 599
11 libLLVMObfuscator.dylib 0x00000001107a6ab8 llvm::StringObfuscatorPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 56
12 libLLVMObfuscator.dylib 0x000000011079b292 llvm::detail::PassModel<llvm::Module, llvm::StringObfuscatorPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 18
13 clang-14 0x000000010bf7ff78 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 360
14 clang-14 0x000000010c8046ce void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 692670
15 clang-14 0x000000010ca70590 void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 3231872
16 clang-14 0x000000010d9b5c3e llvm::IRComparer<llvm::EmptyData>::generateFunctionData(llvm::IRDataT<llvm::EmptyData>&, llvm::Function const&) + 6454878
17 clang-14 0x000000010ccd1ba0 llvm::Registry<clang::PluginASTAction>::begin() + 12000
18 clang-14 0x000000010cc57ac7 void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 5227959
19 clang-14 0x000000010cd21f06 llvm::Registry<clang::PluginASTAction>::begin() + 340550
20 clang-14 0x000000010b2b2baa
21 clang-14 0x000000010b2b0621
22 clang-14 0x000000010cb61c17 void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 4220679
23 clang-14 0x000000010c50a71b llvm::cl::opt<bool, false, llvm::cl::parser<bool> >::setCallback(std::__1::function<void (bool const&)>) + 64107
24 clang-14 0x000000010cb615da void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 4219082
25 clang-14 0x000000010cb3c181 void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 4066417
26 clang-14 0x000000010cb3c4cd void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 4067261
27 clang-14 0x000000010cb4dbdd void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::VPBlockBase, false> >(llvm::DominatorTreeBase<llvm::VPBlockBase, false>&) + 4138701
28 clang-14 0x000000010b2af996
29 dyld 0x00007ff81755841f start + 1903
clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
Android (9352603, based on r450784d1) clang version 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)
Target: armv7-none-linux-android19
Thread model: posix