Windbg common breakpoints

Source: Internet
Author: User

Windbg common breakpoints

Interception window:
BP createwindowCreate window
BP createmediawex ()Create window
BP showwindowDisplay window
BP updatewindowUpdate window
BP getwindowtext ()Get window text

Intercept message box:
BP MessageBox ()Create message box
BP messageboxexaCreate message box
BP messageboxindirect ()Create custom message box
BP isdialogmessagew

Interception warning:
BP messagebeepIssuing System alerts(If you do not have a sound card, you can directly drive the system speaker.)

Interception dialog box:
BP dialogboxCreate Modal Dialog Box
BP dialogboxparam ()Create Modal Dialog Box
BP dialogboxindirectCreate Modal Dialog Box
BP dialogboxindirectparam ()Create Modal Dialog Box
BP createdialogCreate non-Modal Dialog Box
BP createdialogparam ()Create non-Modal Dialog Box
BP createdialogindirectCreate non-Modal Dialog Box
BP createdialogindirectparam ()Create non-Modal Dialog Box
BP getdlgitemtext ()Get dialog box text
BP getdlgitemintGet the integer of the dialog box

Intercept clipboard:
BP getclipboarddataObtain Clipboard data

Interception registry:
BP regopenkey ()Open Zijian
BP regopenkeyexOpen Zijian
BP regqueryvalue ()Search for Zijian
BP regqueryvalueexSearch for Zijian
BP regsetvalue ()Set up Zijian
BP regsetvalueex ()Set up Zijian

Function restrictions:
BP enablemenuitemDisable or allow menu items
BP enablewindowDisable or allow Windows

interception time:
BP getlocaltime obtain local time
BP getsystemtime obtain system time
BP getfiletime File Retrieval time
BP gettickcount obtain the number of milliseconds that have elapsed since the system was successfully started
BP getcurrenttime obtain the current time ( 16 bits)
BP settimer Create a timer
BP timerproc timer timeout callback function
getdlgitemint you must specify the integer in the input box
getdlgitemtext enter a string in the specified input box
getdlgitemtexta enter a string in the input box

Interception file:
BP createfileaCreate or open a file(32Bit)
BP openfileOpen a file(32Bit)
BP readfileRead files(32Bit)
BP writefileWrite files(32Bit)
Getmodulefilenamea
Getfilesize
Setfilepointer
Fileopen
Findfirstfilea
Readfile

Interception drive:
BP getdrivetypeaObtain the disk drive type
BP getlogicaldrivesGet logical drive symbols
BP getlogicaldrivestringsaObtain the root drive path of all current logical drives

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.