windbg: set data breakpoint at dll + offset -
i want set data-write breakpoint on value of xul.dll+0x7d760, using command script.
i can print base address of xul.dll using lm
, , manually set breakpoint with
ba w (baseaddress + 0x7d760)
but can't figure out way store base address of xul.dll pseudo-register automatically. there way somehow store or parse results of lm xul
pseudo-register?
.foreach /ps 4 /ps 3 (modbase {lm p m xul}) {ba w 4 (${modbase} + 0x7d760)}
in command, module's base address stored in ${modbase}
. substitute xul
module, or edit {ba w 4 (${modbase} + 0x7d760)}
block substitute different command or offset necessary.
Comments
Post a Comment