0

How can I change the content of a memory address using ddd?

Victor Zakharov
  • 24,856
  • 17
  • 77
  • 143
Ivan
  • 1,721
  • 2
  • 22
  • 38

1 Answers1

2

Well, ddd runs gdb underneath, so in the gdb window you can just type something like:

set *((int *) 0x822b2ec) = 0x100

See How to modify memory contents using GDB?

Community
  • 1
  • 1
ob1
  • 323
  • 1
  • 4
  • 4