Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RandomControlFlow crashing and leaking memory #40

Open
ghost opened this issue Dec 1, 2022 · 5 comments
Open

RandomControlFlow crashing and leaking memory #40

ghost opened this issue Dec 1, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Dec 1, 2022

I'm using Pluto Obfuscator on NDK 23.2.8568313 . When using RandomControlFlow flag, it crashes and leaks memory to the max

PS C:\Users\Administrator\Desktop\AMain-Android-Hooking-Project> ./compile23

C:\Users\Administrator\Desktop\AMain-Android-Hooking-Project>E:\AndroidSDK\ndk\23.2.8568313\ndk-build
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
[armeabi-v7a] Compile++ arm  : ab <= dobby.cpp
[armeabi-v7a] Compile++ arm  : ab <= InterceptEntry.cpp
[armeabi-v7a] Compile++ arm  : ab <= Interceptor.cpp
[arm64-v8a] Compile++      : ab <= RoutingImpl.cc
[arm64-v8a] Compile++      : ab <= InterceptRouting.cpp
[arm64-v8a] Compile++      : ab <= dobby.cpp
[arm64-v8a] Compile++      : ab <= Interceptor.cpp
[arm64-v8a] Compile++      : ab <= InterceptEntry.cpp
[armeabi-v7a] Compile++ arm  : ab <= hook.cpp
[armeabi-v7a] Compile++ arm  : ab <= KittyMemory.cpp
[armeabi-v7a] Compile++ arm  : ab <= MemoryPatch.cpp
[armeabi-v7a] Compile++ arm  : ab <= KittyUtils.cpp
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF ./obj/local/armeabi-v7a/objs/ab/KittyMemory/KittyUtils.o.d -target armv7-none-linux-androideabi16 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include -Ijni -DANDROID -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -w -fpermissive -Wextra -std=c17 -fexceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasing -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvm -rcf -fexceptions -c jni/KittyMemory/KittyUtils.cpp -o ./obj/local/armeabi-v7a/objs/ab/KittyMemory/KittyUtils.o
1.      <eof> parser at end of file
2.      Code generation
[armeabi-v7a] Compile++ arm  : ab <= MemoryBackup.cpp
[armeabi-v7a] Compile++ arm  : ab <= fake_dlfcn.cpp
 #0 0x00007ff7aa38fff0 llvm::DIE::getUnitDie() const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1bdfff0)
 #1 0x00007ff7aa2a365c llvm::DwarfDebug::finalizeModuleInfo() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1af365c)
 #2 0x00007ff7aa2a3df6 llvm::DwarfDebug::endModule() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1af3df6)
 #3 0x00007ff7a9013f2a llvm::AsmPrinter::doFinalization(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x863f2a)
 #4 0x00007ff7a8b1dd81 llvm::FPPassManager::doFinalization(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x36dd81)
 #5 0x00007ff7a8b17ff1 llvm::legacy::PassManagerImpl::run(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x367ff1)
 #6 0x00007ff7a9ee1723 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1731723)
 #7 0x00007ff7aa21ea3a clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1a6ea3a)
 #8 0x00007ff7ab8a4a43 clang::ParseAST(clang::Sema&, bool, bool) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x30f4a43)
 #9 0x00007ff7aa18a444 clang::FrontendAction::Execute() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x19da444)
#10 0x00007ff7a8f92270 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7e2270)
#11 0x00007ff7a900a7b8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19 0x00007ff7a8f6d9c6 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\KittyUtils-8df4b4.cpp
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\KittyUtils-8df4b4.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/KittyMemory/KittyUtils.o] Error 1
make: *** Waiting for unfinished jobs....
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF ./obj/local/armeabi-v7a/objs/ab/hook.o.d -target armv7-none-linux-androideabi16 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include -Ijni -DANDROID -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -w -fpermissive -Wextra -std=c17 -fexceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasing -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvm -rcf -fexceptions -c jni/hook.cpp -o ./obj/local/armeabi-v7a/objs/ab/hook.o
1.      <eof> parser at end of file
2.      Code generation
 #0 0x00007ff7aa38fff0 llvm::DIE::getUnitDie() const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1bdfff0)
 #1 0x00007ff7aa2a365c llvm::DwarfDebug::finalizeModuleInfo() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1af365c)
 #2 0x00007ff7aa2a3df6 llvm::DwarfDebug::endModule() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1af3df6)
 #3 0x00007ff7a9013f2a llvm::AsmPrinter::doFinalization(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x863f2a)
 #4 0x00007ff7a8b1dd81 llvm::FPPassManager::doFinalization(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x36dd81)
 #5 0x00007ff7a8b17ff1 llvm::legacy::PassManagerImpl::run(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x367ff1)
 #6 0x00007ff7a9ee1723 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1731723)
 #7 0x00007ff7aa21ea3a clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1a6ea3a)
 #8 0x00007ff7ab8a4a43 clang::ParseAST(clang::Sema&, bool, bool) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x30f4a43)
 #9 0x00007ff7aa18a444 clang::FrontendAction::Execute() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x19da444)
#10 0x00007ff7a8f92270 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7e2270)
#11 0x00007ff7a900a7b8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19 0x00007ff7a8f6d9c6 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\hook-68ff46.cpp
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\hook-68ff46.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/hook.o] Error 1
PS C:\Users\Administrator\Desktop\AMain-Android-Hooking-Project>

@bluesadi bluesadi added the bug Something isn't working label Dec 2, 2022
@bluesadi
Copy link
Owner

bluesadi commented Dec 2, 2022

Thanks for your report. RandomControlFlow does have many bugs, but they are not gonna fixed in recent months.

So I'd like to suggest you use the recommended obfuscation passes.

@ghost
Copy link
Author

ghost commented Dec 7, 2022

OK, I use recommended passes but it still crashes

Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
[armeabi-v7a] Compile++ arm  : ab <= InterceptRouting.cpp
[armeabi-v7a] Compile++ arm  : ab <= dobby.cpp
[armeabi-v7a] Compile++ arm  : ab <= Interceptor.cpp
[armeabi-v7a] Compile++ arm  : ab <= InterceptEntry.cpp
[arm64-v8a] Compile++      : ab <= InterceptRouting.cpp
[arm64-v8a] Compile++      : ab <= dobby.cpp
[arm64-v8a] Compile++      :[arm64-v8a] Compile++      : ab <= InterceptEntry.cpp
 ab <= Interceptor.cpp
[armeabi-v7a] Compile++ arm  : ab <= hook.cpp
[armeabi-v7a] Compile++ arm  :[armeabi-v7a] Compile++ arm  : ab <= MemoryPatch.cpp
 ab <= KittyMemory.cpp
[armeabi-v7a] Compile++ arm  : ab <= KittyUtils.cpp
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF ./obj/local/armeabi-v7a/objs/ab/KittyMemory/MemoryPatch.o.d -target armv7-none-linux-androideabi16 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include -Ijni -DANDROID -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -w -fpermissive -Wextra -std=c17 -fexceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasing -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvPLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exme  --mMbMaD -mllvm -mba-prob=5 0- -MmlPl v-mM F- f.l/a-eoxb j-m/lllovcma l-/galer m-efaebxic-ev7pat/ioobnsj s-/ca bj/niK/iKtittytMyeMmeomroyr/yK/iMtetmyoMreymPoartyc.ho..cdp p- t-aor g.e/to bajr/mlvo7-noncea-l/lairnmuexa-bain-dvr7oidae/aobbjis1/6a b-/fKdiatttay-Mseections -ffunction-sections -fstack-protector-stronmg o-rfyu/nMweimnodr-ytPaabltecsh -no.-oc
1.      a<eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager'n on module 'ojni/KittyMemory/MemoryPatch.cppn'.
4i.     cRunning pass 'aAggressive Dead Code Eliminationl'- on pfunctionr 'ef@i_ZNSt6__ndk113__vector_baseIhNS_9allocatorIhEEE5clearEv'
xes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include  -#0I j0x00007ff7a8c98931n i(anonymous namespace)::AggressiveDeadCodeElimination::markLive(llvm::Instruction*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e8931)
 #1  -0x00007ff7a8c96e80 D(anonymous namespace)::AggressiveDeadCodeElimination::performDeadCodeElimination()A N(DE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+RO0x4e6e80I)D
  #2- W0x00007ff7a8c994feno -(anonymous namespace)::ADCELegacyPass::runOnFunction(llvm::Function&)e r(rE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+o0x4e94fer)=
 f#3o rm0x00007ff7a8b167b4a tllvm::FPPassManager::runOnFunction(llvm::Function&)- s(eE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+c0x3667b4u)r
 i#4t y0x00007ff7a9b8b3cb  -(anonymous namespace)::CGPassManager::runOnModule(llvm::Module&)fv i(sE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+ib0x13db3cbi)l
 i#5t 0x00007ff7a8b174aay =llvm::legacy::PassManagerImpl::run(llvm::Module&)h i(dE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+d0x3674aae)n
  #6- ffunction-s0x00007ff7a9ee167de cclang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) t(iE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exeo+n0x173167ds)
 -#7f d0x00007ff7aa21ea3aat aclang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)- s(eE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+c0x1a6ea3at)i
 o#8n s0x00007ff7ab8a4a43  -clang::ParseAST(clang::Sema&, bool, bool)w  (-E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+f0x30f4a43p)er
 m#9i s0x00007ff7aa18a444s iclang::FrontendAction::Execute()ve  (-E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+W0x19da444e)x
