windbg script to set breakpoint on netshell.dll's export function
来源:互联网 发布:ps做淘宝详情页尺寸 编辑:程序博客网 时间:2024/05/29 02:04
前言
今天在调试, 要对DLL下断点.
等下次要继续调试时(重新打开windbg), 还是要重新在windbg中下断点.
好烦, 写了一个脚本,等下次用windbg附加目标软件后, 在windbg命令行上载入脚本,让脚本将断点帮我下全了.
下断点的脚本
$$$$ @filename : set_bp_on_net_shell_dll.wds$$ @brief : set breakpoint on netshell.dll's export functions$$ @note : usage => $$>< F:\my_dbg_script\set_bp_on_net_shell_dll.wds$$$$ .cls can't use on windbg's script.printf /oD "set breakpoint on netshell.dll's export functions\n";.block{bc*.echo >> set breakpoint begin$$ api count = 30bp NETSHELL!DoInitialCleanupbp NETSHELL!HrCreateDesktopIconbp NETSHELL!HrGetAnswerFileParametersForNetCardbp NETSHELL!HrGetExtendedStatusFromNCSbp NETSHELL!HrGetIconFromMediaTypebp NETSHELL!HrGetInstanceGuidOfPreNT5NetCardInstancebp NETSHELL!HrGetNetConExtendedStatusFromGuidbp NETSHELL!HrGetNetConExtendedStatusFromINetConnectionbp NETSHELL!HrGetStatusStringFromNetConExtendedStatusbp NETSHELL!HrIsIpStateCheckingEnabledbp NETSHELL!HrLaunchConnectionbp NETSHELL!HrLaunchConnectionExbp NETSHELL!HrLaunchNetworkOptionalComponentsbp NETSHELL!HrOemUpgradebp NETSHELL!HrRenameConnectionbp NETSHELL!HrRunWizardbp NETSHELL!InvokeDunFilebp NETSHELL!NcFreeNetconPropertiesbp NETSHELL!NcIsValidConnectionNamebp NETSHELL!NetSetupAddRasConnectionbp NETSHELL!NetSetupFinishInstallbp NETSHELL!NetSetupInstallSoftwarebp NETSHELL!NetSetupPrepareSysPrepbp NETSHELL!NetSetupRequestWizardPagesbp NETSHELL!NetSetupSetProgressCallbackbp NETSHELL!NormalizeExtendedStatusbp NETSHELL!RaiseSupportDialogbp NETSHELL!RepairConnectionbp NETSHELL!StartNCWbp USER32!SetDlgItemTextW$$ break point disable index 29 => USER32!SetDlgItemTextW bd 29 .echo << set breakpoint end bl}
0 0
- windbg script to set breakpoint on netshell.dll's export function
- export function on ffmpeg
- How to set a breakpoint on a property within a third-party managed component?
- IAR调试出现the stack plug-in failed to set a breakpoint on "main"
- 在IAR 中出现the stack plug-in failed to set a breakpoint on "main"
- WinDbg F9时“code not found breakpoint not set”
- WinDbg F9时“code not found breakpoint not set”
- set a breakpoint in malloc_error_break to debug
- set a breakpoint in malloc_error_break to debug
- windbg调试错误:Breakpoint 11's offset expression evaluation failed.
- IAR调试cc2540 时 出现The stack plug-in failed to set a breakpoint on "main". 解决方法
- linux link script symbol export to C
- windbg : set message break point on win7x64
- warning: failed to set breakpoint site at 0x1005ed32c for breakpoint 28.1: error sending the breakpo
- double free *** set a breakpoint in malloc_error_break to debug
- How to RESOLVE a breakpoint on a managed Main method.
- How to export C++ class from dll
- experiment: view ssdt's api on windbg
- opengl图形拾取示例
- 误删除$ORACLE_HOME/dbs下的参数文件、密码文件,如何快速重建
- Linux chmod命令用法
- ZOJ2976-Light Bulbs
- R语言入门(3)时间序列模型的误差分析
- windbg script to set breakpoint on netshell.dll's export function
- javascript中 字符串转JSON 和 JSON遍历,原生超级for()和 jquery的$.each()比较
- 第四次实验 函数调用
- java中值传递与引用传递详解
- 找出一个单向链表的起始位置
- 攻破JAVA NIO技术壁垒
- JSON 与 对象 、集合 之间的转换
- poj 1330 Nearest Common Ancestors LCA/DFS
- CentOS Linux解决Device eth0 does not seem to be present