Skip to content
Guest Big Announcement

TRUE & FALSE in IDA ARM

Featured Replies

__text:00000001000D8984                 STP             X20, X19, [SP,#-0x10+var_10]!
__text:00000001000D8988                 STP             X29, X30, [SP,#0x10+var_s0]
__text:00000001000D898C                 ADD             X29, SP, #0x10
__text:00000001000D8990                 ADRP            X8, #selRef_vipInfo@PAGE
__text:00000001000D8994                 LDR             X1, [X8,#selRef_vipInfo@PAGEOFF] ; char *
__text:00000001000D8998                 BL              _objc_msgSend
__text:00000001000D899C                 MOV             X29, X29
__text:00000001000D89A0                 BL              _objc_retainAutoreleasedReturnValue
__text:00000001000D89A4                 MOV             X19, X0
__text:00000001000D89A8                 ADRP            X8, #selRef_isVIP@PAGE
__text:00000001000D89AC                 LDR             X1, [X8,#selRef_isVIP@PAGEOFF] ; char *
__text:00000001000D89B0                 BL              _objc_msgSend
__text:00000001000D89B4                 MOV             X20, X0
__text:00000001000D89B8                 MOV             X0, X19
__text:00000001000D89BC                 BL              _objc_release
__text:00000001000D89C0                 MOV             X0, X20
__text:00000001000D89C4                 LDP             X29, X30, [SP,#0x10+var_s0]
__text:00000001000D89C8                 LDP             X20, X19, [SP+0x10+var_10],#0x20
__text:00000001000D89CC                 RET

 

I can set MOV x0, # 1 where in the code I tried some but the result was a crash app. Please help me, thank you

  • Author

i thin & remove aslr
then i hacked binary -> inject to my app. The app has crashed
i tried sign binary with "ldone" but it said "Bad CPU type in executable" :<
 

  • Author
2 hours ago, DADi said:

If you're writing that to the 1000D8984 offset then you also need to RET after.

MOV X0, #1
RET

i thin & remove aslr
then i hacked binary -> inject to my app. The app has crashed
i tried sign binary with "ldone" but it said "Bad CPU type in executable" :<

Archived

This topic is now archived and is closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.