Jump to content

5 posts in this topic

Recommended Posts

Posted
GDB                                           LLDB
i r $pc                                         register read $pc or reg re $pc
break *0xaddress                       b s -a 0xaddress
watch  0xaddress                       w s e -- 0xaddress      
x/dw 0x111                                 x/dw 0x111        or memory read -s 4 0x1111 or mem re -s 4 0x1111     4 means 4 byte & -s = size
x/i 0x11111                                 ?x/i 0x11111
set *0x1111=0x11111                 memory write -s 4 0x1111 0x1111    or mem wr -s 0x1111 0x1111
set $r1=0x1                                 register write $r1 0x1

http://lldb.llvm.org/lldb-gdb.html

 

From here https://iosgods.com/topic/5380-working-on-ios-9-how-to-get-lldb-working-on-windows/

Posted

 

GDB                                           LLDB
i r $pc                                         register read $pc or reg re $pc
break *0xaddress                       b s -a 0xaddress
watch  0xaddress                       w s e -- 0xaddress      
x/dw 0x111                                 x/dw 0x111        or memory read -s 4 0x1111 or mem re -s 4 0x1111     4 means 4 byte & -s = size
x/i 0x11111                                 ?x/i 0x11111
set *0x1111=0x11111                 memory write -s 4 0x1111 0x1111    or mem wr -s 0x1111 0x1111
set $r1=0x1                                 register write $r1 0x1
http://lldb.llvm.org/lldb-gdb.html

 

From here https://iosgods.com/topic/5380-working-on-ios-9-how-to-get-lldb-working-on-windows/

i did I r $pc it did not work

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines