Module: SeccompTools::CLI::FilterInput

Includes:
Dumpable
Included in:
Audit, Dump, Explain
Defined in:
lib/seccomp-tools/cli/filter_input.rb

Overview

Shared input handling for the commands that take a seccomp filter from a BPF file, stdin, an executable, or a running process (Explain and Audit): it resolves the positional argument and options into [raw_bpf, arch, source] tuples, dumping via ptrace (Dumpable) when the input is a command or --pid. The including command must provide option, argv, parser, input and warn_ignored_arguments (all from Base).

Method Summary

Methods included from Dumpable

#dump_seccomp, #dumping_supported?