-
July 2nd, 2014, 07:56 AM
#1
Send signal SEGV to crash a running process in Windows .
Hi ,
I need to do an equivalent of kill -11 <pid> in windows.
I need to crash a process with SEGV . Is there any tool by which we can do this .
Also is there any sample code through which we can achieve this .
Please do let know .
Regards
Sangram
-
July 2nd, 2014, 08:20 AM
#2
Re: Send signal SEGV to crash a running process in Windows .
Victor Nijegorodov
-
July 2nd, 2014, 10:30 AM
#3
Re: Send signal SEGV to crash a running process in Windows .
Hi ,
Yes i mean to send a signal (segmentation fault )to terminate a process and also to dump core for SEGV (segmentation fault) , not not just terminate the process. taskkill in windows just terminates the process , but the terminating process does not dumps core.
Regards
Sangram
-
July 3rd, 2014, 06:52 AM
#4
Re: Send signal SEGV to crash a running process in Windows .
inject a bit of code that'll cause a segfault. THere's plenty of topics about possible ways to inject code into another process.
-
July 4th, 2014, 10:53 PM
#5
Re: Send signal SEGV to crash a running process in Windows .
Originally Posted by sangbk
Yes i mean to send a signal (segmentation fault )to terminate a process and also to dump core for SEGV (segmentation fault) , not not just terminate the process. taskkill in windows just terminates the process , but the terminating process does not dumps core.
Surely Windows is not Linux. And something tells me your ultimate goal goes beyond just taking core dumps. So, it would be much more productive for you to explain your real needs here.
Best regards,
Igor
-
July 5th, 2014, 01:06 PM
#6
Re: Send signal SEGV to crash a running process in Windows .
I was sort of assuming he wanted to get aa SEH to result in a minidump to see what the exe is doing.
Then again, there's easier ways to do THAT. just attach your debugger to the process and break all.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|