| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config_files | ||
| __about__.py | ||
| __init__.py | ||
| checks.py | ||
| engine.py | ||
| test_engine.py |
This is what DEBUG_NOTIFIERS performs (see kernel/notifier.c):
```
#ifdef CONFIG_DEBUG_NOTIFIERS
if (unlikely(!func_ptr_is_kernel_text(nb->notifier_call))) {
WARN(1, "Invalid notifier called!");
nb = next_nb;
continue;
}
#endif
```
CFI can do the same better.
Thanks to @thestinger for the idea.
Refers to #99.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config_files | Loading commit data... | |
| __about__.py | Loading commit data... | |
| __init__.py | Loading commit data... | |
| checks.py | Loading commit data... | |
| engine.py | Loading commit data... | |
| test_engine.py | Loading commit data... |