Class: SeccompTools::Asm::Scalar::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/seccomp-tools/asm/scalar.rb

Overview

To be used to denote a register (A / X), an argument (data[]), or a memory data (mem[]).

Direct Known Subclasses

A, ConstVal, Data, Len, Mem, X

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valObject (readonly)

Returns the value of attribute val.



14
15
16
# File 'lib/seccomp-tools/asm/scalar.rb', line 14

def val
  @val
end

Instance Method Details

#a?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/seccomp-tools/asm/scalar.rb', line 16

def a?
  false
end

#const?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/seccomp-tools/asm/scalar.rb', line 36

def const?
  false
end

#data?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/seccomp-tools/asm/scalar.rb', line 28

def data?
  false
end

#len?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/seccomp-tools/asm/scalar.rb', line 24

def len?
  false
end

#mem?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/seccomp-tools/asm/scalar.rb', line 32

def mem?
  false
end

#x?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/seccomp-tools/asm/scalar.rb', line 20

def x?
  false
end