导航

2014年3月29日

摘要: UTF-8 and Unicode FAQ for Unix/Linuxby Markus KuhnThis text is a very comprehensive one-stop information resource on how you can use Unicode/UTF-8 on POSIX systems (Linux, Unix). You will find here both introductory information for every user, as well as detailed references for the experienced devel 阅读全文

posted @ 2014-03-29 17:41 littledot 阅读(1518) 评论(0) 推荐(0) 编辑

2014年2月22日

摘要: 1. What is bug hunting? -- the process of finding bugs in software/hardware. security related bugs are called security vulnerablities, the programs that take advantage of them are called exploits.2. Why hunting security bugs? -- Mostly for profits.3. Techniques: static analysis and dynamic analysiss 阅读全文

posted @ 2014-02-22 16:10 littledot 阅读(350) 评论(0) 推荐(0) 编辑

摘要: http://www.360doc.com/userhome.aspx?userid=7891085&cid=10#http://www.linuxforu.com/2011/08/io-control-in-linux/ 阅读全文

posted @ 2014-02-22 13:07 littledot 阅读(175) 评论(0) 推荐(0) 编辑

2014年2月20日

摘要: Measuring Application Launch Times with AppTimerhttp://www.testingperspective.com/?page_id=2500An easy solution for improving app launch performancehttp://blogs.msdn.com/b/dotnet/archive/2012/10/18/an-easy-solution-for-improving-app-launch-performance.aspxApplication Startup Timehttp://msdn.microsof 阅读全文

posted @ 2014-02-20 22:46 littledot 阅读(123) 评论(0) 推荐(0) 编辑

2014年2月14日

摘要: http://jpassing.com/2007/06/09/determining-the-apartment-of-a-thread/http://blogs.msdn.com/b/benkuhn/archive/2006/09/15/756401.aspx 阅读全文

posted @ 2014-02-14 11:28 littledot 阅读(83) 评论(0) 推荐(0) 编辑

2014年1月13日

摘要: Shell: A command interpreter on Linux, also, it is a powerful programming language. A shell program is an eay to use tool for building applications by gluing together system calls, tools, utilities, and compiled binaries.A shell script is a quick-and-dirty method of prototyping a complex application 阅读全文

posted @ 2014-01-13 15:01 littledot 阅读(119) 评论(0) 推荐(0) 编辑

2014年1月8日

摘要: http://stackoverflow.com/questions/9305992/linux-threads-and-processI have a query related to the implementation of threads in Linux.Linux does not have an explicit thread support. In userspace, we might use an thread library (like NPTL) for creating threads. Now if we use NPTL its support 1:1 mappi 阅读全文

posted @ 2014-01-08 21:56 littledot 阅读(322) 评论(0) 推荐(0) 编辑

2013年12月21日

摘要: 访问权限(Access Right)和访问掩码(Access Mask):访问权限是一个位标志(bit flag),表示线程可对对象所作的某一个操作,比如:KEY_SET_VALUE访问权限,表明线程可以在某个key下面set value。访问掩码是一个32位的值,对应于一个对象所支持的所有访问权限。typedef DWORD ACCESS_MASK;访问掩码主要可分为4部分:Generic access rightsStandard access rightsSACL access rightObject-specific access rights格式如下:BitsMeaning0–15S 阅读全文

posted @ 2013-12-21 10:47 littledot 阅读(245) 评论(0) 推荐(0) 编辑

2013年12月17日

摘要: Page 305 服务是一种特殊的程序,开机自运行,不需要用户干预。Windows上服务主要有3部分:服务程序,服务控制管理器(SCM),服务控制程序(SCP)。SCM即services.exe,它的数据仓库是HKLM\System\CCS\Services。SCP的例子是sc.exe。客户端的SCM API实现在advapi.dll中。可以通过SCM API和SCM打交道,从而控制services。 阅读全文

posted @ 2013-12-17 23:20 littledot 阅读(155) 评论(0) 推荐(0) 编辑

2013年12月13日

摘要: Page 392 数据结构ETHREAD & KTHREADTEBCSR_THREAD & W32THREAD省略Page 409 Windows上实现的是基于优先级的,抢占式的调度器,优先级最高的线程总能得到CPU。当一个线程得到运行机会的时候,它运行一个quantum的时间(在此时间内不会被同优先级的其他线程打断)。但该线程不见得能用完该quantum,有可能被其他更高优先级的线程抢占。Page 410 Windows调度的单位是线程,调度时完全不考虑进程信息,所以一个进程多创建线程,就可能抢占更多的CPU。进程A有100个线程,B有2个,假设所有线程的优先级相同。则进程A 阅读全文

posted @ 2013-12-13 16:15 littledot 阅读(298) 评论(0) 推荐(0) 编辑