mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-11-01 08:30:53 +00:00
bytecode: PaX and selfcheck.
Detect PaX and fallback to intepreter if needed (bb #2092). Recent PaX versions deny the RWX mapping, but older versions silently change it to RW, which causes the program to die as soon as it tries to execute JITed code. Add selfcheck on startup (bb #2092). This will run a very simple bytecode on startup in both JIT and interpreter mode. The bytecode only calls 1 libclamav API and returns.
This commit is contained in:
parent
6e2b40687f
commit
a5a19f4518
5 changed files with 215 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue