Handbook
Glossary
Elf32/64_Phdr? ( object -- ? )
Vocabulary
elf
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
Elf32/64_Phdr
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
elf
:
Elf32/64_Phdr?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
dup
\
Elf64_Phdr
eq?
[
drop
t
]
[
\
Elf32_Phdr
eq?
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;