本文探讨fs 是否等于fs:0fs是段选择子,16位。
fs:x 是段寻址,寻找到的地址为32位,此值为fs指向的段段内偏移x处的地址。根据已知FS:0指向TEB
以此源码为例,windbg双调。.386
.model flat,stdcall
option casemap:none
.code
start:
int 3
nop
nop
end startwindbg捕获断点kd> !teb
T...
分类:
其他好文 时间:
2015-05-27 10:21:47
阅读次数:
287
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2015-05-27 09:50:06
阅读次数:
131
App_start/RouteConfig.cs/RegisterRoutes(RouteConllection routes){ routes.IgnoreRoute("{resource}.axd/{*pathInfo}");//设置*.axd等格式的网址路径不要通过asp.net mvc 路....
分类:
Web程序 时间:
2015-05-27 09:43:05
阅读次数:
192
这个是Mac OS App开发学习的第一篇,希望是一个好的开始。一、为什么要学习Mac OS App开发 a)长时间做IOS开发,发现自己所做的局限在苹果的一些库上面,一些底层的API却是私有的,不利于自己对操作系统的理解,学习Mac OS 可以增加对底层系统的理解,OC也有更广泛的应用空间。 .....
分类:
系统相关 时间:
2015-05-26 23:21:51
阅读次数:
192
1. 下载源码,W. Richard Stevens的主页:http://www.kohala.com/start/wget http://www.kohala.com/start/unpv22e/unpv22e.tar.gz -P /usr/local/src2. 解压tar xvf /usr/l...
分类:
其他好文 时间:
2015-05-26 23:13:35
阅读次数:
381
systemctl start mariadb #启动MariaDBsystemctl stop mariadb #停止MariaDBsystemctl restart mariadb #重启MariaDBsystemctl enable mariadb #设置开机启动mysql -u root -...
分类:
数据库 时间:
2015-05-26 23:04:05
阅读次数:
687
String(byte[] byte,int start,int length);如果byte数组指定长度12,但只存储10个字节,那么这里的length最多为10,这样一理解超简单,之前一直不懂。API中是这样说的通过使用平台的默认字符集解码指定的 byte 子数组,构造一个新的 String.....
分类:
其他好文 时间:
2015-05-26 23:03:19
阅读次数:
176
1:开始测试tpcc_start -h server_host -P port -d database_name -u mysql_user \ -p mysql_password -w warehouses -c connections -r warmup_time \ -l running_ti...
分类:
数据库 时间:
2015-05-26 20:39:44
阅读次数:
181
参考资料:http://www.cnblogs.com/likwo/p/3154868.html 感谢系统信息 阿里云ubuntu14第一步:下载安装sudo apt-get install vsftpd启动sudo service vsftpd start第二步:修改配置文件cat /etc/vs...
分类:
系统相关 时间:
2015-05-26 20:32:32
阅读次数:
151
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree. For example:Given the below binary tree, 1 ...
分类:
编程语言 时间:
2015-05-26 18:40:02
阅读次数:
157