hello all,
Following is my requirement.
while process A is running.
- attach Process A from B with PTRACE_ATTACH.
- Start a Loop
- Stop Process A
- read registers
- Resume Process A
- sleep(1)
- end loop
- detach A
i am facing issue with Start and Resume Process A from the loop. i tried combination of kill(pid,SIGSTOP), kill(pid,SIGCONT), PTRACE_CONT. but didnt work.
any other solutions please?
Thanks in advance. Sandeep