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

进程已结束,退出代码为 -1073740791 (0xC0000409) #664

Open
wuliang9524 opened this issue Aug 21, 2024 · 2 comments
Open

进程已结束,退出代码为 -1073740791 (0xC0000409) #664

wuliang9524 opened this issue Aug 21, 2024 · 2 comments

Comments

@wuliang9524
Copy link

自己尝试解决了很长时间无果~
将项目的 master 下载下来并且依赖库下载完成后,运行案例 TTEncrypt.java 后报错:
"D:\Program Files\Java\jdk-22\bin\java.exe" "-javaagent:D:\Program Files\IntelliJ IDEA 2023.3.5\lib\idea_rt.jar=64135:D:\Program Files\IntelliJ IDEA 2023.3.5\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath D:\WWW\unidbg-test\unidbg-android\target\test-classes;D:\WWW\unidbg-test\unidbg-android\target\classes;D:\WWW\unidbg-test\unidbg-api\target\classes;C:\Users\ASUS.m2\repository\com\github\zhkl0228\unicorn\1.0.14\unicorn-1.0.14.jar;C:\Users\ASUS.m2\repository\org\scijava\native-lib-loader\2.3.5\native-lib-loader-2.3.5.jar;C:\Users\ASUS.m2\repository\com\github\zhkl0228\capstone\3.1.8\capstone-3.1.8.jar;C:\Users\ASUS.m2\repository\net\java\dev\jna\jna\5.10.0\jna-5.10.0.jar;C:\Users\ASUS.m2\repository\com\github\zhkl0228\keystone\0.9.7\keystone-0.9.7.jar;C:\Users\ASUS.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ASUS.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ASUS.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ASUS.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ASUS.m2\repository\com\alibaba\fastjson\1.2.83\fastjson-1.2.83.jar;C:\Users\ASUS.m2\repository\com\github\zhkl0228\demumble\1.0.4\demumble-1.0.4.jar;C:\Users\ASUS.m2\repository\net\dongliu\apk-parser\2.6.10\apk-parser-2.6.10.jar;D:\WWW\unidbg-test\backend\dynarmic\target\classes;D:\WWW\unidbg-test\backend\hypervisor\target\classes;D:\WWW\unidbg-test\backend\kvm\target\classes;D:\WWW\unidbg-test\backend\unicorn2\target\classes;C:\Users\ASUS.m2\repository\org\slf4j\slf4j-api\2.0.13\slf4j-api-2.0.13.jar;C:\Users\ASUS.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ASUS.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\ASUS.m2\repository\org\slf4j\slf4j-reload4j\2.0.13\slf4j-reload4j-2.0.13.jar;C:\Users\ASUS.m2\repository\ch\qos\reload4j\reload4j\1.2.22\reload4j-1.2.22.jar com.bytedance.frameworks.core.encrypt.TTEncrypt

进程已结束,退出代码为 -1073740791 (0xC0000409)

运行 unidbg-android/src/test/java/com/sun/jna/JniDispatch32.java 成功,返回和帮助中的 gif 一致;

运行 unidbg-android/src/test/java/com/sun/jna/JniDispatch64.java 失败,返回和第一个一样:
"D:\Program Files\Java\jdk-22\bin\java.exe" "-javaagent:D:\Program Files\IntelliJ IDEA 2023.3.5\lib\idea_rt.jar=64108:D:\Program Files\IntelliJ IDEA 2023.3.5\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath D:\WWW\unidbg-test\unidbg-android\target\test-classes;D:\WWW\unidbg-test\unidbg-android\target\classes;D:\WWW\unidbg-test\unidbg-api\target\classes;C:\Users\ASUS.m2\repository\com\github\zhkl0228\unicorn\1.0.14\unicorn-1.0.14.jar;C:\Users\ASUS.m2\repository\org\scijava\native-lib-loader\2.3.5\native-lib-loader-2.3.5.jar;C:\Users\ASUS.m2\repository\com\github\zhkl0228\capstone\3.1.8\capstone-3.1.8.jar;C:\Users\ASUS.m2\repository\net\java\dev\jna\jna\5.10.0\jna-5.10.0.jar;C:\Users\ASUS.m2\repository\com\github\zhkl0228\keystone\0.9.7\keystone-0.9.7.jar;C:\Users\ASUS.m2\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;C:\Users\ASUS.m2\repository\org\apache\commons\commons-collections4\4.4\commons-collections4-4.4.jar;C:\Users\ASUS.m2\repository\commons-io\commons-io\2.11.0\commons-io-2.11.0.jar;C:\Users\ASUS.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\ASUS.m2\repository\com\alibaba\fastjson\1.2.83\fastjson-1.2.83.jar;C:\Users\ASUS.m2\repository\com\github\zhkl0228\demumble\1.0.4\demumble-1.0.4.jar;C:\Users\ASUS.m2\repository\net\dongliu\apk-parser\2.6.10\apk-parser-2.6.10.jar;D:\WWW\unidbg-test\backend\dynarmic\target\classes;D:\WWW\unidbg-test\backend\hypervisor\target\classes;D:\WWW\unidbg-test\backend\kvm\target\classes;D:\WWW\unidbg-test\backend\unicorn2\target\classes;C:\Users\ASUS.m2\repository\org\slf4j\slf4j-api\2.0.13\slf4j-api-2.0.13.jar;C:\Users\ASUS.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\ASUS.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\ASUS.m2\repository\org\slf4j\slf4j-reload4j\2.0.13\slf4j-reload4j-2.0.13.jar;C:\Users\ASUS.m2\repository\ch\qos\reload4j\reload4j\1.2.22\reload4j-1.2.22.jar com.sun.jna.JniDispatch64

进程已结束,退出代码为 -1073740791 (0xC0000409)

@Hawcett
Copy link

Hawcett commented Dec 15, 2024

你好,我也遇到了,请问你解决了吗

@Hawcett
Copy link

Hawcett commented Dec 15, 2024

这边调试看了一下,个人猜测可能是CPU体质问题,java层没问题,就是一调用emu_start函数就报错,而这个函数又是native层的,在windows平台上对应的是dynarmic.dll文件,该文件在加载依赖结束后位于\backend\dynarmic\target\unidbg-dynarmic-0.9.8.jar内

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants