Vulnerability Development mailing list archives

Re: locating default signal handler for SIGSEGV


From: npguy <npguy () websurfer com np>
Date: Tue, 9 Dec 2003 12:14:17 +0545

Hi Devrat,

Monday, December 8, 2003, 6:06:32 PM, you wrote:

DM> hi ppl,
DM> Can anyone tell me how can I locate the signal handler for SIGSEGV,

simply call

   sighandler_t signal(int signum, sighandler_t sighd);

where signum is SIGSEGV,
in sighd use one of this

SIG_IGN to ignore the signal
SIG_DFL for default.
typedef void (*sighandler_t)(int); of use your







       npguy                            npguy at websurfer.com.np


Current thread: