您的位置:首页 > 其它

MachOTemplate.bt 一处小错误。

2015-11-24 10:10 253 查看
typedef struct {    char section_name[16];    char segment_name[16];    uint64 address ;    uint64 size ;    uint64 offset;     //  这个错了。 应该是 uint32 offset;    uint32 section_alignment;    uint32 relocation_entry_offset;    uint32 number_of_relocation_entries;    uint32 flags ;    uint32 reserved1;    uint32 reserved2;} Section64 ;

修改后。。

typedef struct {    char section_name[16];    char segment_name[16];    uint64 address ;    uint64 size ;    uint32 offset;    uint32 section_alignment;    uint32 relocation_entry_offset;    uint32 number_of_relocation_entries;    uint32 flags ;    uint32 reserved1;    uint32 reserved2;} Section64 ;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: