EnterCriticalSection 如何实现得到锁?

摘要: _RtlEnterCriticalSection@4:77E022D0 mov edi,edi 77E022D2 push ebp 77E022D3 mov ebp,esp 77E022D5 sub esp,0Ch 77E022D8 push esi 77E022D9 push edi 77E022 阅读全文
posted @ 2017-05-11 22:28 ltzhou 阅读(258) 评论(0) 推荐(0)

dll 相互依赖时LoadLibrary时初始化顺序

摘要: A.dll 与B.dll相互隐式依赖, 并且在B.dll 中DLL_PROCESS_ATTACH时调用LoadLibrary("A.dll") exe 中调用LoadLibrary("A.dll")来开启加载开关, 则调用顺序: EXE -> A.dll ->B.dll 运行顺序: 1,B.dll 阅读全文
posted @ 2017-05-11 00:58 ltzhou 阅读(374) 评论(0) 推荐(0)

difference between __cdecl and __stdcall

摘要: __cdecl sample code ; Function compile flags: /Ogtp; File c:\work_space\testdll\serverdll\serverdll.cpp; COMDAT _ServerDllFunc1_TEXT SEGMENT_i$ = 8 ; 阅读全文
posted @ 2017-04-30 18:50 ltzhou 阅读(100) 评论(0) 推荐(0)

windbg miscellaneous

摘要: .sympath cache*\\remoteserver\dir\ > actuall local symbol path: C:\ProgramData\dbg\sym\ (tested on windows server2012 r2) 阅读全文
posted @ 2017-04-19 18:24 ltzhou 阅读(75) 评论(0) 推荐(0)

ie log file path win7&win2012 r2

摘要: C:\Users\test\AppData\Local\Microsoft\Windows\INetCache\virtualized\ ... (ie temp folder , windows server 2012 r2) protected mode on: log file path: C 阅读全文
posted @ 2017-04-19 15:55 ltzhou 阅读(150) 评论(0) 推荐(0)

setting up kernel debugging on a vmworkstation virtual machine

摘要: 1. look up section Setting Up Kernel-Mode Debugging of a Virtual Machine Manually in windbg help mannual. 2. create COM port & named pipe on the virtu 阅读全文
posted @ 2017-04-15 13:55 ltzhou 阅读(119) 评论(0) 推荐(0)