patch_word

Change value of a program word (2 bytes)
     ea    - linear address
     value - new value of the word
Returns: 1 if the database has been modified,
         0 if either the debugger is running and the process' memory
           has value 'value' at address 'ea',
           or the debugger is not running, and the IDB
           has value 'value' at address 'ea already.

success patch_word(long ea, long value);

Index | Previous topic | Next topic