美文网首页
Mach-O查看类中的所有方法

Mach-O查看类中的所有方法

作者: Andyzhao | 来源:发表于2019-05-08 14:26 被阅读0次
    1.png 2.png

    此处结构为:

    typedef struct objc_class{
            unsigned long long isa;
            unsigned long long superclass;
            unsigned long long cache;
            unsigned long long vtable;
            unsigned long long data;
            unsigned long long reserved1;
            unsigned long long reserved2;
            unsigned long long reserved3;
    }objc_class;
    
    3.png
    typedef struct objc_classdata{
        long long flags;
        long long instanceStart;
        long long instanceSize;
        long long reserved;
        unsigned long long ivarlayout;
        unsigned long long name;
        unsigned long long baseMethod;
        unsigned long long baseProtocol;
        unsigned long long ivars;
        unsigned long long weakIvarLayout;
        unsigned long long baseProperties;
    }
    
    4.png 5.png 6.png

    相关文章

      网友评论

          本文标题:Mach-O查看类中的所有方法

          本文链接:https://www.haomeiwen.com/subject/yryeoqtx.html