Jump to content

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


Rook

91 posts in this topic

Recommended Posts

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

@@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 :)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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...

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

    • TAIMANIN RPG Extasy v1.0.22 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: TAIMANIN RPG Extasy By INFINI BRAIN.INC
      Bundle ID: jp.co.infini-brain.taimanin.rpg-extasy
      iTunes Store Link: https://apps.apple.com/us/app/taimanin-rpg-extasy/id6466156741?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
        • Agree
        • Haha
        • Like
      • 5 replies
    • Battle Mage Idle Cheats v1.2.1 +3
      Modded/Hacked App: Battle Mage Idle By SuperPlanet corp.
      Bundle ID: com.superplanet.battlemage
      iTunes Store Link: https://apps.apple.com/us/app/battle-mage-idle/id6474856084?uo=4


      Hack Features:
      - Multiply Attack
      - God Mode
      - Freeze Currencies
      - Other minor things
      NOTE: Do not abuse or buy ViP for just this cheat


      iOS Hack Download Link: https://iosgods.com/topic/183601-battle-mage-idle-cheats-v121-3/
        • Winner
        • Like
      • 16 replies
    • Grow Shooter : Survivor RPG v1.0.24 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Grow Shooter : Survivor RPG By DongSik Moon
      Bundle ID: com.eastmoon.growshooterlive
      iTunes Store Link: https://apps.apple.com/us/app/grow-shooter-survivor-rpg/id6480362458?uo=4


      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Rubies -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Grow Shooter : Survivor RPG v1.0.10 +4 Cheats [ Damage ] - 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
        • Thanks
        • Winner
        • Like
      • 33 replies
    • Grow Shooter : Survivor RPG v1.0.24 +4 Cheats [ Damage ]
      Modded/Hacked App: Grow Shooter : Survivor RPG By DongSik Moon
      Bundle ID: com.eastmoon.growshooterlive
      iTunes Store Link: https://apps.apple.com/us/app/grow-shooter-survivor-rpg/id6480362458?uo=4


      Hack Features:
      - Damage Multiplier
      - Move Speed Multiplier
      - Unlimited Coins -> Will not decrease.
      - Unlimited Rubies -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Grow Shooter : Survivor RPG v1.0.10 +2 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
        • Winner
        • Like
      • 54 replies
    • Survivor Base - Zombie Siege v1.7 +1++ Jailed Cheats [ Unlimited Resources ]
      Modded/Hacked App: Survivor Base - Zombie Siege By Longames TEC Co.,Ltd
      Bundle ID: com.jlyt.deadrising
      iTunes Store Link: https://apps.apple.com/us/app/survivor-base-zombie-siege/id6479394876?uo=4


      Hack Features:
      - Unlimited Resources


      Jailbreak required hack(s): [Mod Menu Hack] Survivor Base - Zombie Siege v1.3 +1++ Cheats [ Unlimited Resources ] - 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
        • Thanks
        • Like
      • 20 replies
    • Survivor Base - Zombie Siege v1.7 +1++ Cheats [ Unlimited Resources ]
      Modded/Hacked App: Survivor Base - Zombie Siege By Longames TEC Co.,Ltd
      Bundle ID: com.jlyt.deadrising
      iTunes Store Link: https://apps.apple.com/us/app/survivor-base-zombie-siege/id6479394876?uo=4


      Hack Features:
      - Unlimited Resources


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Survivor Base - Zombie Siege v1.3 +1++ Jailed Cheats [ Unlimited Resources ] - 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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 28 replies
    • Plants vs. Zombies™ 3 v16.1.1 +4 Jailed Cheats [ Freeze Resources ]
      Modded/Hacked App: Plants vs. Zombies™ 3 By EA Swiss Sarl
      Bundle ID: com.ea.ios.pvzn3xt
      iTunes Store Link: https://apps.apple.com/gb/app/plants-vs-zombies-3/id1666636976?uo=4


      Hack Features:
      - Freeze Sun
      - Freeze Plant Food
      - Freeze Promotions
      - No Plant Spawn Cooldown


      Jailbreak required hack(s): [Mod Menu Hack] Plants vs. Zombies™ 3 v8.0.17 +4 Cheats [ Freeze Resources ] - 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
      • 109 replies
    • Dawn of Ages: Medieval Games v1.1.2 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: Dawn of Ages: Medieval Games By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-ages-medieval-games/id6477473268?uo=4


      Hack Features:
      - Auto Win


      Jailbreak required hack(s): [Mod Menu Hack] Dawn of Ages: Medieval Games v1.0.3 +1 Cheat [ Auto Win ] - 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
        • Thanks
        • Winner
        • Like
      • 16 replies
    • Dawn of Ages: Medieval Games v1.1.2 +1 Cheat [ Auto Win ]
      Modded/Hacked App: Dawn of Ages: Medieval Games By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      iTunes Store Link: https://apps.apple.com/us/app/dawn-of-ages-medieval-games/id6477473268?uo=4


      Hack Features:
      - Auto Win


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Dawn of Ages: Medieval Games v1.0.3 +1 Jailed Cheat [ Auto Win ] - 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
      • 45 replies
    • Plants vs. Zombies™ 3 v16.1.1 +4 Cheats [ Freeze Resources ]
      Modded/Hacked App: Plants vs. Zombies™ 3 By EA Swiss Sarl
      Bundle ID: com.ea.ios.pvzn3xt
      iTunes Store Link: https://apps.apple.com/gb/app/plants-vs-zombies-3/id1666636976?uo=4


      Hack Features:
      - Freeze Sun
      - Freeze Plant Food
      - Freeze Promotions
      - No Plant Spawn Cooldown


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Plants vs. Zombies™ 3 v8.0.17 +4 Jailed Cheats [ Freeze Resources ] - 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
      • 60 replies
    • Hot in Hollywood v0.98 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hot in Hollywood By SodeePI Labs, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      iTunes Store Link: https://apps.apple.com/gb/app/hot-in-hollywood/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies


      Jailbreak required hack(s): [Mod Menu Hack] Hot in Hollywood v0.90 +1++ 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
        • Thanks
        • Like
      • 54 replies
    • Hot in Hollywood v0.98 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hot in Hollywood By SodeePI Labs, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      iTunes Store Link: https://apps.apple.com/gb/app/hot-in-hollywood/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Hot in Hollywood v0.90 +1++ 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
        • Like
      • 12 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