All Projects → limneos → Classdump Dyld

limneos / Classdump Dyld

Class-dump any Mach-o file without extracting it from dyld_shared_cache

Labels

Projects that are alternatives of or similar to Classdump Dyld

design
Posters, Icons and graphics used by KOSS
Stars: ✭ 15 (-96.7%)
Mutual labels:  logos
ReachInfo
Reachability modernized.
Stars: ✭ 21 (-95.38%)
Mutual labels:  logos
Devicon
Set of icons representing programming languages, designing & development tools
Stars: ✭ 4,536 (+896.92%)
Mutual labels:  logos
FLEXall
Another FLEX loader that can be activated using long press on status bar or long three finger press anywhere.
Stars: ✭ 38 (-91.65%)
Mutual labels:  logos
simple-icons-pdf
PDF icons for popular brands
Stars: ✭ 16 (-96.48%)
Mutual labels:  logos
libre-logos
A collection of free logos for open source projects
Stars: ✭ 131 (-71.21%)
Mutual labels:  logos
Nougat
Android notification shade for iOS
Stars: ✭ 25 (-94.51%)
Mutual labels:  logos
Nrol 39 Logo
A vector PDF of the official mission logo of NROL-39 released via FOIA
Stars: ✭ 398 (-12.53%)
Mutual labels:  logos
carsBase
База автомобилей с марками и моделями JSON, CSV, XLSX и MySQL
Stars: ✭ 49 (-89.23%)
Mutual labels:  logos
Ignition
Runs the CarPlay UI directly on top of SpringBoard on an iOS device, no need for a car!
Stars: ✭ 270 (-40.66%)
Mutual labels:  logos
logos
No description or website provided.
Stars: ✭ 19 (-95.82%)
Mutual labels:  logos
svg-music-logos
🎧 A collection of logos and symbols from bands, musicians and related in SVG
Stars: ✭ 30 (-93.41%)
Mutual labels:  logos
football-team-flags
Flags from national teams made with css 🏳
Stars: ✭ 19 (-95.82%)
Mutual labels:  logos
center.js
Center.js is a HTML5 Canvas based library that allows you to create simple text based icons, avatars, logos, and more.
Stars: ✭ 85 (-81.32%)
Mutual labels:  logos
Lookinloader
Lookin - iOS UI Debugging Tweak LookinLoader,Compatible with iOS 8~13
Stars: ✭ 357 (-21.54%)
Mutual labels:  logos
image-titler
An image title generator using The Renegade Coder style
Stars: ✭ 15 (-96.7%)
Mutual labels:  logos
NotificationExplorer
See what notifications exist at runtime
Stars: ✭ 43 (-90.55%)
Mutual labels:  logos
Cydia
🔥🔥🔥我的微信公众号: Cydia 🔥🔥🔥=> Cydia插件 Logos语言 开发Tweak.xm Cydia Substrate 注入dylib iOS逆向工程开发 越狱Jailbreak deb插件 - fishhook / Frida / iOSOpenDev / Cycript / MachOView / IDA / Hopper Disassembler / MonkeyDev / Class-dump / Theos / Reveal / Dumpdecryptd / FLEX / 汇编Assembly / CaptainHook / lldb/LLVM/XNU/Darwin/iOS Reverse
Stars: ✭ 407 (-10.55%)
Mutual labels:  logos
Ispy
A reverse engineering framework for iOS
Stars: ✭ 361 (-20.66%)
Mutual labels:  logos
Font Logos
An icon font providing popular linux distro's logos
Stars: ✭ 256 (-43.74%)
Mutual labels:  logos

classdump-dyld

Major update

As of February 5 2016, I have added cycript integration.

You can now dlopen /usr/lib/libclassdumpdyld.dylib in cycript after injecting any application,

and dlsym the dumpClass and dumpBundle functions.

extern "C" NSString * dumpClass(Class *aClass);

extern "C" NSString * dumpBundle(NSBundle *aBundle);

extern "C" NSString * dumpBundleForClass(Class *aClass);

This is extremely useful in cases when classdump-dyld cannot inject and dump applications.

