Jump to content

GNU Debugger (gdb) For ARM64!


51 posts in this topic

Recommended Posts

Updated (edited)

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)

Updated by Guest
Now supports iOS 11!
Posted (edited)
8 minutes ago, fahd25 said:

(gdb) attach "binarygame"
Abort trap: 6

 

??????? ?

 

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

Updated by Guest

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • LAST CLOUDIA Cheats v5.13.3 +5
      Modded/Hacked App: LAST CLOUDIA By AIDIS Inc.
      Bundle ID: com.aidis.lastcloudiaen
      iTunes Store Link: https://apps.apple.com/us/app/last-cloudia/id1473588527?uo=4


      Hack Features:
      - God Mode
      - Infinite MP
      - Infinite SP
      - Infinite Ether


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/147069-last-cloudia-v1160-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/147068-last-cloudia-cheats-all-versions-1/
      • 472 replies
    • Mr Autofire Cheats v3.8.0 +3 [ God Mode & More ]
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - God Mode 
      - One Hit Kill
      - Free Store

       

      Non-Jailbroken Hack: https://iosgods.com/topic/134805-mr-autofire-v380-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134788-mr-autofire-cheats-v380-3-god-mode-more/
        • Like
      • 630 replies
    • Dragon City - Breed & Battle! Cheats v25.4.3 +4
      Modded/Hacked App: Dragon City - Breed & Battle! By Socialpoint
      Bundle ID: es.socialpoint.dragoncity
      iTunes Store Link: https://apps.apple.com/us/app/dragon-city-breed-battle/id561941526?uo=4


      Hack Features:
      - One Hit Kill
      - God Mode 
      - Auto-Battle Unlocked

      This hack is using the new iOSGods Auto Updater. The hack will automatically update itself to the current app version you have installed on your iDevice.
      Note:
      Everything is linked with enemies, please use it carefully

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.


      iOS Hack Download Link: https://iosgods.com/topic/129371-dragon-city-mobile-cheats-auto-updating-3-god-mode-one-hit-kill/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,161 replies
    • Angry Birds 2 Cheats v3.27.5 +1 [ Infinite Currencies ]
      Modded/Hacked App: Angry Birds 2 By Rovio Entertainment Oyj
      Bundle ID: com.rovio.baba
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-2/id880047117?uo=4


      Hack Features:
      - Infinite Currencies ( Spend some/ Get some )


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/70081-angry-birds-2-v2600-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/72039-angry-birds-2-cheats-v2600-1-infinite-currencies/
      • 1,945 replies
    • Pal Go: Tower Defense TD v0.3.42 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 27 replies
    • Pal Go: Tower Defense TD v0.3.42 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 47 replies
    • 20 Minutes Till Dawn v6.3.755 [ +12+++ Cheats ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?uo=4


      Hack Features:
      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 27 replies
    • 20 Minutes Till Dawn v6.3.755 [ +12+++ Jailed ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?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:

      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune

       
      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App
      • 13 replies
    • Hello Town: Merge & Succeed v2.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4


      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Thanks
      • 5 replies
    • Hello Town: Merge & Succeed v2.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4

       

      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 9 replies
    • Disney Solitaire v0.44.0 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
      • 2 replies
    • Disney Solitaire v0.44.0 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4


      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
      • 3 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