如何在lldb中打印CGRect(逆向工程)

时间:2017-10-06 13:39:05

标签: ios reverse-engineering lldb

试图获得rectange。使用AppKit我只使用NSRect,它就像一个魅力。在iOS上我失败了:

(lldb) e @import UIKit
(lldb) e @import CoreGraphics
(lldb) e @import Foundation
(lldb) po (CGRect)$rax
error: 'CGRect' is an incomplete type
forward declaration of 'CGRect'

我遇到类似的问题(矩形问题)

(lldb) po [$rdi bounds]
error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=EXC_I386_GPFLT).
The process has been returned to the state before expression evaluation.

lldb

0 个答案:

没有答案