Load Scapy and return all builtins
()
| 466 | |
| 467 | |
| 468 | def _scapy_builtins(): |
| 469 | # type: () -> Dict[str, Any] |
| 470 | """Load Scapy and return all builtins""" |
| 471 | return { |
| 472 | k: v |
| 473 | for k, v in importlib.import_module(".all", "scapy").__dict__.copy().items() |
| 474 | if _validate_local(k) |
| 475 | } |
| 476 | |
| 477 | |
| 478 | def _scapy_exts(): |
no test coverage detected
searching dependent graphs…