#10tr a0x00007ff7a8f92270  clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)- s(tE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+d0x7e2270=)c
#111 70x00007ff7a900a7b8  -clang::ExecuteCompilerInvocation(clang::CompilerInstance*)f exceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasi(nE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
g -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvm -mba -mllvm -mba-prob=50 -mllvm -fla-ex -mllvm -gle -fexceptions -c jni/KittyMemory/KittyMemory.cpp -o ./obj/local/armeabi#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19 0x00007ff7a8f6d9c6 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++: -v7a/objs/ab/KittyMemory/KittyMemory.o
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module 'jni/KittyMemory/KittyMemory.cpp'.
4.      Running pass 'Aggressive Dead Code Elimination' on function '@_ZNSt6__ndk113__vector_baseI9mapsCacheNS_9allocatorIS1_EEE5clearEv'
error: clang frontend command failed due to signal (use -v to see invocation)
clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
 #0 0x00007ff7a8c98931 (anonymous namespace)::AggressiveDeadCodeElimination::markLive(llvm::Instruction*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e8931)
 #1 0x00007ff7a8c96e80 (anonymous namespace)::AggressiveDeadCodeElimination::performDeadCodeElimination() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e6e80)
 #2 0x00007ff7a8c994fe (anonymous namespace)::ADCELegacyPass::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e94fe)
 #3 0x00007ff7a8b167b4 llvm::FPPassManager::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3667b4)
 #4 0x00007ff7a9b8b3cb (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x13db3cb)
 #5 0x00007ff7a8b174aa llvm::legacy::PassManagerImpl::run(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3674aa)
 #6 0x00007ff7a9ee167d clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x173167d)
 #7 0x00007ff7aa21ea3a clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1a6ea3a)
 #8 0x00007ff7ab8a4a43 clang::ParseAST(clang::Sema&, bool, bool) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x30f4a43)
 #9 0x00007ff7aa18a444 clang::FrontendAction::Execute() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x19da444)
#10 0x00007ff7a8f92270 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7e2270)
#11 0x00007ff7a900a7b8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19clang++ : 0x00007ff7a8f6d9c6 noteclang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) : (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++:
clang++: error: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\MemoryPatch-323887.cppclang frontend command failed due to signal (use -v to see invocation)

clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
clang++: Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\MemoryPatch-323887.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/KittyMemory/MemoryPatch.o] Error 1
make: *** Waiting for unfinished jobs....
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\KittyMemory-53d2f8.cpp
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\KittyMemory-53d2f8.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/KittyMemory/KittyMemory.o] Error 1
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF ./obj/local/armeabi-v7a/objs/ab/hook.o.d -target armv7-none-linux-androideabi16 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include -Ijni -DANDROID -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -w -fpermissive -Wextra -std=c17 -fexceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasing -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvm -mba -mllvm -mba-prob=50 -mllvm -fla-ex -mllvm -gle -fexceptions -c jni/hook.cpp -o ./obj/local/armeabi-v7a/objs/ab/hook.o
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module 'jni/hook.cpp'.
4.      Running pass 'Aggressive Dead Code Elimination' on function '@_ZNSt6__ndk113__vector_baseIN4CPAD9CandidateENS_9allocatorIS2_EEE5clearEv'
 #0 0x00007ff7a8c98931 (anonymous namespace)::AggressiveDeadCodeElimination::markLive(llvm::Instruction*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e8931)
 #1 0x00007ff7a8c96e80 (anonymous namespace)::AggressiveDeadCodeElimination::performDeadCodeElimination() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e6e80)
 #2 0x00007ff7a8c994fe (anonymous namespace)::ADCELegacyPass::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e94fe)
 #3 0x00007ff7a8b167b4 llvm::FPPassManager::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3667b4)
 #4 0x00007ff7a9b8b3cb (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x13db3cb)
 #5 0x00007ff7a8b174aa llvm::legacy::PassManagerImpl::run(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3674aa)
 #6 0x00007ff7a9ee167d clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x173167d)
 #7 0x00007ff7aa21ea3a clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1a6ea3a)
 #8 0x00007ff7ab8a4a43 clang::ParseAST(clang::Sema&, bool, bool) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x30f4a43)
 #9 0x00007ff7aa18a444 clang::FrontendAction::Execute() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x19da444)
