如何类突降iPad应用程序? [英] How to class-dump iPad apps?

查看:206
本文介绍了如何类突降iPad应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行类转储iPad应用程序,探索它的架构。我使用提取的取档的.ipa文件,并从有效载荷文件夹中,我跑.app文件类转储。不过,我得到这个错误:

I am trying to run class-dump an iPad app to explore its architecture. I extracted the .ipa file using The Unarchiver and from inside the Payload folder, I ran class-dump on the .app file. However, I get this error:

/*
 *     Generated by class-dump 3.3.3 (64 bit).
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard.
 */

#pragma mark -

/*
 * File: /Users/jason/Desktop/foo/Foo.app/Foo
 * UUID: 1234567890
 * Arch: arm v7 (armv7)
 *
 *       Objective-C Garbage Collection: Unsupported
 *       This file is encrypted:
 *           cryptid: 0x00000001, cryptoff: 0x00001000, cryptsize: 0x00073000
 */

任何想法?

感谢。

推荐答案

这里的问题是,你得到的二进制文件已经签署,加密,将在App Store中。为了类转储或拆开它,你将需要获得一个未加密的二进制文件。得到这个最简单的方法就是使用GDB倾倒时,它的运行可执行(因为iPhone解密二进制运行它)。

The issue here is that the binary you obtained has been signed and encrypted to be used on the App Store. In order to class dump or disassemble it you will need to obtain an unencrypted binary. The easiest way to get this is to use GDB to dump the executable when it's running (since the iPhone decrypts the binary to run it).

当然,这需要一个越狱的设备。

Of course, this will require a jailbroken device.

这篇关于如何类突降iPad应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