MCPcopy Create free account
hub / github.com/secdev/scapy / _scapy_builtins

Function _scapy_builtins

scapy/main.py:468–475  ·  view source on GitHub ↗

Load Scapy and return all builtins

()

Source from the content-addressed store, hash-verified

466
467
468def _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
478def _scapy_exts():

Callers 3

autorun_commandsFunction · 0.90
mainFunction · 0.90
init_sessionFunction · 0.85

Calls 3

_validate_localFunction · 0.85
itemsMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…