Class: SeccompTools::Instruction::STX

Inherits:
ST
  • Object
show all
Defined in:
lib/seccomp-tools/instruction/stx.rb

Overview

Instruction stx, same as ST but stores the index register X.

Constant Summary

Constants included from Const::BPF

Const::BPF::ACTION, Const::BPF::COMMAND, Const::BPF::JMP, Const::BPF::MISCOP, Const::BPF::MODE, Const::BPF::OP, Const::BPF::PR_SET_SECCOMP, Const::BPF::SECCOMP_MODE_FILTER, Const::BPF::SECCOMP_MODE_STRICT, Const::BPF::SECCOMP_RET_ACTION_FULL, Const::BPF::SECCOMP_RET_DATA, Const::BPF::SECCOMP_SET_MODE_FILTER, Const::BPF::SECCOMP_SET_MODE_STRICT, Const::BPF::SIZEOF_SECCOMP_DATA, Const::BPF::SRC

Instance Method Summary collapse

Methods inherited from ST

#branch, #decompile, #symbolize

Methods inherited from LD

#branch, #decompile, #symbolize

Methods inherited from Base

#branch, #initialize, #invalid, #symbolize

Methods included from Const::BPF

action_label

Constructor Details

This class inherits a constructor from SeccompTools::Instruction::Base

Instance Method Details

#regString

Name of the register being stored.

Returns:

  • (String)

    The index register, "X".



12
13
14
# File 'lib/seccomp-tools/instruction/stx.rb', line 12

def reg
  'X'
end