Jump to content

[Working on iOS 9] How to get LLDB Working on Windows!


92 posts in this topic

Recommended Posts

Updated (edited)

This tutorial may still work, but using the native lldb for iOS is suggested: 


 

This tutorial was originally made by caoyin and I got his permission to post it here.  :)
 
What is lldb?
LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.
 
Homepage: http://lldb.llvm.org/
 
 
LLDB on Mac OSX Tutorial: http://iosgods.com/topic/5391-tutorial-memory-debugging-with-lldb-on-mac-osx/
 
 
Requirements:
- Jailbreak
- OpenSSH from Cydia
- PuTTY or iFunBox or any other Terminal clients. 
- LLDB.rar: https://www.dropbox.com/s/cvr0kf3jt6yraem/LLDB.rar
- debugserver: https://www.dropbox.com/s/501sg030hhpiuxi/debugserver?dl=0
 
 
Instructions:
Step 1: Download debugserver from the link above and using iFile, place it in /usr/bin/ then set permissions to 6755.
 
jEo8svvl.png
 
Step 2: Connect you iDevice to your computer via USB cable.
 
Step 3: Download and unzip LLDB.rar and rub lldb.cmd.

 

Update: itunnel_mux.exe does not seem to be working on Windows 10 as it seems. It is suggested you use iFunBox's Quick Toolbox option to create a new USB Tunnel on port 23.

ToXwQS0l.png
 
 
Step 4: Open PuTTY or iFunBox and type in this command:

debugserver 127.0.0.1:23 --attach=PID or BINARYNAME

PID is the Process ID of the app and Binary Name is the Binary Name of the app. You can get PID & Binary Name from iGameGuardian or Binary Name from iFile/Filza.
 
Note: The app needs to be running on your iDevice in order for lldb to attach.
 
Example:
 
PID:

debugserver 127.0.0.1:23 --attach=28437

Binary Name:

 

debugserver 127.0.0.1:23 --attach=Asphalt8

Replace 127.0.0.1 with your PC IP if you can't connect. 
2CuZwiB.png
 
 
debugserver is now waiting for the connection request from lldb.exe
 
 
Step 5: Switch to the lldb window and type in the command below and press enter:

process connect connect://127.0.0.1:23

Replace 127.0.0.1 with your device IP if you can't connect.
 
h6pOJsR.png
 
Step 6: Press CTRL + C to interrupt the process and type C to continue.
 
k2Yoy8G.png
 
That's it! :)
 
----------------------------------
 
Some popular lldb commands compared with gdb:
http://lldb.llvm.org/lldb-gdb.html
 
GDB                                           LLDB
i r $pc                                         register read $pc or reg re $pc
break *0xaddress                       b s -a 0xaddress
watch  0xaddress                       w s e -- 0xaddress      
x/dw 0x111                                 x/dw 0x111        or memory read -s 4 0x1111 or mem re -s 4 0x1111     4 means 4 byte & -s = size
x/i 0x11111                                 ?x/i 0x11111
set *0x1111=0x11111                 memory write -s 4 0x1111 0x1111    or mem wr -s 0x1111 0x1111
set $r1=0x1                                 register write $r1 0x1

Updated by DiDA
Quick update
  • Like 8
  • Thanks 1
Posted (edited)

Thanks for info and lessons... hope will find some solutions for some games...

 

BUT... Followed all steps... Have all installed, am not amateur... I used GDB...

 

Problem.jpg

Updated by Goran
Posted

@@Goran

 

Are you using debugserver from the link above?

 

Am using all from links... LEGIT AND GENUINE....

Am readind slow and 5 times letter by letter like a retard... because am really mad... :)

Am not from yesterday, but some force just love that i have difficulties... maybe that is Karma :)

Posted

Am using all from links... LEGIT AND GENUINE....

Am readind slow and 5 times letter by letter like a retard... because am really mad... :)

Am not from yesterday, but some force just love that i have difficulties... maybe that is Karma :)

What's in your hosts file (Windows/system32/drivers/etc/hosts)?

 

Have you also tried this on another app to see if it's only x process?

Posted

Here is HOSTAGE FILE....

 

# Copyright © 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost
127.0.0.1 licensing.ultraedit.com
127.0.0.1 licensing2.ultraedit.com

 

ABOUT THIS.... TRIED ON FEW APPS

error: No such file or directory SAME PROBLEM AGAIN AND AGAIN...

Posted

@@Goran

 

Can you try removing those licensing.ultraedit just so we can test?

Posted

@@Goran

 

Can you try removing those licensing.ultraedit just so we can test?

 

Removed from hosts that adresses but problem is AGAIN SAME.... "error: No such file or directory" It is waiting idk how much not too long then write that... "error: No such file or directory"

Posted

@@Goran

 

You do have your iDevice connected via USB, right?

Posted

@@Goran

 

You do have your iDevice connected via USB, right?

 

Of Course, it is conncected with original cable, and it is charging.... I use that usb port for everyhing.. to Root Androids etc...

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
  • Our picks

    • SuperStar STARSHIP Cheats v3.24.3 +3
      Modded/Hacked App: SuperStar STARSHIP By Dalcomsoft Inc.
      Bundle ID: com.dalcomsoft.sss
      iTunes Store Link: https://apps.apple.com/us/app/superstar-starship/id1480181152?uo=4


      Hack Features:
      - Never Lose
      - Auto Dance
      - Always S.Perfect


      iOS Hack Download Link: https://iosgods.com/topic/164185-superstar-starship-cheats-v378-3/
      • 128 replies
    • Merge Studio: Fashion Makeover v3.5.0 +50++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


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


      Jailbreak required hack(s): [Mod Menu Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ 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/
      • 54 replies
    • Merge Studio: Fashion Makeover v3.5.0 +50++ Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


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


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ 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/
      • 45 replies
    • Royal Kingdom v17794 +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/
      • 116 replies
    • Royal Kingdom v17794 +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/
      • 65 replies
    • Duskwood - Detective Story v1.10.17 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Duskwood - Detective Story By Everbyte GmbH
      Bundle ID: com.everbytestudio.interactive.text.chat.story.rpg.cyoa.duskwood
      iTunes Store Link: https://apps.apple.com/us/app/duskwood-detective-story/id1479430106?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Hearts -> Earn or spend some.
      - Free In-App Purchases -> Toggle via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Duskwood - Detective Story v1.10.14 +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/
      • 54 replies
    • Duskwood - Detective Story v1.10.17 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Duskwood - Detective Story By Everbyte GmbH
      Bundle ID: com.everbytestudio.interactive.text.chat.story.rpg.cyoa.duskwood
      iTunes Store Link: https://apps.apple.com/us/app/duskwood-detective-story/id1479430106?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Hearts -> Earn or spend some.
      - Free In-App Purchases


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Duskwood - Detective Story v1.10.14 +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/
      • 22 replies
    • Idle Zombie Miner: Gold Tycoon v2.212.1660 +1++ Jailed Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Cheat [ 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/
      • 81 replies
    • Idle Zombie Miner: Gold Tycoon v2.212.1660 +1++ Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Jailed Cheat [ 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/
      • 58 replies
    • Loot Heroes v1.4.7 +8 Jailed Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Loot Heroes v1.1.5 +8 Cheats [ Unlimited Currencies + 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/
      • 71 replies
    • Loot Heroes v1.4.7 +8 Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      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/
      • 202 replies
    • AltLife - Life Simulator v43 +2 Jailed Cheats [ Unlimited Money ]
      Modded/Hacked App: AltLife - Life Simulator By Mark Benyei
      Bundle ID: com.qmzapps.altlife
      App Store Link: https://apps.apple.com/us/app/altlife-life-simulator/id1567044511?uo=4

       


      🤩 Hack Features

      - Unlimited Money -> Will increase instead of decrease.
      - Premium Enabled
      • 0 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