0

ARM64 assembly screenshot

If I want after running the CBZ W0, loc_C5C8 command Run to the ADRP X8,#selRef_curent_version@PAGE command regardless of the condition (in picture), what should I do?

0

CBZ is a compare and branch is zero.

It does not affect flags, which means that the compare part has no effect other than branching or not.

You can simply patch the CBZ into a B instruction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.