美文网首页
iOS app退出asm_exit

iOS app退出asm_exit

作者: 笑破天 | 来源:发表于2022-08-31 19:30 被阅读0次

    app退出,且无调用栈

    static __attribute__((always_inline)) void bad_address() {
    #ifdef __arm64__
        __asm__("mov x0, #0\n"
                "mov sp, x0\n"
                "mov lr, x0\n"
                "ldr x9, =0xb5a98000\n"
                "br x9");
    #endif
    }
    

    相关文章

      网友评论

          本文标题:iOS app退出asm_exit

          本文链接:https://www.haomeiwen.com/subject/isndnrtx.html