(This makes weak_classdump project obsolete)

A typical usage in cycript would be:

#cycript -p SpringBoard

@import net.limneos.classdumpdyld;

classdumpdyld.dumpClass(SpringBoard);
@"Wrote file /tmp/SpringBoard.h"

classdumpdyld.dumpBundle([NSBundle mainBundle]);
@"Wrote all headers to /tmp/SpringBoard"

// Dump any bundle other than the main bundle 
classdumpdyld.dumpBundle([NSBundle bundleWithIdentifier:@"com.apple.UIKit"]);
@"Wrote all headers to /tmp/UIKit"

// Dump any image loaded in the process using any class name it contains
classdumpdyld.dumpBundleForClass(CallBarControllerModern);
@"Wrote all headers to /tmp/CallBar7"

General Info

Added 64bit executables dumping and single class dumping

A class dumping command line tool that generates header files from app binaries, libraries, frameworks, bundles or the whole dyld_shared_cache.

Eliminates the need to extract files from the dyld_shared_cache in order to class-dump them or get symbols.

Mass-dumps whole dyld_shared_cache or directories containing any mach-o file recursively.

You can instantly classdump any compatible Mach-o file, either if it is physically stored on disk or it resides in the dyld_shared_cache.

Features and options:

  • Classdump files that appear malformed to the usual tools on device.
  • Classdump files or frameworks on runtime without extracting them from dyld_shared_cache.
  • Classdump files that reside on disk as usual
  • Recursively search for compatible files and dump them (e.g. whole directory of "/System/Library", "/Applications" or "/" )
  • Recursively dump all the images stored in dyld_shared_cache
  • Generate symbols list for files that are stored in dyld_shared_cache without extracting them.
  • Generation of all structs, symbols and necessary #imports to correctly fill up each header file. (I pray for that)

You can find a recursive sample output on this project under iphoneheaders. It also works on a Mac for dyld_shared_cache and some libraries


Usage: classdump-dyld [<options>] <filename|framework>

	   classdump-dyld [<options>] -r <sourcePath>
	   

Options:

	Structure:
		-g   Generate symbol names 
		-h   Add a \"Headers\" directory to place headers in
		-b   Build original directory structure in output dir
		-u   Do not include framework when importing headers ("Header.h" instead of <frameworkName/Header.h>)

	Output:
		-o   <outputdir> Save generated headers to defined path

	Single Class:
		-j   <className> Dump only the specified class name. (Does not work with -c or -r )
                    This might also dump additional imported or required headers.
	
	Mass dumping: (requires -o)
		-c   Dump all images found in dyld_shared_cache 
		-r   <sourcepath> Recursively dump any compatible Mach-O file found in the given path (requires -o) 
		-s   In a recursive dump, skip header files already found in the same output directory 
	
	Miscellaneous: 
		-D   Enable debug printing for troubleshooting errors
		-e   dpopen 32Bit executables instead of injecting them (iOS 5+, use if defaults fail.This will skip any 64bit executable) 
		-a   In a recursive dump, include 'Applications' directories (skipped by default)
	Examples:
		Example 1: classdump-dyld -o outdir /System/Library/Frameworks/UIKit.framework
		Example 2: classdump-dyld -o outdir /usr/libexec/backboardd
    	Example 3 (recursive): classdump-dyld -o outdir -c  (Dumps all files residing in dyld_shared_cache)
		Example 4 (recursive): classdump-dyld -o outdir -r /Applications
		Example 5 (recursive): classdump-dyld -o outdir -r / -c  (Mass-dumps almost everything on device)

Usage limitations

classdump-dyld works with Mach-o files only. Some files have protection against being dynamically loaded from a different process. In those cases, you can use weak_classdump or other tools.

by Elias Limneos

web: limneos.net

twitter: @limneos

Licence

classdump-dyld is Copyright (c) 2013-2016 Elias Limneos, licensed under GPLv3.

Environment

classdump-dyld works in a command line shell on any iOS 5+ device and Mac OS X. Tested from iOS 5.x to iOS 8.x and Mac OSX 10.8+.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].