Jump to content

14 posts in this topic

Recommended Posts

Posted

Hello, I'm on a jailbroken iphone 6+ running 8.3

I'm kinda new to this whole debugging thing, but I can usually follow tutorials, and had some success with GDB/GNU in the past. (ios 6 jb)

I now have a LLDB debugger setup using putty and LLDB (windows), and I'm able to attach to a process and set a watchpoint and get the value of the variable (in this instance, it's ammo)..however, when I shoot the gun to trigger the watchpoint, the phone restarts itself.

 

I can't figure out what I'm doing wrong.  Sometimes the debugger will break at the watchpoint, but usually just crashes on the first attempt.  Are there other types of packages I need to download or remove in cydia?

Also, is GDB/GNU obsolete now?  Or is LLDB just a better debugger?

 

Thanks in advance for any help!

Posted

That's exactly the one I was using, its the only one I ever installed.

 

What do you suppose I'm doing wrong?

I'm not sure really.

 

You can try re-applying it.

 

There was a member who had the same problem you did and he fixed it by using devugserver from that post.

Posted

Ok, I just downloaded it again...

in filza, the info for the file is as follows:

Ownership: 
-Owner: mobile
-Group: mobile

 

Access permissions: 

-Mask: 06755

 

Sticky:

-Set UID: checked
-Set GID: checked

-Restricted Delete: unchecked

 

Owner: 

-Read: Checked

-Write: Checked

-Execute: Checked

 

Group: 

-Read: checked

-Write: unchecked

-Execute: checked

 

Others:

-Read:: Checked

-Write: unchecked

-Execute: Checked 

 

are those the correct permissions?


the debug server that's in my bin folder right now has the same access permissions, but the ownership is Owner: root, and group: wheel..is that incorrect?


I noticed everything else in that folder has Root/wheel as the ownership, which is why it was changed to that..should i have left it as mobile/mobile?

Posted

Ok, I just downloaded it again...

in filza, the info for the file is as follows:

Ownership: 

-Owner: mobile

-Group: mobile

 

Access permissions: 

-Mask: 06755

 

Sticky:

-Set UID: checked

-Set GID: checked

-Restricted Delete: unchecked

 

Owner: 

-Read: Checked

-Write: Checked

-Execute: Checked

 

Group: 

-Read: checked

-Write: unchecked

-Execute: checked

 

Others:

-Read:: Checked

-Write: unchecked

-Execute: Checked 

 

are those the correct permissions?

the debug server that's in my bin folder right now has the same access permissions, but the ownership is Owner: root, and group: wheel..is that incorrect?

I noticed everything else in that folder has Root/wheel as the ownership, which is why it was changed to that..should i have left it as mobile/mobile?

Try both as root/wheel and mobile/mobile

Posted

I did, tried mobile/mobile, root/wheel, and even root/staff (that's what gdb has)

 

Always crashes once I set a watchpoint and try to shoot the gun to change the value..with the original file (from that link, downloaded from PC, transferred with filza) as well as another downloaded copy from the same link (downloaded directly from/to phone)

Posted

I did, tried mobile/mobile, root/wheel, and even root/staff (that's what gdb has)

Always crashes once I set a watchpoint and try to shoot the gun to change the value..with the original file (from that link, downloaded from PC, transferred with filza) as well as another downloaded copy from the same link (downloaded directly from/to phone)

You're on iOS 8.3?

 

Which gane is it? Does this happen on all? Can you tey while in Safe Mode?

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