随笔 - 74, 文章 - 0, 评论 - 26, 引用 - 0
数据加载中……

wince 物理地址访问二

You can use functions that are exposed by the WDbgExts_CE.h header file in debugger extension commands. When developing a debugger extension, these functions can be helpful in controlling and examining the target device being debugged.

The following table shows debugger extension functions.

Programming element Description

CheckControlC

This function checks to see whether the user pressed the CTRL+C key combination.

Disassm

This function disassembles an instruction and stores in a buffer a string that can be printed.

dprintf

This function prints a formatted string to the command window for the debugger.

EXTSTACKTRACE

This structure specifies stack frames for the StackTrace function.

GetContext

This function obtains the context of the process being debugged.

GetDebuggerData

This function retrieves information stored in a data block.

GetExpression

This function returns the value of an expression.

GetSetSympath

This function obtains or sets the search path for symbols.

GetSymbol

This function locates the symbol nearest to a specified address.

Ioctl

This function is an entry point for much of the functionality provided by the extension functions for the kernel debugger.

ReadControlSpace

This function reads a CPU-specific control space into an array.

ReadMemory

This function reads memory from the process being debugged.

The entire area of memory must be accessible, or the operation fails.

ReadPhysical

This function reads from physical memory.

SetContext

This function sets the context of the process being debugged.

SetThreadForOperation

This function specifies a thread to use for the next call to the StackTrace function

StackTrace

This function receives a stack trace for the process being debugged.

WriteIoSpace

This function writes to system I/O locations.

WriteMemory

This function writes memory to a process being debugged.

The entire area of memory must be accessible, or the operation fails.

WritePhysical

This function writes to physical memory.

posted on 2007-11-15 12:47 井泉 阅读(311) 评论(1)  编辑 收藏 引用

评论

# re: wince 物理地址访问二  回复  更多评论   

我在用这套扩展函数时发现ReadMemory工作正常,但是ReadPhysical返回的数值为全零
2011-01-25 11:20 | 阿田

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理