Patching binary files and memory
To make corrections or changes to any file, including
executable binary files, use the
w
and
W
commands and invoke adb with the
-w
option.
The following sections describe how to locate and change
values in a file.