Friday, January 7, 2011

common windbg commands

1.!analyze -v
2.lm
3.!sym noisy
4..reload /n
5.bl,bp,bc
6.ld
7.x
8.http://windbg.info/doc/1-common-cmds.html#7_symbols
9.lm vm module -- timestamp
10.http://blogs.technet.com/b/marcelofartura/archive/2008/06/18/kernel-dump-analysis-bugcheck-1e-kmode-exception-not-handled.aspx
11.http://www.wd-3.com/archive/registercontext.htm
12.

At the start of called function:
1.push ebp ; Save the old stack base
2.mov ebp, esp ; Stack base becomes the current top of the stack
3.sub esp, 0xc ; Save space for local variables
4.mov eax, [ebp+8] ; example reference to one of the parameters
==========================================
1.http://www.technochakra.com/assembly-and-the-art-of-debugging/
==========================================

windows qos application

1.DSMark is supported only from vista
http://blogs.msdn.com/b/wndp/rss.aspx?Tags=QoS
2.DSMark in 2003
http://technet.microsoft.com/en-us/library/cc737728(WS.10).aspx
3.reflection in driver
http://blogs.msdn.com/b/wndp/archive/2007/09/07/detecting-802-1p-priority-tags.aspx
4.http://blogs.msdn.com/b/wndp/archive/tags/qos/
5.code for checking dscp and 802.1Q
http://read.pudn.com/downloads118/sourcecode/hack/501599/Priority_Inspection_LWF/src/filter/filter.c__.htm
6.Flow control snippet
http://blogs.msdn.com/b/wndp/rss.aspx
7.http://msdn.microsoft.com/en-us/library/aa374094(v=VS.85).aspx

Thursday, January 6, 2011

windows paging

1.http://www.winvistatips.com/difference-between-pageable-memory-and-nonpageable-memory-t184356.html

skb usage

1.http://vger.kernel.org/~davem/skb_data.html
2.http://book.chinaunix.net/special/ebook/oreilly/Understanding_Linux_Network_Internals/0596002556/understandlni-CHP-2-SECT-1.html

kernel stack size

1. windows kernel
http://www.microsoft.com/whdc/driver/tips/kmstack.mspx
2.linux kernel
http://www.linuxquestions.org/questions/programming-9/does-the-linux-kernel-stack-size-fixed-417388/
3.wince
8k?

good c programming

1.http://geeksforgeeks.org/?p=2405

tap and tun in linux

1.http://backreference.org/2010/03/26/tuntap-interface-tutorial/