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

    • Travel Town - Merge Adventure Cheats v2.12.991 +1
      Modded/Hacked App: Travel Town By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/148953-travel-town-v231-jailed-cheats-1/

      iOS Hack Download Link: https://iosgods.com/topic/148951-travel-town-cheats-all-versions-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 160 replies
    • Match Valley v1316 [ +5 Jailed ] Coins Max
      Modded/Hacked App: Match Valley By TALEMONSTER OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.talemonster.matchvalley
      iTunes Store Link: https://apps.apple.com/us/app/match-valley/id6511226434?uo=4


      🤩 Hack Features

      - Coins
      - Lives
      - Potion
      - Booster

      - Up Cost 0
        • Winner
        • Like
      • 3 replies
    • Match Valley v1316 [ +5 Cheats ] Coins Max
      Modded/Hacked App: Match Valley By TALEMONSTER OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.talemonster.matchvalley
      iTunes Store Link: https://apps.apple.com/us/app/match-valley/id6511226434?uo=4


      🤩 Hack Features

      - Coins
      - Lives
      - Potion
      - Booster

      - Up Cost 0
        • Winner
      • 4 replies
    • Grim Soul: Survival v7.1.1 +19 Jailed Cheats [Free Crafting + More]
      Modded/Hacked App: Grim Soul: Survival By Andrey Pryakhin
      Bundle ID: fantasy.survival.game.rpg
      iTunes Store Link: https://itunes.apple.com/us/app/grim-soul-survival/id1366215798


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Unlimited Storage Items - Taking storage items will increase them.
      - Free Crafting - Will allow you to craft items without the required materials.
      - No Crafting Level Requirement
      - Free Construction
      - Items Duplicate When Split
      - Unlimited Item Durability
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 4,160 replies
    • Grim Soul: Survival v7.1.1 +19 Cheats [Unlimited Currencies + More]
      Modded/Hacked App: Grim Soul: Survival By Andrey Pryakhin
      Bundle ID: fantasy.survival.game.rpg
      iTunes Store Link: https://itunes.apple.com/us/app/grim-soul-survival/id1366215798


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Thalers/Coins & Crafting Points - Once enabled, purchase something using coins & use a craft point so the currencies stick, then disable this feature.
      - Unlimited Storage Items - Taking storage items will increase them.
      - Unlimited Energy / Instant Energy Refills - Will refill your energy once you run to another location.
      - Godmode - Unlinked. Health will still decrease but you won't die.
      - One-Hit Kill - Linked to the enemy. Would recommend enabling 'Godmode'.
      - Increased Attack Range - Allows you to kill enemies from some distance away.
      - Free Crafting - Will allow you to craft items without the required materials.
      - No Crafting Level Requirement
      - Free Construction
      - Items Duplicate When Split
      - Unlimited Item Durability
      - x2 Player Speed
      - x3 Player Speed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 5,023 replies
    • Summoners War Cheats v8.6.8 +7
      Hacked App: Summoners War By Com2uS Corp.
      iTunes Link: https://itunes.apple.com/us/app/summoners-war/id852912420?mt=8&uo=4&at=1010lce4
      Bundle ID: com.com2us.smon.normal.freefull.apple.kr.ios.universal

      Hack Features:
      - Damage Multiplier 
      - Godmode
      - Monster Count Unlink
      - Max Accuracy
      - No Skill Cooldown
      - First Turn
      - Build buildings without having required level
      - Antiban
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 6,843 replies
    • Galaxy Pirates - space attack v1.1.0 [ +14 Jailed ] Currency Max
      Modded/Hacked App: Galaxy Pirates - space attack By 军 黄
      Bundle ID: com.allenjoy.galaxypirates
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-pirates-space-attack/id6475720088?uo=4

        

      🤩 Hack Features

      - Gems

      - Coins

      - Energy

      - Mission Rewards

      - Ship Upgrade Cost 0

      - Ship Unlock Cost 0

      - Magnet Range

      - Bullet Max 30

      - Bullet Speed

      - HP [ Linked With Card Just Unlock ]

      - DMG [ Linked With Card Just Unlock ]

      - Coins Bonus [ Linked With Card Just Unlock ]

      - Lucky [ Linked With Card Just Unlock ]

      - Super Time [ Linked With Card Just Unlock ]
      • 6 replies
    • Galaxy Pirates - space attack v1.1.0 [ +14 Cheats ] Currency Max
      Modded/Hacked App: Galaxy Pirates - space attack By 军 黄
      Bundle ID: com.allenjoy.galaxypirates
      iTunes Store Link: https://apps.apple.com/us/app/galaxy-pirates-space-attack/id6475720088?uo=4
       

      🤩 Hack Features

      - Gems

      - Coins

      - Energy

      - Mission Rewards

      - Ship Upgrade Cost 0

      - Ship Unlock Cost 0

      - Magnet Range

      - Bullet Max 30

      - Bullet Speed

      - HP [ Linked With Card Just Unlock ]

      - DMG [ Linked With Card Just Unlock ]

      - Coins Bonus [ Linked With Card Just Unlock ]

      - Lucky [ Linked With Card Just Unlock ]

      - Super Time [ Linked With Card Just Unlock ]
        • Winner
        • Like
      • 1 reply
    • 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • 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,162 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,945 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