我想在调试程序时记录某个寄存器或特定内存位置的值。例如在以下部分:
.text:0FD6268D shr ecx, 4
.text:0FD62690 and esi, 0Fh
.text:0FD62693 movzx ecx, ds:byte_FF27790[ecx]
.text:0FD6269A mov [edx], cl
.text:0FD6269C inc dword ptr [eax]
.text:0FD6269E mov edx, [eax]
这是一个被多次访问的函数的一部分,我想打印、归档以下值:
ecx @.text:0FD6268D 和 ds:byte_FF27790 @.text:0FD62693。每次程序在调试期间到达那里时,我都需要打印它。
如何使用 idapython 完成此操作?
