crash on first attempt
Closed this issue · 0 comments
ascorbic-acid commented
hello, thanks for your making this tool, this is my first attempt to use it, it work but crash after 1-2 seconds
im using kernelsu and using zygisk to inject to game i have also tried using xdl_open , setenforce 0 but no luck, not sure if im doing something wrong or is this problem in my device?, thanks for your feedback guys.
dump file:
// Dll : Assembly-CSharp.dll
// Namespace:
public class MyController : MonoBehaviour
{
// Fields
..................
public Boolean standup; // 0x68code:
void hack_start() {
LOGI("start");
// tested with/without the following two lines
UnityResolve::Init(dlopen("libil2cpp.so", RTLD_NOW), UnityResolve::Mode::Il2Cpp);
UnityResolve::ThreadAttach(); // tested with/without this
const auto assembly = UnityResolve::Get("Assembly-CSharp.dll");
const auto pClass = assembly->Get("MyController"); // crash start here
const bool standup = pClass->Get<UnityResolve::Field>("standup");
LOGI("standup: %i", standup);
LOGI("end");
}crash log:
08-12 21:16:07.615 12311 12328 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-12 21:16:07.615 12311 12328 E CRASH : Version '2022.3.11f1 (d00248457e15)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
08-12 21:16:07.615 12311 12328 E CRASH : Build fingerprint: 'Redmi/tapas_global/tapas:13/TKQ1.221114.001/V14.0.14.0.TMTMIXM:user/release-keys'
08-12 21:16:07.615 12311 12328 E CRASH : Revision: '0'
08-12 21:16:07.615 12311 12328 E CRASH : ABI: 'arm64'
08-12 21:16:07.616 12311 12328 E CRASH : Timestamp: 2024-08-12 21:16:07.615685277+0200
08-12 21:16:07.616 12311 12328 E CRASH : pid: 12311, tid: 12328, name: lerians.evilnun >>> com.keplerians.evilnun <<<
08-12 21:16:07.616 12311 12328 E CRASH : uid: 10339
08-12 21:16:07.616 12311 12328 E CRASH : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
08-12 21:16:07.616 12311 12328 E CRASH : Cause: null pointer dereference
08-12 21:16:07.616 12311 12328 E CRASH : x0 0000000000000000 x1 0000007a88c94af8 x2 0000007a88c94b40 x3 0000007a88c94b28
08-12 21:16:07.616 12311 12328 E CRASH : x4 0000007a8bf5195b x5 0000007a88c94b2a x6 000000000000002a x7 000000000000002a
08-12 21:16:07.616 12311 12328 E CRASH : x8 000000000000002a x9 0000000000000000 x10 0000000000000038 x11 fffffffffffffffd
08-12 21:16:07.616 12311 12328 E CRASH : x12 53432d796c626d65 x13 6c6c642e70726168 x14 0000007a88c94698 x15 0000007b664d8982
08-12 21:16:07.616 12311 12328 E CRASH : x16 0000007a8bf69920 x17 0000007b66536160 x18 0000007a2db04000 x19 b400007b67e88ee0
08-12 21:16:07.616 12311 12328 E CRASH : x20 0000000000000000 x21 0000007a88c95000 x22 0000000000000061 x23 0000007a88c95000
08-12 21:16:07.616 12311 12328 E CRASH : x24 0000000000000026 x25 0000000000000000 x26 0000000000000000 x27 00000000000fc000
08-12 21:16:07.616 12311 12328 E CRASH : x28 00000000000fe000 x29 0000007a88c94ae0
08-12 21:16:07.616 12311 12328 E CRASH : lr 0000007a8bea3104 sp 0000007a88c94a80 pc 0000007a8bea33b8 pst 0000000080000000
08-12 21:16:07.616 12311 12328 E CRASH : backtrace:
08-12 21:16:07.616 12311 12328 E CRASH : #00 pc 000000000000e3b8 /memfd:jit-cache (deleted)
08-12 21:16:07.616 12311 12328 E CRASH : #01 pc 000000000000e100 /memfd:jit-cache (deleted)
08-12 21:16:07.616 12311 12328 E CRASH : #02 pc 000000000000e760 /memfd:jit-cache (deleted)
08-12 21:16:07.616 12311 12328 E CRASH : #03 pc 000000000000dbc0 /memfd:jit-cache (deleted)
08-12 21:16:07.616 12311 12328 E CRASH : #04 pc 00000000000f55c8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 449f781894033dce6346794a1ee593e0)
08-12 21:16:07.616 12311 12328 E CRASH : #05 pc 000000000008efbc /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 449f781894033dce6346794a1ee593e0)