Handbook
Glossary
decode-relocation ( address byte-array relocation -- value )
Vocabulary
tools
.
image-analyzer
.
relocations
Inputs
address
an
object
byte-array
an
object
relocation
an
object
Outputs
value
an
object
Definition
USING:
compiler.constants
kernel
sequences
;
IN:
tools.image-analyzer.relocations
:
decode-relocation
( address byte-array relocation -- value )
dup
second
rc-relative
=
[
decode-relative-relocation
]
[
decode-absolute-relocation
nip
]
if
;