上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 36 下一页
摘要: 在逆向的时候发现有KeTickCount,它其实是应该调用KeQueryTickCount时产生的。KeQueryTickCount其实是个宏#define KeQueryTickCount(CurrentCount ) { \ volatile PKSYSTEM_TIME _TickCount = *((PKSYSTEM_TIME *)(&KeTickCount)); \ while (... 阅读全文
posted @ 2009-07-13 15:33 Fan Zhang 阅读(1614) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2009-07-13 10:47 Fan Zhang 阅读(147) 评论(0) 推荐(0)
摘要: malloccalloc,初始化每个元素都为0realloc 重新分配新的地址,将旧地址拷贝到新地址里 阅读全文
posted @ 2009-07-07 15:35 Fan Zhang 阅读(189) 评论(0) 推荐(0)
摘要: [] 列表() 元组{} 字典 阅读全文
posted @ 2009-07-06 16:15 Fan Zhang 阅读(160) 评论(0) 推荐(0)
摘要: # -*- coding:gb2312 -*- #必须在第一行或者第二行 print u"吴".encode("gb18030") print "吴" print len(u"吴") print len("吴") 阅读全文
posted @ 2009-07-03 23:27 Fan Zhang 阅读(146) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python'makeTextFile.py -- create text file'import osls = os.linesep# get filenamewhile True: if os.path.exists(fname): print"*** ERROR: '%s' already exists" % fname else: break# get fil... 阅读全文
posted @ 2009-07-03 17:54 Fan Zhang 阅读(825) 评论(0) 推荐(0)
摘要: 1.字符串用单引号2.print不用括号3.print用%例如 print "%s is number %d!" % ("Python", 1)4.不用大括号,而用缩进5.if判断时,不用小括号括起条件,然后加上冒号:6.字符串用[]提取时,-1代表结束的字符7.if语句if expression: if_suiteif expression: if_suite else: else_suitei... 阅读全文
posted @ 2009-07-02 17:43 Fan Zhang 阅读(172) 评论(0) 推荐(0)
摘要: IopCreateFile=>IoMountVolume=>IopMountFileSystemIopMountFileSystem构造IRP StackPtr->MajorFunction = IRP_MJ_FILE_SYSTEM_CONTROL; StackPtr->MinorFunction = IRP_MN_MOUNT_VOLUME; 然后依次查询注册过的分区驱动,... 阅读全文
posted @ 2009-06-24 17:29 Fan Zhang 阅读(302) 评论(0) 推荐(0)
摘要: make dist会将所有文件编译后,放在\dist目录下。 阅读全文
posted @ 2009-06-24 16:11 Fan Zhang 阅读(295) 评论(0) 推荐(0)
摘要: 感觉IoCreateFile应该算是系统调用,它会调用ObCreateObject函数。 IoCreateFile和IoCreateDevice都会调用ObCreateObject函数。在中IoCreateFile中, Status = ObCreateObject(FileHandle, DesiredAccess, ObjectAttributes, IoFileObjectType, (PV... 阅读全文
posted @ 2009-06-24 15:40 Fan Zhang 阅读(825) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 36 下一页