Jump to content

GNU Debugger (gdb) For ARM64!


Guest

51 posts in this topic

Recommended Posts

Updated

image.png?dl=1

The best debugger ever made has returned to iOS with arm64 support! I have spent about five days fixing bugs, adding features, and making this GDB usable. However, I need all the help I can get in fixing bugs. If you find a bug, or see any debug output, *PLEASE* DM me on Twitter @hackedbyshmoo with steps to reproduce so I can add that bug to my list.

 

Installs to /usr/bin, put your gdbinit in /var/root if you run GDB as root and /var/mobile if you run GDB as mobile.

 

It is buggy. Please dont get your hopes up. If you get abort trap: 6 when trying to attach, keep trying or use the pid

if you jailbroke with doubleh3lix this may not work due to issues sending signals over SSH

 

 Bugs destroyed: 
 - SIGINT wasn't being handled correctly. If you tried to interrupt the program, nothing would happen, the GDB prompt wouldn't come back, and you wouldn't be able to type. Fixed by writing my own SIGINT handler 
 - When you detached from a process, a ton of errors would be spit to the screen and it would fail. This no longer happens and detaching works again 
 - You can no longer Ctrl C two times in a row, which would either (a)ruin your debugging session or (b)crash GDB 
 - A broken breakpoint auto-added when attaching that would screw up your debugging session is auto-deleted ("could not insert breakpoint -1") 
 - The inferior's name wasn't being updated correctly. Fixed by calling exec_close whenever you attach to something 
 - No more nasty errors when you kill the debuggee 
 - iOS 10 support by changing DYLD_VERSION_MAX from 14 to 15 
 - You can debug multithreaded programs without GDB crashing. Before, doing anything after a breakpoint hit would cause GDB to crash 
 - You can attach to a process if you give its executable name 
  
 New: 
 - add-aslr-bp: a command to automatically add the ASLR slide to breakpoints. To use, set add-aslr-bp on 
 - add-aslr-set: a command to automatically add the ASLR slide to the expression in the set command. To use, set add-aslr-set on. Since memory addresses already have ASLR accounted for, we need an upper bound to know when to not add the ASLR slide. Use 0x103000000 if you know you aren't going to be modifing memory and only instructions, otherwise, use IDA Pro to find out where main code segment ends (Ctrl+S) 
  
 Notes: 
 - You must install Gawk package from CoolStar’s repo for this gdb to work. Hardware watchpoints will never be supported 
  
 Known bugs: 
 - Rare bug that can be fixed by detaching and reattaching 
 - Spamming c after a breakpoint hits may crash GDB under special circumstances 
 - Very bad lag when scrolling up in the TUI asm window 
  
 TODO: 
 - ascii value of memory shown side by side with the actual memory printed out by the examine command (x) 
 - TUI window that shows memory like Cheat Engine's memory editor 

 

How do I get it?

Uninstall any other GNU Debugger you may have, add my repo: shmoo419.github.io, and install GNU Debugger.

 

CREDITS:

- swigger (for arm64 support: https://github.com/swigger/gdb-ios)

- me (for building, fixing bugs, adding stuff, and making it usable)

  • Replies 50
  • Created
  • Last Reply
Posted
Just now, shmoo said:

Wtf lol you posted this right after i clicked post

Active 24/7 spying over the shoutbox :shifty:

Posted
8 minutes ago, fahd25 said:

(gdb) attach "binarygame"
Abort trap: 6

 

??????? ?

 

try again, it is buggy, if that doesnt work use the pid

Archived

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

  • Our picks

    • Digventure v0.0.2 [+4 Jailed Cheats]
      Modded/Hacked App: Digventure By Sergey Bedrosyants
      Bundle ID: com.moonfishgames.digventure
      App Store Link: https://apps.apple.com/ph/app/digventure/id6450215899?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Dİe
      - Unlimited Jetpack Fuel
      - Unlimited Currency
      • 2 replies
    • Digventure v0.0.2 [+4 Cheats]
      Modded/Hacked App: Digventure By Sergey Bedrosyants
      Bundle ID: com.moonfishgames.digventure
      App Store Link: https://apps.apple.com/ph/app/digventure/id6450215899?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Dİe
      - Unlimited Jetpack Fuel
      - Unlimited Currency

      • 2 replies
    • Pickaxe King Island v222 +4 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Pickaxe King Island By ROGUE UNION GAMES
      Bundle ID: com.rogueuniongames.pickaxekingisland
      App Store Link: https://apps.apple.com/us/app/pickaxe-king-island/id6738040300?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Unlimited Everything -> Will increase instead of decrease.
      - Free Shopping
      • 9 replies
    • Pickaxe King Island v222 +4 Cheats [ Unlimited Everything ]
      Modded/Hacked App: Pickaxe King Island By ROGUE UNION GAMES
      Bundle ID: com.rogueuniongames.pickaxekingisland
      App Store Link: https://apps.apple.com/us/app/pickaxe-king-island/id6738040300?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Unlimited Everything -> Will increase instead of decrease.
      - Free Shopping
      • 3 replies
    • Hunt Royale: Action RPG Battle v3.13.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 165 replies
    • Eterspire - Fantasy MMORPG v56.0 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 29 replies
    • Eterspire - Fantasy MMORPG v56.0 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 111 replies
    • Hunt Royale: Action RPG Battle v3.13.1 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       


      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 25 replies
    • Royal Kingdom v20584 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 143 replies
    • Royal Kingdom v20584 +4 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 92 replies
    • Royal Match v30319 +10 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Jailbreak required hack(s): [Mod Menu Hack] Royal Match v26455 +11 Cheats [ Unlimited Coins + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 401 replies
    • Royal Match v30319 +10 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Royal Match v26455 +11 Jailed Cheats [ Unlimited Coins + More ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 504 replies
×
  • 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