摘要: daniel@daniel-mint ~/latex/linux/itext/daniel $ cat asm.sh header_start=0header_len=15xref_start=$(strings -a -t d $1 | grep -e "\bxref\b" | awk '{pri... 阅读全文
posted @ 2014-08-21 17:58 Daniel King 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 参考:http://stackoverflow.com/questions/14141008/grep-offset-of-ascii-string-from-binary-filestrings -a -t x filename | grep foobardaniel@daniel-mint ~/... 阅读全文
posted @ 2014-08-21 17:31 Daniel King 阅读(951) 评论(0) 推荐(0) 编辑
摘要: 1. 当返回值为STATUS_SUCCESS时,返回的字节数保存在IoStatusBlock.Information字段中;2. 如果FileName字段被指定了,那么对于同时指定的FileHandle,那么所有后续的对于该FileHandle的调用,都要根据该FileName来过滤结果。3. 如果... 阅读全文
posted @ 2014-08-21 11:10 Daniel King 阅读(1068) 评论(0) 推荐(0) 编辑