Font Size: a A A

Research And Implementation Of WIN32 Dynamic Debugger

Posted on:2008-08-25Degree:MasterType:Thesis
Country:ChinaCandidate:J P QinFull Text:PDF
GTID:2178360218462727Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
A debugger is a essential software tools to develop program whose the strong and the weak in function influences to the development efficiency directly. High-level language integrated development environments all take full functions debugger, but the type of debugger is lacked in Windows about MASM that is used usually by computer professional. This thesis carry on a profound research to the principle of debugging in Win32, and implement a full functions debugger to MASM.In the thesis Windows program running mechanism was analyzed thoroughly. These mechanism include how to produce executable file,organization structure of executable file,mapping of module,essential difference of two types of Windows application,etc. The debugger designed mainly include static analysis and dynamic debugg- ing. The former analyze executable file to get the entry address,section information im-port notation from Dynamic Link Library,export notation from executable file.The later inspect running state in program running process by controlling runningway including single step and breakpoint. Message handling is driving mechanismof Windows application and hook is a monitor point in the Windows message handling mechanism. The hook is invoked to intercept and display message of theprocess debugged. Win32 API is application programming interface provided by op-erating system and appointed API are intercepted to know which system service isused in the application. Single step executing,breakpoint executing,message inter- cepting and API intercepting are main content about dynamic debugging.The above principle has already been applied in an instance which was implemented by C++ language and assemble language and its validity has been verified.In the end the thesis make a summary to point out some shortages and outlook about research in the future.
Keywords/Search Tags:Dynamic Debugger, Integrated Development Environment, Win32
PDF Full Text Request
Related items