projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d4ade
)
Fix SIGILL handler
author
Andres Noetzli
<noetzli@stanford.edu>
Tue, 20 Jun 2017 19:50:40 +0000
(12:50 -0700)
committer
Andres Nötzli
<andres.noetzli@gmail.com>
Tue, 20 Jun 2017 21:28:56 +0000
(14:28 -0700)
As pointed out by @cpitclaudel in pull request #172, we are using the same
handler for SIGSEGV and SIGILL and ill_handler() is unused. This commit changes
the SIGILL handler to ill_handler().
src/main/util.cpp
patch
|
blob
|
history
diff --git
a/src/main/util.cpp
b/src/main/util.cpp
index 72f431b0d8df07e78715b2817d5dd44ce74b5034..ab71a3f7ca6d166076e51798004cee28d4838218 100644
(file)
--- a/
src/main/util.cpp
+++ b/
src/main/util.cpp
@@
-307,7
+307,7
@@
void cvc4_init() throw(Exception) {
}
struct sigaction act4;
- act4.sa_sigaction =
segv
_handler;
+ act4.sa_sigaction =
ill
_handler;
act4.sa_flags = SA_SIGINFO;
sigemptyset(&act4.sa_mask);
if(sigaction(SIGILL, &act4, NULL)) {