pstr.py 文件源码

python
阅读 60 收藏 0 点赞 0 评论 0

项目:MacHeap 作者: blankwall 项目源码 文件源码
def test_str_wstring():
        x = pstr.wstring()
        oldstring = "ok, this is unicode"
        string = oldstring
        x.length = len(string)/2
        string = ''.join([c+'\x00' for c in string])
        x.source = provider.string(string)
        x.load()
        if x.str() == oldstring[:len(oldstring)/2]:
            raise Success
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号