Class: SeccompTools::Asm::Scalar::Base
- Inherits:
-
Object
- Object
- SeccompTools::Asm::Scalar::Base
- Defined in:
- lib/seccomp-tools/asm/scalar.rb
Overview
Instance Attribute Summary collapse
- #val ⇒ Integer? readonly
Instance Method Summary collapse
-
#a? ⇒ Boolean
Is this the A register?.
-
#const? ⇒ Boolean
Is this a constant value?.
-
#data? ⇒ Boolean
Is this a
data[]access?. -
#len? ⇒ Boolean
Is this
len?. -
#mem? ⇒ Boolean
Is this a
mem[]access?. -
#x? ⇒ Boolean
Is this the X register?.
Instance Attribute Details
Instance Method Details
#a? ⇒ Boolean
Is this the A register?
25 26 27 |
# File 'lib/seccomp-tools/asm/scalar.rb', line 25 def a? false end |
#const? ⇒ Boolean
Is this a constant value?
55 56 57 |
# File 'lib/seccomp-tools/asm/scalar.rb', line 55 def const? false end |
#data? ⇒ Boolean
Is this a data[] access?
43 44 45 |
# File 'lib/seccomp-tools/asm/scalar.rb', line 43 def data? false end |
#len? ⇒ Boolean
Is this len?
37 38 39 |
# File 'lib/seccomp-tools/asm/scalar.rb', line 37 def len? false end |
#mem? ⇒ Boolean
Is this a mem[] access?
49 50 51 |
# File 'lib/seccomp-tools/asm/scalar.rb', line 49 def mem? false end |
#x? ⇒ Boolean
Is this the X register?
31 32 33 |
# File 'lib/seccomp-tools/asm/scalar.rb', line 31 def x? false end |