Git Product home page Git Product logo

Comments (3)

sourvodka2023 avatar sourvodka2023 commented on August 23, 2024

Same problem

from obfuscator.

AntonPripyat avatar AntonPripyat commented on August 23, 2024

I got the same issue too. I'm using cmake with NDK 25

[D:\Android\Sdk\cmake\3.22.1\bin\cmake, -HD:\A\AT\oc5BF\nmm\dex2c, -DCMAKE_TOOLCHAIN_FILE=D:\Android\Sdk\ndk\25.1.8937393\build\cmake\android.toolchain.cmake, -DCMAKE_BUILD_TYPE=Release, -DANDROID_ABI=arm64-v8a, -DANDROID_NDK=D:/Android/Sdk/ndk/25.1.8937393, -DANDROID_PLATFORM=android-21, -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a, -DCMAKE_ANDROID_NDK=D:/Android/Sdk/ndk/25.1.8937393, -DCMAKE_EXPORT_COMPILE_COMMANDS=ON, -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\A\AT\oc5BF\nmm\obj\arm64-v8a, -DCMAKE_MAKE_PROGRAM=D:\Android\Sdk\cmake\3.22.1\bin\ninja, -DCMAKE_SYSTEM_NAME=Android, -DCMAKE_SYSTEM_VERSION=21, -BD:\A\AT\oc5BF\nmm\.cxx\cmake\Release\arm64-v8a, -GNinja]
-- The C compiler identification is Clang 14.0.6
-- The CXX compiler identification is Clang 14.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: D:/A/AT/oc5BF/nmm/.cxx/cmake/Release/arm64-v8a
[D:\Android\Sdk\cmake\3.22.1\bin\cmake, --build, D:\A\AT\oc5BF\nmm\.cxx\cmake\Release\arm64-v8a]
[1/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/ConstantPool.c.o
[2/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes5_native_functions.c.o
[3/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes4_native_functions.c.o
[4/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes3_native_functions.c.o
[5/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes8_native_functions.c.o
[6/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes6_native_functions.c.o
[7/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o
[8/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes7_native_functions.c.o
[9/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/jni_init.c.o
[10/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes_native_functions.c.o
[11/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes9_native_functions.c.o
[12/19] Building C object CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes10_native_functions.c.o
[13/19] Building CXX object vm/CMakeFiles/RjjptjURNkyiz.dir/Exception.cpp.o
[14/19] Building CXX object vm/CMakeFiles/RjjptjURNkyiz.dir/Interp.cpp.o
[15/19] Building CXX object vm/CMakeFiles/RjjptjURNkyiz.dir/GlobalCache.cpp.o
[16/19] Building CXX object vm/CMakeFiles/RjjptjURNkyiz.dir/DexCatch.cpp.o
[17/19] Building CXX object vm/CMakeFiles/RjjptjURNkyiz.dir/InterpC-portable.cpp.o
vmInterpret Contains Exception Handing Instructions and is unsupported for flattening in the open-source version of Hikari.
[18/19] Linking CXX shared library D:\A\AT\oc5BF\nmm\obj\arm64-v8a\libRjjptjURNkyiz.so
[19/19] Linking C shared library D:\A\AT\oc5BF\nmm\obj\arm64-v8a\libbevuOKmgzuPtrh.so
FAILED: D:/A/AT/oc5BF/nmm/obj/arm64-v8a/libbevuOKmgzuPtrh.so 
cmd.exe /C "cd . && D:\Android\Sdk\ndk\25.1.8937393\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android21 --sysroot=D:/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -mllvm -sub -mllvm -fla -mllvm -split -mllvm -bcf -mllvm -sobf -mllvm -aesSeed=0x29da86e29c7595ad14ea994897b8c76f -O3 -DNDEBUG  -fvisibility=hidden -Wno-error=format-security -ffunction-sections -fdata-sections -w  -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Wl,--gc-sections -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libbevuOKmgzuPtrh.so -o D:\A\AT\oc5BF\nmm\obj\arm64-v8a\libbevuOKmgzuPtrh.so CMakeFiles/bevuOKmgzuPtrh.dir/ConstantPool.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes10_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes3_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes4_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes5_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes6_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes7_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes8_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes9_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes_native_functions.c.o CMakeFiles/bevuOKmgzuPtrh.dir/generated/jni_init.c.o  D:/A/AT/oc5BF/nmm/obj/arm64-v8a/libRjjptjURNkyiz.so  -llog  -latomic -lm && cd ."
Exception in thread "main" java.io.IOException: Cmd '[D:\Android\Sdk\cmake\3.22.1\bin\cmake, --build, D:\A\AT\oc5BF\nmm\.cxx\cmake\Release\arm64-v8a]' exec failed
ld: error: duplicate symbol: .datadiv_decode14541771729251396985
	at com.nmmedit.apkprotect.BuildNativeLib.execCmd(BuildNativeLib.java:61)
>>> defined at classes2_native_functions.c
	at com.nmmedit.apkprotect.BuildNativeLib.build(BuildNativeLib.java:27)
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o:(.datadiv_decode14541771729251396985)
	at com.nmmedit.apkprotect.ApkProtect.generateNativeLibs(ApkProtect.java:237)
>>> defined at classes3_native_functions.c
	at com.nmmedit.apkprotect.ApkProtect.run(ApkProtect.java:137)
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes3_native_functions.c.o:(.text..datadiv_decode14541771729251396985+0x0)
	at com.nmmedit.protect.Main.main(Main.java:60)
ld: error: duplicate symbol: .datadiv_decode14541771729251396985
>>> defined at classes2_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o:(.datadiv_decode14541771729251396985)
>>> defined at classes4_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes4_native_functions.c.o:(.text..datadiv_decode14541771729251396985+0x0)
ld: error: duplicate symbol: .datadiv_decode14541771729251396985
>>> defined at classes2_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o:(.datadiv_decode14541771729251396985)
>>> defined at classes5_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes5_native_functions.c.o:(.text..datadiv_decode14541771729251396985+0x0)
ld: error: duplicate symbol: .datadiv_decode14541771729251396985
>>> defined at classes2_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o:(.datadiv_decode14541771729251396985)
>>> defined at classes6_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes6_native_functions.c.o:(.text..datadiv_decode14541771729251396985+0x0)
ld: error: duplicate symbol: .datadiv_decode14541771729251396985
>>> defined at classes2_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o:(.datadiv_decode14541771729251396985)
>>> defined at classes7_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes7_native_functions.c.o:(.text..datadiv_decode14541771729251396985+0x0)
ld: error: duplicate symbol: .datadiv_decode14541771729251396985
>>> defined at classes2_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o:(.datadiv_decode14541771729251396985)
>>> defined at classes8_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes8_native_functions.c.o:(.text..datadiv_decode14541771729251396985+0x0)
ld: error: duplicate symbol: .datadiv_decode14541771729251396985
>>> defined at classes2_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes2_native_functions.c.o:(.datadiv_decode14541771729251396985)
>>> defined at classes_native_functions.c
>>>            CMakeFiles/bevuOKmgzuPtrh.dir/generated/classes_native_functions.c.o:(.text..datadiv_decode14541771729251396985+0x0)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

from obfuscator.

VanHoevenTR avatar VanHoevenTR commented on August 23, 2024

Kk, I tried heroims ollvm 9.0.1 on NDK 21.3 and got the same error too, so aesSeed is obviously broken

from obfuscator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.