Jump to content

GNU Debugger (gdb) For ARM64!


Guest

51 posts in this topic

Recommended Posts

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!
Link to comment
Share on other sites

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

    • West Escape v1.0.15 +7++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: West Escape By Estoty LLC
      Bundle ID: com.western.escape
      iTunes Store Link: https://apps.apple.com/us/app/west-escape/id6474681724?uo=4


      Hack Features:
      - Unlimited Everything
      - God Mode
      - God Mode - Horse
      - One-Hit Kill
      - No Ads -> Head into Settings and toggle the Discord Support button.


      Jailbreak required hack(s): [Mod Menu Hack] West Escape v1.0.13 +7++ Cheats [ Unlimited Everything ] - 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/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 43 replies
    • Merge 2 Survive: Zombie Game v1.1.2 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Merge 2 Survive: Zombie Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.merge.survive.puzzle.game
      iTunes Store Link: https://apps.apple.com/us/app/merge-2-survive-zombie-game/id6468487156?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Diamonds
      - Unlimited Energy


      Jailbreak required hack(s): [Mod Menu Hack] Merge 2 Survive: Zombie Game v1.0.3 +3 Cheats [ Unlimited Currencies ] - 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/
        • Agree
        • Thanks
        • Like
      • 10 replies
    • Merge 2 Survive: Zombie Game v1.1.2 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Merge 2 Survive: Zombie Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.merge.survive.puzzle.game
      iTunes Store Link: https://apps.apple.com/us/app/merge-2-survive-zombie-game/id6468487156?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Diamonds
      - Unlimited Energy


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Merge 2 Survive: Zombie Game v1.0.3 +3 Jailed Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Thanks
        • Like
      • 16 replies
    • West Escape v1.0.15 +7++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: West Escape By Estoty LLC
      Bundle ID: com.western.escape
      iTunes Store Link: https://apps.apple.com/us/app/west-escape/id6474681724?uo=4


      Hack Features:
      - Unlimited Everything
      - God Mode
      - God Mode - Horse
      - One-Hit Kill
      - One-Hit w/ Tool
      - No Tool Level Requirement
      - No Ads -> Head into Settings and toggle the Discord Support button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] West Escape v1.0.13 +5++ Cheats [ Unlimited Everything ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 24 replies
    • Hoosegow: Prison Survival v2.6.7 +40++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Hoosegow: Prison Survival By D.DREAM GAMES LLC
      Bundle ID: com.ddreamgames.hoosegow
      iTunes Store Link: https://apps.apple.com/us/app/hoosegow-prison-survival/id1587312327?uo=4


      Hack Features:
      - Debug Menu -> Head into Settings and toggle the Report a problem button.


      Jailbreak required hack(s): [Mod Menu Hack] Hoosegow: Prison Survival v2.2.4 +40++ Cheats [ Debug Menu ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 57 replies
    • Hoosegow: Prison Survival v2.6.7 +40++ Cheats [ Debug Menu ]
      Modded/Hacked App: Hoosegow: Prison Survival By D.DREAM GAMES LLC
      Bundle ID: com.ddreamgames.hoosegow
      iTunes Store Link: https://apps.apple.com/us/app/hoosegow-prison-survival/id1587312327?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Report a problem button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Hoosegow: Prison Survival v2.2.4 +40++ Jailed Cheats [ Debug Menu ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Supermarket Manager Simulator v1.0.9 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Supermarket Manager Simulator By Digital Melody S.A.
      Bundle ID: com.dmg.supermarket.simulator
      iTunes Store Link: https://apps.apple.com/us/app/supermarket-manager-simulator/id6479982512?uo=4


      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Supermarket Manager Simulator v1.0.6 +3 Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 48 replies
    • Supermarket Manager Simulator v1.0.9 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Supermarket Manager Simulator By Digital Melody S.A.
      Bundle ID: com.dmg.supermarket.simulator
      iTunes Store Link: https://apps.apple.com/us/app/supermarket-manager-simulator/id6479982512?uo=4


      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Supermarket Manager Simulator v1.0.6 +3 Jailed Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Thanks
        • Like
      • 21 replies
    • Stealth Master: Assassin Ninja v1.12.15 +4++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Stealth Master: Assassin Ninja By SayGames LTD
      Bundle ID: io.highcore.stealthmaster
      iTunes Store Link: https://apps.apple.com/us/app/stealth-master-assassin-ninja/id1518389230
       

      Hack Features:
      - God Mode
      - One-Hit Kill
      - Unlimited Currencies
      - All Characters Unlocked


      Jailbreak required hack(s): https://iosgods.com/topic/173267-stealth-master-assassin-ninja-v1128-4-cheats-damage-defence/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 13 replies
    • Mighty DOOM v1.13.1 +2 Jailed Cheats [ God & OHK ]
      Modded/Hacked App: Mighty DOOM By Bethesda
      Bundle ID: com.bethsoft.ubu
      iTunes Store Link: https://apps.apple.com/us/app/mighty-doom/id1535673981
       

      Hack Features:
      - God Mode -> You will take damage but you won't die.
      - One-Hit Kill


      Jailbreak required hack(s): https://iosgods.com/topic/170017-mighty-doom-v100-2-cheats-damage-multiplier/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 127 replies
    • Mighty DOOM v1.13.1 +2 Cheats [ Damage Multiplier ]
      Modded/Hacked App: Mighty DOOM By Bethesda
      Bundle ID: com.bethsoft.ubu
      iTunes Store Link: https://apps.apple.com/us/app/mighty-doom/id1535673981
       

      Hack Features:
      - God Mode -> You will take damage but you won't die.
      - Damage Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/170103-mighty-doom-v100-2-jailed-cheats-one-hit-kill/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 157 replies
    • Stealth Master: Assassin Ninja v1.12.15 +4++ Cheats [ Damage & Defence ]
      Modded/Hacked App: Stealth Master: Assassin Ninja By SayGames LTD
      Bundle ID: io.highcore.stealthmaster
      iTunes Store Link: https://apps.apple.com/us/app/stealth-master-assassin-ninja/id1518389230
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Currencies -> Restart the app for it to take effect.
      - All Characters Unlocked


      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/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 25 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