Guys, i am pretty new and trying to learn things around.
i am trying to hack game Guardian Hunter which is a sub game.
I attach the pid and execute the watch command.
Even though the value of Hp changes the GDB still shows continuing
this is the log
(gdb) att 1112
Attaching to process 1112.
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Reading symbols for shared libraries . done
bfd_mach_o_scan: unknown architecture 0x100000c/0x0
***WARNING***: Possible number of sections anti-debug trick detected at segment __DATA !
Number of sections reported from the header is 2, the real number should be 2
***WARNING***: Possible number of sections anti-debug trick detected at segment __DATA_CONST !
Number of sections reported from the header is 4, the real number should be 4
***WARNING***: Possible number of sections anti-debug trick detected at segment __DATA_DIRTY !
Number of sections reported from the header is 2, the real number should be 2
Reading symbols for shared libraries + done
0x360d5130 in mach_msg_trap ()
(gdb) watch -location *0x0fe0a040
Hardware watchpoint 1: *(int *) 266379328
(gdb) c
Continuing.
^Cwarning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Program received signal SIGINT, Interrupt.
0x360e90c4 in __semwait_signal ()
(gdb) watch -location *0x0fe0a040
Hardware watchpoint 2: *(int *) 266379328
(gdb) c
Continuing.
^Cwarning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Program received signal SIGINT, Interrupt.
0x360d5198 in semaphore_timedwait_trap ()
(gdb) c
Continuing.
quit
The thing is i dont get the real address, Although the adress given by igg changes with change in hp
p.s. its after attaching pid