Category Archives: /dev/null

自己实现的dd工具

闲来无聊,想仿照一下dd这个ctl,结果还遇到了malloc的一些问题。

malloc: *** error for object 0x100105438: incorrect checksum for freed object - object was probably modified after being freed.*** set a breakpoint in malloc_error_break to debug

打印出0x100105438的内容,一看,原来是ofdev所在的地址,但是我并没有free掉ofdev啊,而且为什么会checksum错误呢?非常奇怪的现象。

现在的处理办法是 : 在用过ifdev和ofdev之后,把这两个字符串清空,就可以一切正常。

Continue reading 自己实现的dd工具

MIT Algorithms (1)

1)  f(n) = O(g(n))
    It means there are consts C > 0, n > 0 such that 0 <= f(n) <= c * g(n) for sufficiently large n.
    f(n) = Ω(g(n))
    It means there are consts C > 0, n > 0 such that 0 <= c * g(n) <= f(n) for sufficiently large n.
    
    O notation, less than or equal to.
    Ω notation, greater than or equal to.
    Θ notation, less than or equal to AND greate than or equal to.
2)  Macro convention
    A set in a formula represnts on anonymous function in that set.
    
3)  big O is upper bounds
O notation, less than or equal to.
Continue reading MIT Algorithms (1)

iOS7越狱,太极7小谈——My only concern is for the trust of my users

悄无声息,iOS7的beta版越狱出来了——太极7。在太极7的中文版里,捆绑了太极助手和一些盗版源,Cydia成为了可选项。
然而,evasi0n的成员是否忘记了iOS越狱的初衷呢,对iOS系统进行越狱是为了更好的利用Unix系统的功能,而非进行各种盗版活动。

Continue reading iOS7越狱,太极7小谈——My only concern is for the trust of my users