wrappers ¤ Modules: checksec – readelf – Classes: OnlyWithCommand – Functions: call_cmd – Attributes: P – T – P module-attribute ¤ P = ParamSpec('P') T module-attribute ¤ T = TypeVar('T') OnlyWithCommand ¤ OnlyWithCommand(*commands: str | list[str]) Methods: __call__ – Attributes: all_cmds (list[str]) – cmd (list[str]) – cmd_path (str | None) – all_cmds instance-attribute ¤ all_cmds: list[str] = [ cmd[0] if isinstance(cmd, list) else cmd for cmd in commands ] cmd instance-attribute ¤ cmd: list[str] = command if isinstance(command, list) else [command] cmd_path instance-attribute ¤ cmd_path: str | None = which(cmd[0]) __call__ ¤ __call__(function: Callable[P, T]) -> Callable[P, T | None] call_cmd ¤ call_cmd(cmd: str | list[str]) -> str