openeventmachine / em-odp

Event Machine (EM) on Open Data Plane (ODP): em-odp
https://openeventmachine.github.io/em-odp/
26 stars 12 forks source link

scripts, CI: configure em-odp with --enable-check-level=3 --enable-esv #8

Closed cawallen closed 3 years ago

cawallen commented 3 years ago

Add the following configure-options to the em-odp CI build script:

--enable-check-level=3: enables EM to do more thorough runtime error checking

--enable-esv: enables Event State Verification (ESV), a feature that during runtime checks that the state of each event is valid to prevent e.g. double-free, double-send, use-after-send, use after-free etc.

Adding these options has a slight negative effect on performance.