Вопрос

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

Это было полезно?

Решение

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?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top