上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 1. 无分支求绝对值1 mov ax, tmp2 cwd3 xor ax, dx4 sub ax, dx2. 判断是否为01 cmp ax, 02 3 test ax, ax3. 判断奇偶1 test ax, 01h4. 判断正负1 test ax, 8000h5. 取模优化1 x % (2^n) ... 阅读全文
posted @ 2015-05-02 19:40 luzhiyuan 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-04-27 14:19 luzhiyuan 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Eclipse下NDK开发。新建android项目后,右键添加native支持,将Application.mk拷贝到jni目录下,支持生成可执行文件。APP_ABI := armeabiAPP_PLATFORM := android-8APP_STL := gnustl_staticAPP_CPPF... 阅读全文
posted @ 2015-04-23 11:08 luzhiyuan 阅读(205) 评论(0) 推荐(0) 编辑
摘要: [oledb]; Everything after this line is an OLE DB initstringProvider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=te... 阅读全文
posted @ 2015-04-23 11:05 luzhiyuan 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1. ps | grep crackme2. gdb --pid 如果附加进程不成功,可以附加该进程的线程 执行 ls /proc//task 查看该的线程 如果不能查看线程信息,根据经验,tid一般在 pid+2~ pid+15 之间 附加上后,在gdb中执行info proc maps... 阅读全文
posted @ 2015-04-10 11:27 luzhiyuan 阅读(530) 评论(0) 推荐(0) 编辑
摘要: auto i,fp;fp = fopen("d:\\dump.dex","wb");for(i=0x46B6D000;i<0x46B6f000;i++)fputc(Byte(i),fp); 阅读全文
posted @ 2015-04-08 23:15 luzhiyuan 阅读(1881) 评论(0) 推荐(0) 编辑
摘要: 1. dg 0 100查看gdt所指向的全局描述符表2. !process 0 0查看所有进程信息,其中Cid为PID,DirBase为CR3,Image为进程名。!process查看当前进程信息3. uf nt!ZwCreateFileu查看反汇编,uf查看函数完整的反汇编4. x nt!*cre... 阅读全文
posted @ 2015-04-07 19:20 luzhiyuan 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: 1 #源文件路径,call my-dir调用my-dir宏,返回Android.mk的路径 2 LOCAL_PATH := $(call my-dir) 3 4 #生成so 5 include $(CLEAR_VARS) 6 LOCAL_MODULE := First 7 LOCAL_SR... 阅读全文
posted @ 2015-04-05 10:59 luzhiyuan 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Ring3测试程序:http://blog.csdn.net/zj510/article/details/82163211.readfile和writefile可以实现应用程序与驱动程序通信,另外一个Win32 API 是DeviceIoControl。应用程序自定义一中IO控制码,然后调用Devi... 阅读全文
posted @ 2015-04-01 21:15 luzhiyuan 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://blog.sina.com.cn/s/blog_967817f20101bsf0.html参考链接:http://www.cnblogs.com/Dahaka/archive/2012/02/19/2358528.html因为pthread_cond_wait函数包含了很多操... 阅读全文
posted @ 2015-03-31 14:23 luzhiyuan 阅读(654) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页