iOS动态库

经常有某些第三方类库需要添加libz.dylib文件,不知道其作用。同时libz貌似有很多版本,什么1.2.5,1.1.3什么的,各版本之间有啥差异呢?

A file ending in the extension .dylib is a dynamic library: it's a library that's loaded at runtime instead of at compile time. If you're familiar with DLLs from Windows or DSOs, it's more or less the same type of thing with a few twists. The Dynamic Library Programming Topics section of the Mac OS X Developer Library covers all the details about the format and what you should be aware of.

libz.dylib is the dynamic library for Zlib, a general compression library. PDFs can (and usually do) use zlib to compress different aspects of the data contained within them, but accessing the PDF data at that level is pretty low-level, and higher-level libraries would abstract most of that type of stuff.

dylib反编译:

dylib是mac os或者iphone os上的动态连接库文件,因为里面很多机器代码,除非你牛XXXX,不然没法改动的。可用otool查文件头的信息啊,用IDA对dylib进行反汇编,找到你要修改的十六进制代码,之后再用十六进制代码查看器UltraEdit修改。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值