#10 0x00007ff7a8f92270 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7e2270)
#11 0x00007ff7a900a7b8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19 0x00007ff7a8f6d9c6 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\hook-09c82e.cpp
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\hook-09c82e.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/hook.o] Error 1

@ghost ghost mentioned this issue Mar 8, 2023
@magicjva
Copy link

magicjva commented Apr 5, 2023

It's just a toy, it won't work

@ghost
Copy link
Author

ghost commented Apr 9, 2023

It's just a toy, it won't work

lmao

@filzeropp
Copy link

OK, I use recommended passes but it still crashes

Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
[armeabi-v7a] Compile++ arm  : ab <= InterceptRouting.cpp
[armeabi-v7a] Compile++ arm  : ab <= dobby.cpp
[armeabi-v7a] Compile++ arm  : ab <= Interceptor.cpp
[armeabi-v7a] Compile++ arm  : ab <= InterceptEntry.cpp
[arm64-v8a] Compile++      : ab <= InterceptRouting.cpp
[arm64-v8a] Compile++      : ab <= dobby.cpp
[arm64-v8a] Compile++      :[arm64-v8a] Compile++      : ab <= InterceptEntry.cpp
 ab <= Interceptor.cpp
[armeabi-v7a] Compile++ arm  : ab <= hook.cpp
[armeabi-v7a] Compile++ arm  :[armeabi-v7a] Compile++ arm  : ab <= MemoryPatch.cpp
 ab <= KittyMemory.cpp
[armeabi-v7a] Compile++ arm  : ab <= KittyUtils.cpp
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF ./obj/local/armeabi-v7a/objs/ab/KittyMemory/MemoryPatch.o.d -target armv7-none-linux-androideabi16 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include -Ijni -DANDROID -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -w -fpermissive -Wextra -std=c17 -fexceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasing -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvPLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exme  --mMbMaD -mllvm -mba-prob=5 0- -MmlPl v-mM F- f.l/a-eoxb j-m/lllovcma l-/galer m-efaebxic-ev7pat/ioobnsj s-/ca bj/niK/iKtittytMyeMmeomroyr/yK/iMtetmyoMreymPoartyc.ho..cdp p- t-aor g.e/to bajr/mlvo7-noncea-l/lairnmuexa-bain-dvr7oidae/aobbjis1/6a b-/fKdiatttay-Mseections -ffunction-sections -fstack-protector-stronmg o-rfyu/nMweimnodr-ytPaabltecsh -no.-oc
1.      a<eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager'n on module 'ojni/KittyMemory/MemoryPatch.cppn'.
4i.     cRunning pass 'aAggressive Dead Code Eliminationl'- on pfunctionr 'ef@i_ZNSt6__ndk113__vector_baseIhNS_9allocatorIhEEE5clearEv'
xes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include  -#0I j0x00007ff7a8c98931n i(anonymous namespace)::AggressiveDeadCodeElimination::markLive(llvm::Instruction*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e8931)
 #1  -0x00007ff7a8c96e80 D(anonymous namespace)::AggressiveDeadCodeElimination::performDeadCodeElimination()A N(DE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+RO0x4e6e80I)D
  #2- W0x00007ff7a8c994feno -(anonymous namespace)::ADCELegacyPass::runOnFunction(llvm::Function&)e r(rE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+o0x4e94fer)=
 f#3o rm0x00007ff7a8b167b4a tllvm::FPPassManager::runOnFunction(llvm::Function&)- s(eE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+c0x3667b4u)r
 i#4t y0x00007ff7a9b8b3cb  -(anonymous namespace)::CGPassManager::runOnModule(llvm::Module&)fv i(sE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+ib0x13db3cbi)l
 i#5t 0x00007ff7a8b174aay =llvm::legacy::PassManagerImpl::run(llvm::Module&)h i(dE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+d0x3674aae)n
  #6- ffunction-s0x00007ff7a9ee167de cclang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) t(iE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exeo+n0x173167ds)
 -#7f d0x00007ff7aa21ea3aat aclang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)- s(eE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+c0x1a6ea3at)i
 o#8n s0x00007ff7ab8a4a43  -clang::ParseAST(clang::Sema&, bool, bool)w  (-E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+f0x30f4a43p)er
 m#9i s0x00007ff7aa18a444s iclang::FrontendAction::Execute()ve  (-E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+W0x19da444e)x
