Hi,I'm newbie here,just start using ps2link.
I notice ps2link's HOOK_THREADS option will hook kernel CreateThread/DeleteThread calls to count current active threads.I wonder why not also hook iCreateThread,iDeleteThread,ExitDeleteThread..etc calls?
Is there any other way to count new active threads since ps2link launched instead of hook system calls?
Question about ps2link's HOOK_THREADS
I actually don't know why the interrupt safe thread syscalls are not hooked, I guess no one has requested/needed them yet. Feel free to submit a patch :-)
As for counting active threads, you can atleast get the status for all created threads by trying all possible thread IDs (starting from 0 to ?) using the syscall ReferThreadStatus
As for counting active threads, you can atleast get the status for all created threads by trying all possible thread IDs (starting from 0 to ?) using the syscall ReferThreadStatus