Advertisement
Guest User

Untitled

a guest
May 1st, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <feep> hi, I'm using a hack where I modify uc->uc_mcontext.gregs[REG_EIP] in a SIGSEGV signal handler in order to redirect execution to a handler function so I can do stuff that would not be signal handler safe to do
  2. <feep> just how unsupported is this behavior, on a scale between "we're not supposed to tell you but we use it ourselves" and "linus will murder you in your sleep"?
  3. <czr> feep, depends on how portable you need your code to be
  4. <czr> as far as I know, it's a supported although not very well documented feature.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement