(I'm on Debian 7, arm64)
In order to force vmware-networks to output the log instead of dumping it, I want to modify the logging function. Using IDA on my Windows machine, I found the instruction at .text:0000000000068900 jz loc_689A4
.
When running gdb /usr/bin/vmware-networks
, the instruction appears:
(gdb) x 0x68900
0x68900: 0x009e840f
(gdb) x/i 0x68900
0x68900: je 0x689a4
But when trying to breakpoint, I get
(gdb) break *0x68900
Breakpoint 1 at 0x68900
(gdb) run --start
Starting program: /usr/bin/vmware-networks --start
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x68900: Input/output error.
and when trying to hot-wire the instruction before going "run", I get (gdb) set *0x68900= 0x009e850f Cannot access memory at address 0x68900
Why is that, and how can I fix it? And yes, I'm running on root, so there (normally) shouldn't be any problems.