I want to set a data-write breakpoint on the value of xul.dll+0x7d760, hopefully using a command script.
I can print the base address of xul.dll using lm
, and manually set the breakpoint with
ba w (baseaddress + 0x7d760)
But I can't figure out a way to store the base address of xul.dll into a pseudo-register so that I could do this automatically. Is there a way to somehow store or parse the results of lm xul
into a pseudo-register?