Try to prevent direct use of exit(), malloc(), etc
Use `#pragma GCC poison` (supported since GCC 3, maybe earlier) when compiling with GCC to help prevent direct uses being introduced for functions which DOH provides a wrapper for.
This commit is contained in:
parent
6d29260a1a
commit
747a51f095
4 changed files with 50 additions and 16 deletions
|
|
@ -1417,6 +1417,4 @@ static void SWIG_exit_handler(int status) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
exit(status);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue