pass phrase arguments PASS PHRASE ARGUMENTSSeveral commands accept password arguments, typically using -passin and -passout for input and output passwords respectively. These allow the password to be obtained from a vari
win64 debugging 32位程序在 win64 下运行 crash, 用 taskmgr 创建一个 dump. 用 32位 windbg 打开这个 dump, 用如下命令切换到 32位 模式之后, 调试就和普通 32位 dump 一样了: 0:000> .load wow64exts0:000> !swSwitched to 32bit mode
check ShowWindow API 在 windows 下调试窗口相关的代码时, 有时候需要检查一个窗口为什么被显示/隐藏. 归根结底显示/隐藏窗口都是通过调用 ShowWindow/SetWindowPos 这两个 API 来实现的. 这里提供的脚本本质上就是在这两个 API 上放断点. trace 出窗口句柄以及参数. 看脚本:.if (not(${/d:$arg1})) { .echo usage: .echo
xcode 分布式编译 看到 xcode 的设置里有一个 Distributed Builds. 今天晚上打算试试. 先 google. 找到了两片文章: http://www.algorithm.com.au/blog/files/xcode-distributed-builds-performance.phpXcode Distributed Builds Performancehttp://
显示源码相关命令 lsa lsc lsp lsf 首先保证 .srcpath 设置正确lsa address 列出 address 所在的代码块.如果你觉得显示的不够多, 可以用 lsp -a 30 来设置 lsa 命令显示的行数.lsc 列出当前显示的文件名和行号lsf filename 加载特定的源文件, 但此命令不理会 srcpath, 所以你必须指定相对当前目录的路径或者绝对路径. 所以, 这个命令不太实用.
UniqueList excel 对 excel 表中的列作 unique 操作. 要求先排好序. Sub UniqueList() On Error Resume Next For col = 65 To 65 + 23 Range(Chr(col) & "1", Range(Chr(col) & "65536").End(xlUp)).AdvancedFilter Action:=xlFilt
邮件短信提醒 vba script for outlook 使用 sms.api.bz 这个短信网关. 要求先开通飞信. 填好 URL 中的各个参数.在 outlook 中, 用 alt+f11 打开 vba 编辑器. 保持好如下脚本.然后创建一条规则, 当特定邮件到达时执行这个脚本. Sub SendSMS(Item As Outlook.MailItem) Dim msg Dim ret msg = URL
检测网络状态 这里有一篇很详细的介绍.http://www.gershnik.com/faq/manage.asp 下面实现了最后一种方式的检测. 在 xp 上测试通过. (win2000 可能有问题).先检测 dwOperStatus 是不是 MIB_IF_OPER_STATUS_OPERATIONAL, 再检测 ip/gateway 是不是 0.0.0.0. 下面几种情况测试通过..
kb 参数使用示例 [quoted from http://blogs.msdn.com/ntdebugging/archive/2009/09/02/push-locks-what-are-they.aspx] What does a Pushlock look like? 3: kd> !thread 8c9764c0THREAD 8c9764c0 Cid 2410.1be4 Teb: 7
ida, ollydbg 使用 PDB. _NT_SYMBOL_PATH ida 5.2 自带的加载 pdb 的功能有问题. 于是找到了这个:http://msmvps.com/blogs/v_scherbina/archive/2006/12/22/pdbext_5F00_v0_5F00_2.aspx ollydbg 只会在当前目录找 pdb. 这里的帖子上讲了如何修改 ollydbg.exe 来 fix 这个问题:http://www.openrce
skip running a func using windbg .if (not(${/d:$arg1})) { .echo usage: .echo " ${$arg0} func-name [arg-count]" .echo " if arg-count is omitted, 0 is the default value."}.else{ .if (${/d:$arg2}) { bp ${$arg1}
Anatomy of a SWF File http://www.actionscript.org/resources/articles/728/1/Anatomy-of-a-SWF-File/Page1.html
sysinternal 发布新工具 procdump 当一个程序 hang 或者长时间没有响应的时候, 可以自动创建 dump 文件。 check the following link for details. http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx
Apply wininet dbg version to an app build with vs2008. keyword: wininet.dll urlmon.dll debug version iexplore.exe.local Microsoft.VC90.ATL.manifest Microsoft.VC90.CRT.manifest msvcr90.dll atl90.dll 在 side-by-side component 之前, 运用 Dynamic-Link Library