#10tr a0x00007ff7a8f92270  clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)- s(tE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+d0x7e2270=)c
#111 70x00007ff7a900a7b8  -clang::ExecuteCompilerInvocation(clang::CompilerInstance*)f exceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasi(nE:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
g -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvm -mba -mllvm -mba-prob=50 -mllvm -fla-ex -mllvm -gle -fexceptions -c jni/KittyMemory/KittyMemory.cpp -o ./obj/local/armeabi#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19 0x00007ff7a8f6d9c6 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++: -v7a/objs/ab/KittyMemory/KittyMemory.o
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module 'jni/KittyMemory/KittyMemory.cpp'.
4.      Running pass 'Aggressive Dead Code Elimination' on function '@_ZNSt6__ndk113__vector_baseI9mapsCacheNS_9allocatorIS1_EEE5clearEv'
error: clang frontend command failed due to signal (use -v to see invocation)
clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
 #0 0x00007ff7a8c98931 (anonymous namespace)::AggressiveDeadCodeElimination::markLive(llvm::Instruction*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e8931)
 #1 0x00007ff7a8c96e80 (anonymous namespace)::AggressiveDeadCodeElimination::performDeadCodeElimination() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e6e80)
 #2 0x00007ff7a8c994fe (anonymous namespace)::ADCELegacyPass::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e94fe)
 #3 0x00007ff7a8b167b4 llvm::FPPassManager::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3667b4)
 #4 0x00007ff7a9b8b3cb (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x13db3cb)
 #5 0x00007ff7a8b174aa llvm::legacy::PassManagerImpl::run(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3674aa)
 #6 0x00007ff7a9ee167d clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x173167d)
 #7 0x00007ff7aa21ea3a clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1a6ea3a)
 #8 0x00007ff7ab8a4a43 clang::ParseAST(clang::Sema&, bool, bool) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x30f4a43)
 #9 0x00007ff7aa18a444 clang::FrontendAction::Execute() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x19da444)
#10 0x00007ff7a8f92270 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7e2270)
#11 0x00007ff7a900a7b8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19clang++ : 0x00007ff7a8f6d9c6 noteclang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) : (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++:
clang++: error: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\MemoryPatch-323887.cppclang frontend command failed due to signal (use -v to see invocation)

clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
clang++: Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\MemoryPatch-323887.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/KittyMemory/MemoryPatch.o] Error 1
make: *** Waiting for unfinished jobs....
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\KittyMemory-53d2f8.cpp
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\KittyMemory-53d2f8.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/KittyMemory/KittyMemory.o] Error 1
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -MMD -MP -MF ./obj/local/armeabi-v7a/objs/ab/hook.o.d -target armv7-none-linux-androideabi16 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fpic -march=armv7-a -O2 -DNDEBUG -Ijni/thirdparty/include -Ijni/thirdparty/whale/include -Ijni/Substrate -Ijni/JNI -Ijni/dobby/include -Ijni/dobby/source/InterceptRouting/Routing/FunctionInlineReplace -Ijni/dobby/source -Ijni/dobby/source/include -Ijni/dobby/xnucxx/xnucxx -Ijni/dobby/external/logging -Ijni/dobby/external/misc-helper -Ijni/dobby/external -Ijni/dobby/external -Ijni/dobby/source/Backend/UserMode/ -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++/include -IE:/AndroidSDK/ndk/23.2.8568313/build//../sources/cxx-stl/llvm-libc++abi/include -Ijni -DANDROID -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -w -fpermissive -Wextra -std=c17 -fexceptions -nostdinc++ -Wformat -Werror=format-security -fno-strict-aliasing -Wno-error=format-security -fvisibility=hidden -ffunction-sections -fdata-sections -Werror -std=c++17 -w -fms-extensions -fpermissive -fexceptions -Wno-error=c++11-narrowing -mllvm -mba -mllvm -mba-prob=50 -mllvm -fla-ex -mllvm -gle -fexceptions -c jni/hook.cpp -o ./obj/local/armeabi-v7a/objs/ab/hook.o
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module 'jni/hook.cpp'.
4.      Running pass 'Aggressive Dead Code Elimination' on function '@_ZNSt6__ndk113__vector_baseIN4CPAD9CandidateENS_9allocatorIS2_EEE5clearEv'
 #0 0x00007ff7a8c98931 (anonymous namespace)::AggressiveDeadCodeElimination::markLive(llvm::Instruction*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e8931)
 #1 0x00007ff7a8c96e80 (anonymous namespace)::AggressiveDeadCodeElimination::performDeadCodeElimination() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e6e80)
 #2 0x00007ff7a8c994fe (anonymous namespace)::ADCELegacyPass::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x4e94fe)
 #3 0x00007ff7a8b167b4 llvm::FPPassManager::runOnFunction(llvm::Function&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3667b4)
 #4 0x00007ff7a9b8b3cb (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x13db3cb)
 #5 0x00007ff7a8b174aa llvm::legacy::PassManagerImpl::run(llvm::Module&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x3674aa)
 #6 0x00007ff7a9ee167d clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x173167d)
 #7 0x00007ff7aa21ea3a clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x1a6ea3a)
 #8 0x00007ff7ab8a4a43 clang::ParseAST(clang::Sema&, bool, bool) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x30f4a43)
 #9 0x00007ff7aa18a444 clang::FrontendAction::Execute() (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x19da444)
#10 0x00007ff7a8f92270 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7e2270)
#11 0x00007ff7a900a7b8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x85a7b8)
#12 0x00007ff7a87b6252 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x6252)
#13 0x00007ff7a87b464a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x464a)
#14 0x00007ff7a9faa1e6 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long long) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17fa1e6)
#15 0x00007ff7a8e3dd53 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x68dd53)
#16 0x00007ff7a9fa9c80 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x17f9c80)
#17 0x00007ff7a8f5b124 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab124)
#18 0x00007ff7a8f5b505 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7ab505)
#19 0x00007ff7a8f6d9c6 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x7bd9c6)
#20 0x00007ff7a87b403b main (E:\AndroidSDK\ndk\23.2.8568313\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe+0x403b)
#21 0x00007ff7a87b13d6 __tmainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:329:13
#22 0x00007ff7a87b1426 mainCRTStartup /build/mingw-w64/mingw-w64-crt/build-x86_64\../crt\crtexe.c:208:3
#23 0x00007ffec34d74b4 (C:\windows\System32\KERNEL32.DLL+0x174b4)
#24 0x00007ffec41626a1 (C:\windows\SYSTEM32\ntdll.dll+0x526a1)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 12.0.1 (https://github.com/bluesadi/Pluto-Obfuscator.git 62972af5be7eeb6ddca9bdcf4dc1c7cb6964c5d2)
Target: armv7-none-linux-android16
Thread model: posix
InstalledDir: E:/AndroidSDK/ndk/23.2.8568313/build//../toolchains/llvm/prebuilt/windows-x86_64/bin
clang++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\hook-09c82e.cpp
clang++: note: diagnostic msg: C:\Users\ADMINI~1\AppData\Local\Temp\hook-09c82e.sh
clang++: note: diagnostic msg:

********************
make: *** [E:/AndroidSDK/ndk/23.2.8568313/build//../build/core/build-binary.mk:478: obj/local/armeabi-v7a/objs/ab/hook.o] Error 1

This error is specifically coming from "fla-ex" you can fix this error by two ways,

First - remove fla-ex lmao
Secound - remove everything from your source which contains std::vector or std:string or anything related it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants