duke_srg
with the code.bins yifanlu used this
it works fine on sysnand, but on emunand it crash the system when bx lr was executed. a fix for this was to have it execute __asm__ volatile ("svc 0x03");
for rops is something similar used? maybe if you have the rop try to execute svc 0x03 it will work on emunand.
with the code.bins yifanlu used this
Code:
__asm__ volatile (".word 0xE1A00000");
uvl_entry();
__asm__ volatile ("bx lr");
it works fine on sysnand, but on emunand it crash the system when bx lr was executed. a fix for this was to have it execute __asm__ volatile ("svc 0x03");
for rops is something similar used? maybe if you have the rop try to execute svc 0x03 it will work on emunand.