This is the elf Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:02:53 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
elf
Common Lisp library for manipulation of ELF files.
Eric Schulte <schulte.eric@gmail.com>
0.1
alexandria
(system).
com.gigamonkeys.binary-data
(system).
metabang-bind
(system).
split-sequence
(system).
trivial-shell
(system).
cl-ppcre
(system).
flexi-streams
(system).
package.lisp
(file).
util.lisp
(file).
elf.lisp
(file).
arm.lisp
(file).
instruction.lisp
(file).
disassemblable.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
elf/elf.asd
elf/package.lisp
elf/util.lisp
elf/elf.lisp
elf/arm.lisp
elf/instruction.lisp
elf/disassemblable.lisp
elf/util.lisp
package.lisp
(file).
elf
(system).
generic-copy
(function).
mapslots
(function).
chunks
(function).
different-it
(function).
equal-it
(function).
file-to-string
(function).
indexed
(function).
my-class-slots
(function).
my-slot-definition-name
(function).
shell
(function).
show-it
(function).
temp-file-name
(function).
tempnam
(function).
trim
(function).
with-temp-file
(macro).
elf/elf.lisp
package.lisp
(file).
util.lisp
(file).
elf
(system).
*class*
(special variable).
*endian*
(special variable).
addralign
(reader method).
(setf addralign)
(writer method).
address
(reader method).
(setf address)
(writer method).
align
(reader method).
align
(reader method).
(setf align)
(writer method).
(setf align)
(writer method).
alignment
(generic function).
(setf alignment)
(generic function).
binding
(generic function).
(setf binding)
(method).
bits-at-ea
(method).
bits-at-ea
(method).
(setf bits-at-ea)
(method).
(setf bits-at-ea)
(method).
bits-to-int
(function).
bytes-to-int
(function).
copy-elf
(function).
data
(reader method).
(setf data)
(generic function).
elf
(reader method).
(setf elf)
(writer method).
elf
(class).
elf-header
(function).
elf-header
(class).
elf-p
(function).
entry
(reader method).
(setf entry)
(writer method).
entsize
(reader method).
(setf entsize)
(writer method).
file-offset-of-ea
(generic function).
filesz
(reader method).
filesz
(reader method).
(setf filesz)
(writer method).
(setf filesz)
(writer method).
flags
(method).
flags
(reader method).
flags
(reader method).
flags
(reader method).
flags
(reader method).
(setf flags)
(method).
(setf flags)
(writer method).
(setf flags)
(writer method).
(setf flags)
(writer method).
(setf flags)
(writer method).
header
(reader method).
(setf header)
(writer method).
index-of-ea
(method).
info
(reader method).
info
(reader method).
info
(reader method).
info
(reader method).
info
(reader method).
info
(reader method).
info
(reader method).
(setf info)
(writer method).
(setf info)
(writer method).
(setf info)
(writer method).
(setf info)
(writer method).
(setf info)
(writer method).
(setf info)
(writer method).
(setf info)
(writer method).
insert
(generic function).
int-to-bits
(function).
int-to-bytes
(function).
link
(reader method).
(setf link)
(writer method).
magic-number
(reader method).
(setf magic-number)
(writer method).
memsz
(reader method).
memsz
(reader method).
(setf memsz)
(writer method).
(setf memsz)
(writer method).
name
(reader method).
name
(reader method).
name
(reader method).
name
(reader method).
(setf name)
(writer method).
(setf name)
(writer method).
(setf name)
(writer method).
(setf name)
(writer method).
named-section
(function).
named-symbol
(function).
offset
(method).
offset
(reader method).
offset
(reader method).
offset
(reader method).
offset
(reader method).
offset
(reader method).
offset
(reader method).
offset
(reader method).
(setf offset)
(method).
(setf offset)
(writer method).
(setf offset)
(writer method).
(setf offset)
(writer method).
(setf offset)
(writer method).
(setf offset)
(writer method).
(setf offset)
(writer method).
(setf offset)
(writer method).
ordering
(reader method).
(setf ordering)
(writer method).
other
(reader method).
other
(reader method).
(setf other)
(writer method).
(setf other)
(writer method).
paddr
(reader method).
paddr
(reader method).
(setf paddr)
(writer method).
(setf paddr)
(writer method).
ph
(reader method).
(setf ph)
(writer method).
program-table
(reader method).
(setf program-table)
(writer method).
ptr
(generic function).
(setf ptr)
(generic function).
read-elf
(function).
rel-info
(function).
rel-sym
(generic function).
rel-type
(generic function).
section-holding-ea
(function).
section-holding-off
(function).
section-table
(reader method).
(setf section-table)
(writer method).
sections
(reader method).
(setf sections)
(writer method).
sections-holding-ea
(function).
sections-holding-off
(function).
sh
(reader method).
(setf sh)
(writer method).
shndx
(reader method).
shndx
(reader method).
(setf shndx)
(writer method).
(setf shndx)
(writer method).
show-dynamic
(function).
show-file-layout
(function).
show-memory-layout
(function).
show-symbols
(function).
size
(method).
size
(reader method).
size
(reader method).
size
(reader method).
(setf size)
(method).
(setf size)
(writer method).
(setf size)
(writer method).
(setf size)
(writer method).
subseq-ea
(method).
subseq-ea
(method).
(setf subseq-ea)
(method).
(setf subseq-ea)
(method).
subseq-off
(method).
subseq-off
(method).
(setf subseq-off)
(method).
(setf subseq-off)
(method).
sym-name
(reader method).
(setf sym-name)
(writer method).
symbols
(generic function).
type
(method).
type
(method).
type
(reader method).
type
(reader method).
type
(reader method).
type
(reader method).
(setf type)
(method).
(setf type)
(method).
(setf type)
(writer method).
(setf type)
(writer method).
(setf type)
(writer method).
(setf type)
(writer method).
un-type
(generic function).
vaddr
(reader method).
vaddr
(reader method).
(setf vaddr)
(writer method).
(setf vaddr)
(writer method).
val
(generic function).
(setf val)
(generic function).
value
(reader method).
value
(reader method).
(setf value)
(writer method).
(setf value)
(writer method).
vma
(generic function).
(setf vma)
(generic function).
word-at-ea
(method).
word-at-ea
(method).
(setf word-at-ea)
(method).
(setf word-at-ea)
(method).
word-at-off
(method).
word-at-off
(method).
(setf word-at-off)
(method).
(setf word-at-off)
(method).
write-elf
(function).
addend
(reader method).
addend
(reader method).
(setf addend)
(writer method).
(setf addend)
(writer method).
bad-elf-class
(condition).
bytes-from
(function).
bytes-to
(function).
class
(reader method).
data-encoding
(reader method).
(setf data-encoding)
(writer method).
define-bit-dictionary
(macro).
define-elf-dictionary
(macro).
dynamic-entry
(function).
eh-size
(reader method).
(setf eh-size)
(writer method).
ei-size
(reader method).
(setf ei-size)
(writer method).
elf-dyn
(class).
elf-dyn-32
(class).
elf-dyn-64
(class).
elf-dyn-type
(function).
elf-header-endianness-warn
(function).
elf-header-size
(function).
elf-magic-numbers
(special variable).
elf-read-value
(function).
elf-rel
(class).
elf-rel-32
(class).
elf-rel-64
(class).
elf-rel-type
(function).
elf-rela-32
(class).
elf-rela-64
(class).
elf-rela-type
(function).
elf-sym
(class).
elf-sym-32
(class).
elf-sym-64
(class).
elf-sym-type
(function).
file-class
(reader method).
(setf file-class)
(writer method).
ident-version
(reader method).
(setf ident-version)
(writer method).
machine
(reader method).
(setf machine)
(writer method).
memory-sorted-sections
(function).
name-symbols
(function).
padding
(reader method).
(setf padding)
(writer method).
pf-maskos
(special variable).
pf-maskproc
(special variable).
pf-r
(special variable).
pf-w
(special variable).
pf-x
(special variable).
ph-ent-size
(reader method).
(setf ph-ent-size)
(writer method).
ph-num
(reader method).
(setf ph-num)
(writer method).
phoff
(reader method).
(setf phoff)
(writer method).
program-header-32
(class).
program-header-64
(class).
program-header-for-section
(function).
program-header-type
(function).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
rel-types
(special variable).
section
(class).
section-header
(class).
set-data
(writer method).
sh-ent-size
(reader method).
(setf sh-ent-size)
(writer method).
sh-num
(reader method).
(setf sh-num)
(writer method).
sh-str-ind
(reader method).
(setf sh-str-ind)
(writer method).
shoff
(reader method).
(setf shoff)
(writer method).
show-rel
(function).
tag
(reader method).
tag
(reader method).
(setf tag)
(writer method).
(setf tag)
(writer method).
un
(reader method).
un
(reader method).
(setf un)
(writer method).
(setf un)
(writer method).
version
(reader method).
(setf version)
(writer method).
word-size
(generic function).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
elf/arm.lisp
package.lisp
(file).
util.lisp
(file).
elf.lisp
(file).
elf
(system).
arm-data
(class).
arm-instruction
(class).
b/bl
(class).
bx
(class).
data-processing
(class).
from-bits
(method).
from-bytes
(method).
initialize-instance
(method).
ldm/stm
(class).
ldr/str
(class).
make-arm-branch
(function).
make-arm-data-processing
(function).
make-arm-data-transfer
(function).
make-arm-stack
(function).
make-arm-word
(function).
offset
(reader method).
offset
(reader method).
(setf offset)
(writer method).
(setf offset)
(writer method).
opcode
(reader method).
(setf opcode)
(writer method).
set-arm-branch
(method).
set-arm-data-processing
(method).
set-arm-data-transfer
(method).
set-arm-stack
(method).
set-arm-word
(method).
to-bits
(method).
to-bytes
(method).
.word
(class).
arm-decode
(method).
b
(reader method).
(setf b)
(writer method).
conditions
(reader method).
conditions
(reader method).
conditions
(reader method).
conditions
(reader method).
conditions
(reader method).
(setf conditions)
(writer method).
(setf conditions)
(writer method).
(setf conditions)
(writer method).
(setf conditions)
(writer method).
(setf conditions)
(writer method).
i
(reader method).
i
(reader method).
(setf i)
(writer method).
(setf i)
(method).
(setf i)
(writer method).
ignored
(reader method).
ignored
(reader method).
ignored
(reader method).
ignored
(reader method).
ignored
(reader method).
(setf ignored)
(writer method).
(setf ignored)
(writer method).
(setf ignored)
(writer method).
(setf ignored)
(writer method).
(setf ignored)
(writer method).
imm
(reader method).
imm
(reader method).
(setf imm)
(writer method).
(setf imm)
(writer method).
immediate-operand
(class).
l
(reader method).
l
(reader method).
l
(reader method).
(setf l)
(writer method).
(setf l)
(writer method).
(setf l)
(writer method).
operand2
(reader method).
(setf operand2)
(writer method).
(setf operand2)
(method).
p
(reader method).
p
(reader method).
(setf p)
(writer method).
(setf p)
(writer method).
rd
(reader method).
rd
(reader method).
(setf rd)
(writer method).
(setf rd)
(writer method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
read-object
(method).
reconcile-immediate-operand
(method).
register-operand
(class).
registers
(reader method).
(setf registers)
(writer method).
rm
(reader method).
(setf rm)
(writer method).
rn
(reader method).
rn
(reader method).
rn
(reader method).
rn
(reader method).
(setf rn)
(writer method).
(setf rn)
(writer method).
(setf rn)
(writer method).
(setf rn)
(writer method).
rotate
(reader method).
(setf rotate)
(writer method).
s
(reader method).
s
(reader method).
(setf s)
(writer method).
(setf s)
(writer method).
shift
(reader method).
(setf shift)
(writer method).
u
(reader method).
u
(reader method).
(setf u)
(writer method).
(setf u)
(writer method).
w
(reader method).
w
(reader method).
(setf w)
(writer method).
(setf w)
(writer method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
write-object
(method).
elf/instruction.lisp
package.lisp
(file).
elf
(system).
instruction
(class).
opcode
(reader method).
(setf opcode)
(writer method).
operands
(reader method).
(setf operands)
(writer method).
print-object
(method).
from-string
(generic function).
instruction-prefixes
(special variable).
objdump-instruction
(class).
parse-operand
(function).
parse-tsl-operand
(method).
prefixes
(reader method).
(setf prefixes)
(writer method).
tsl-instruction
(class).
elf/disassemblable.lisp
package.lisp
(file).
util.lisp
(file).
elf.lisp
(file).
instruction.lisp
(file).
elf
(system).
*single-value-objdump-hack*
(special variable).
csurf
(class).
csurf-cmd
(special variable).
csurf-script
(special variable).
disassemblable
(class).
disassemble-section
(generic function).
elf-const
(class).
objdump
(function).
objdump
(class).
objdump-cmd
(special variable).
objdump-const
(class).
objdump-parse
(function).
csurf-ins
(method).
decode
(function).
decoding-cmds
(special variable).
disassembly
(reader method).
(setf disassembly)
(writer method).
parse-objdump-line
(function).
project
(reader method).
(setf project)
(writer method).
tsl
(class).
Packages are listed by definition order.
elf
alexandria
.
cl-ppcre
.
com.gigamonkeys.binary-data
.
common-lisp
.
flexi-streams
.
metabang.bind
.
split-sequence
.
trivial-shell
.
*class*
(special variable).
*endian*
(special variable).
*single-value-objdump-hack*
(special variable).
addralign
(generic reader).
(setf addralign)
(generic writer).
address
(generic reader).
(setf address)
(generic writer).
align
(generic reader).
(setf align)
(generic writer).
alignment
(generic function).
(setf alignment)
(generic function).
arm-data
(class).
arm-instruction
(class).
b/bl
(class).
binding
(generic function).
(setf binding)
(generic function).
bits-at-ea
(generic function).
(setf bits-at-ea)
(generic function).
bits-to-int
(function).
bx
(class).
bytes-to-int
(function).
copy-elf
(function).
csurf
(class).
csurf-cmd
(special variable).
csurf-script
(special variable).
data
(generic reader).
(setf data)
(generic function).
data-processing
(class).
disassemblable
(class).
disassemble-section
(generic function).
elf
(generic reader).
(setf elf)
(generic writer).
elf
(class).
elf-const
(class).
elf-header
(function).
elf-header
(class).
elf-p
(function).
entry
(generic reader).
(setf entry)
(generic writer).
entsize
(generic reader).
(setf entsize)
(generic writer).
file-offset-of-ea
(generic function).
filesz
(generic reader).
(setf filesz)
(generic writer).
flags
(generic function).
(setf flags)
(generic function).
from-bits
(generic function).
from-bytes
(generic function).
generic-copy
(function).
header
(generic reader).
(setf header)
(generic writer).
index-of-ea
(generic function).
info
(generic reader).
(setf info)
(generic writer).
insert
(generic function).
instruction
(class).
int-to-bits
(function).
int-to-bytes
(function).
ldm/stm
(class).
ldr/str
(class).
link
(generic reader).
(setf link)
(generic writer).
magic-number
(generic reader).
(setf magic-number)
(generic writer).
make-arm-branch
(function).
make-arm-data-processing
(function).
make-arm-data-transfer
(function).
make-arm-stack
(function).
make-arm-word
(function).
mapslots
(function).
memsz
(generic reader).
(setf memsz)
(generic writer).
name
(generic reader).
(setf name)
(generic writer).
named-section
(function).
named-symbol
(function).
objdump
(function).
objdump
(class).
objdump-cmd
(special variable).
objdump-const
(class).
objdump-parse
(function).
offset
(generic function).
(setf offset)
(generic function).
opcode
(generic reader).
(setf opcode)
(generic writer).
operands
(generic reader).
(setf operands)
(generic writer).
ordering
(generic reader).
(setf ordering)
(generic writer).
other
(generic reader).
(setf other)
(generic writer).
paddr
(generic reader).
(setf paddr)
(generic writer).
ph
(generic reader).
(setf ph)
(generic writer).
program-table
(generic reader).
(setf program-table)
(generic writer).
ptr
(generic function).
(setf ptr)
(generic function).
read-elf
(function).
rel-info
(function).
rel-sym
(generic function).
rel-type
(generic function).
section-holding-ea
(function).
section-holding-off
(function).
section-table
(generic reader).
(setf section-table)
(generic writer).
sections
(generic reader).
(setf sections)
(generic writer).
sections-holding-ea
(function).
sections-holding-off
(function).
set-arm-branch
(generic function).
set-arm-data-processing
(generic function).
set-arm-data-transfer
(generic function).
set-arm-stack
(generic function).
set-arm-word
(generic function).
sh
(generic reader).
(setf sh)
(generic writer).
shndx
(generic reader).
(setf shndx)
(generic writer).
show-dynamic
(function).
show-file-layout
(function).
show-memory-layout
(function).
show-symbols
(function).
size
(generic function).
(setf size)
(generic function).
subseq-ea
(generic function).
(setf subseq-ea)
(generic function).
subseq-off
(generic function).
(setf subseq-off)
(generic function).
sym-name
(generic reader).
(setf sym-name)
(generic writer).
symbols
(generic function).
to-bits
(generic function).
to-bytes
(generic function).
type
(generic function).
(setf type)
(generic function).
un-type
(generic function).
vaddr
(generic reader).
(setf vaddr)
(generic writer).
val
(generic function).
(setf val)
(generic function).
value
(generic reader).
(setf value)
(generic writer).
vma
(generic function).
(setf vma)
(generic function).
word-at-ea
(generic function).
(setf word-at-ea)
(generic function).
word-at-off
(generic function).
(setf word-at-off)
(generic function).
write-elf
(function).
.word
(class).
addend
(generic reader).
(setf addend)
(generic writer).
arm-decode
(generic function).
b
(generic reader).
(setf b)
(generic writer).
bad-elf-class
(condition).
bytes-from
(function).
bytes-to
(function).
chunks
(function).
class
(generic reader).
conditions
(generic reader).
(setf conditions)
(generic writer).
csurf-ins
(generic function).
data-encoding
(generic reader).
(setf data-encoding)
(generic writer).
decode
(function).
decoding-cmds
(special variable).
define-bit-dictionary
(macro).
define-elf-dictionary
(macro).
different-it
(function).
disassembly
(generic reader).
(setf disassembly)
(generic writer).
dynamic-entry
(function).
eh-size
(generic reader).
(setf eh-size)
(generic writer).
ei-size
(generic reader).
(setf ei-size)
(generic writer).
elf-dyn
(class).
elf-dyn-32
(class).
elf-dyn-64
(class).
elf-dyn-type
(function).
elf-header-endianness-warn
(function).
elf-header-size
(function).
elf-magic-numbers
(special variable).
elf-read-value
(function).
elf-rel
(class).
elf-rel-32
(class).
elf-rel-64
(class).
elf-rel-type
(function).
elf-rela-32
(class).
elf-rela-64
(class).
elf-rela-type
(function).
elf-sym
(class).
elf-sym-32
(class).
elf-sym-64
(class).
elf-sym-type
(function).
equal-it
(function).
file-class
(generic reader).
(setf file-class)
(generic writer).
file-to-string
(function).
from-string
(generic function).
i
(generic reader).
(setf i)
(generic function).
ident-version
(generic reader).
(setf ident-version)
(generic writer).
ignored
(generic reader).
(setf ignored)
(generic writer).
imm
(generic reader).
(setf imm)
(generic writer).
immediate-operand
(class).
indexed
(function).
instruction-prefixes
(special variable).
l
(generic reader).
(setf l)
(generic writer).
machine
(generic reader).
(setf machine)
(generic writer).
memory-sorted-sections
(function).
my-class-slots
(function).
my-slot-definition-name
(function).
name-symbols
(function).
objdump-instruction
(class).
operand2
(generic reader).
(setf operand2)
(generic function).
p
(generic reader).
(setf p)
(generic writer).
padding
(generic reader).
(setf padding)
(generic writer).
parse-objdump-line
(function).
parse-operand
(function).
parse-tsl-operand
(generic function).
pf-maskos
(special variable).
pf-maskproc
(special variable).
pf-r
(special variable).
pf-w
(special variable).
pf-x
(special variable).
ph-ent-size
(generic reader).
(setf ph-ent-size)
(generic writer).
ph-num
(generic reader).
(setf ph-num)
(generic writer).
phoff
(generic reader).
(setf phoff)
(generic writer).
prefixes
(generic reader).
(setf prefixes)
(generic writer).
program-header-32
(class).
program-header-64
(class).
program-header-for-section
(function).
program-header-type
(function).
project
(generic reader).
(setf project)
(generic writer).
rd
(generic reader).
(setf rd)
(generic writer).
reconcile-immediate-operand
(generic function).
register-operand
(class).
registers
(generic reader).
(setf registers)
(generic writer).
rel-types
(special variable).
rm
(generic reader).
(setf rm)
(generic writer).
rn
(generic reader).
(setf rn)
(generic writer).
rotate
(generic reader).
(setf rotate)
(generic writer).
s
(generic reader).
(setf s)
(generic writer).
section
(class).
section-header
(class).
set-data
(generic writer).
sh-ent-size
(generic reader).
(setf sh-ent-size)
(generic writer).
sh-num
(generic reader).
(setf sh-num)
(generic writer).
sh-str-ind
(generic reader).
(setf sh-str-ind)
(generic writer).
shell
(function).
shift
(generic reader).
(setf shift)
(generic writer).
shoff
(generic reader).
(setf shoff)
(generic writer).
show-it
(function).
show-rel
(function).
tag
(generic reader).
(setf tag)
(generic writer).
temp-file-name
(function).
tempnam
(function).
trim
(function).
tsl
(class).
tsl-instruction
(class).
u
(generic reader).
(setf u)
(generic writer).
un
(generic reader).
(setf un)
(generic writer).
version
(generic reader).
(setf version)
(generic writer).
w
(generic reader).
(setf w)
(generic writer).
with-temp-file
(macro).
word-size
(generic function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Word size of the machine, (e.g. :32-bit or :64-bit).
Controls the endianness of how bytes are read.
Set to non-nil if objdump prints 4-byte values as a single number.
elf
.
Return t if file is an ELF file (using the magic number test).
A generic copy method, may run way too long on partially circular elements.
Map func over the slots of the clos object OBJ.
Return the section in ELF named NAME.
Return the symbol in ELF named NAME.
Parse the output of ‘objdump’ returning the disassembly by symbol.
elf
.
Convert a symbol and type back into the info field of an elf-rel.
Return the section holding the requested file locations.
Note, this does not return filler if the requested file location is
just filler bytes.
Show the dynamic symbols of ELF in a manner similar to readelf.
Show the layout of the elements of an elf file with binary offset.
Show the layout of the elements of an elf file with binary offset.
Show all symbols in ELF in a manner similar to readelf.
elf
.
section-header
)) ¶automatically generated reader method
elf
.
section-header
)) ¶automatically generated writer method
elf
.
section-header
)) ¶automatically generated reader method
elf
.
section-header
)) ¶automatically generated writer method
elf
.
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
elf
.
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
Update the contents of section to new, and update all headers appropriately.
Return the disassembly of the contents of SECTION in DISASSEMBLABLE. The contents are returned grouped by function.
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
section-header
)) ¶automatically generated reader method
elf
.
section-header
)) ¶automatically generated writer method
Return the file offset in ELF of EA.
elf
.
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
elf
.
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
elf
.
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
section-header
)) ¶automatically generated reader method
elf-header
)) ¶automatically generated reader method
elf
.
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
section-header
)) ¶automatically generated writer method
elf-header
)) ¶automatically generated writer method
elf
.
elf-sym-64
)) ¶automatically generated reader method
elf-sym-32
)) ¶automatically generated reader method
elf-rela-64
)) ¶automatically generated reader method
elf-rela-32
)) ¶automatically generated reader method
elf-rel-64
)) ¶automatically generated reader method
elf-rel-32
)) ¶automatically generated reader method
section-header
)) ¶automatically generated reader method
elf
.
elf-sym-64
)) ¶automatically generated writer method
elf-sym-32
)) ¶automatically generated writer method
elf-rela-64
)) ¶automatically generated writer method
elf-rela-32
)) ¶automatically generated writer method
elf-rel-64
)) ¶automatically generated writer method
elf-rel-32
)) ¶automatically generated writer method
section-header
)) ¶automatically generated writer method
Write DATA into OBJ at EA overwriting previous contents.
elf
.
section-header
)) ¶automatically generated reader method
elf
.
section-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
elf
.
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
elf
.
elf-sym-64
)) ¶automatically generated reader method
elf-sym-32
)) ¶automatically generated reader method
section-header
)) ¶automatically generated reader method
elf
.
elf-sym-64
)) ¶automatically generated writer method
elf-sym-32
)) ¶automatically generated writer method
section-header
)) ¶automatically generated writer method
elf
.
elf-rela-64
)) ¶automatically generated reader method
elf-rela-32
)) ¶automatically generated reader method
elf-rel-64
)) ¶automatically generated reader method
elf-rel-32
)) ¶automatically generated reader method
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
section-header
)) ¶automatically generated reader method
elf
.
elf-rela-64
)) ¶automatically generated writer method
elf-rela-32
)) ¶automatically generated writer method
elf-rel-64
)) ¶automatically generated writer method
elf-rel-32
)) ¶automatically generated writer method
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
section-header
)) ¶automatically generated writer method
elf
.
instruction
)) ¶automatically generated reader method
data-processing
)) ¶automatically generated reader method
elf
.
instruction
)) ¶automatically generated writer method
data-processing
)) ¶automatically generated writer method
elf
.
instruction
)) ¶automatically generated reader method
elf
.
instruction
)) ¶automatically generated writer method
elf
.
elf-sym-64
)) ¶automatically generated reader method
elf-sym-32
)) ¶automatically generated reader method
elf
.
elf-sym-64
)) ¶automatically generated writer method
elf-sym-32
)) ¶automatically generated writer method
elf
.
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
elf
.
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
Shift bits in REL based on its class.
The interpretation of the type is machine specific.
elf
.
elf-rel
) (header elf-header
)) ¶elf
.
elf-sym-64
)) ¶automatically generated reader method
elf-sym-32
)) ¶automatically generated reader method
elf
.
elf-sym-64
)) ¶automatically generated writer method
elf-sym-32
)) ¶automatically generated writer method
elf
.
elf-sym-64
)) ¶automatically generated reader method
elf-sym-32
)) ¶automatically generated reader method
section-header
)) ¶automatically generated reader method
elf
.
elf-sym-64
)) ¶automatically generated writer method
elf-sym-32
)) ¶automatically generated writer method
section-header
)) ¶automatically generated writer method
Return the symbols contained in ELF.
elf
.
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
section-header
)) ¶automatically generated reader method
elf-header
)) ¶automatically generated reader method
elf
.
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
section-header
)) ¶automatically generated writer method
elf-header
)) ¶automatically generated writer method
elf
.
program-header-64
)) ¶automatically generated reader method
program-header-32
)) ¶automatically generated reader method
elf
.
program-header-64
)) ¶automatically generated writer method
program-header-32
)) ¶automatically generated writer method
elf
.
elf-sym-64
)) ¶automatically generated reader method
elf-sym-32
)) ¶automatically generated reader method
elf
.
elf-sym-64
)) ¶automatically generated writer method
elf-sym-32
)) ¶automatically generated writer method
Return the virtual memory address for SECTION.
arm-instruction
) &key) ¶instruction
) stream) ¶elf
.
arm-decode
.
(setf bits-at-ea)
.
bits-at-ea
.
file-offset-of-ea
.
(setf header)
.
header
.
insert
.
(setf ordering)
.
ordering
.
(setf program-table)
.
program-table
.
(setf section-table)
.
section-table
.
(setf sections)
.
sections
.
set-arm-branch
.
set-arm-data-processing
.
set-arm-data-transfer
.
set-arm-stack
.
set-arm-word
.
(setf subseq-ea)
.
subseq-ea
.
(setf subseq-off)
.
subseq-off
.
symbols
.
(setf word-at-ea)
.
word-at-ea
.
(setf word-at-off)
.
word-at-off
.
:header
:section-table
:program-table
:sections
:ordering
Disassemblable objects with caches holding disassembly by section name.
elf
.
(setf data-encoding)
.
data-encoding
.
(setf eh-size)
.
eh-size
.
(setf ei-size)
.
ei-size
.
(setf entry)
.
entry
.
(setf file-class)
.
file-class
.
(setf flags)
.
flags
.
(setf ident-version)
.
ident-version
.
(setf machine)
.
machine
.
(setf magic-number)
.
magic-number
.
(setf padding)
.
padding
.
(setf ph-ent-size)
.
ph-ent-size
.
(setf ph-num)
.
ph-num
.
(setf phoff)
.
phoff
.
read-object
.
rel-type
.
(setf sh-ent-size)
.
sh-ent-size
.
(setf sh-num)
.
sh-num
.
(setf sh-str-ind)
.
sh-str-ind
.
(setf shoff)
.
shoff
.
(setf type)
.
type
.
(setf version)
.
version
.
write-object
.
:magic-number
:file-class
:data-encoding
:ident-version
:padding
:ei-size
:machine
:version
:entry
:phoff
:shoff
:flags
:eh-size
:ph-ent-size
:ph-num
:sh-ent-size
:sh-num
:sh-str-ind
elf
.
(setf conditions)
.
conditions
.
(setf ignored)
.
ignored
.
(setf l)
.
l
.
(setf p)
.
p
.
read-object
.
(setf registers)
.
registers
.
(setf rn)
.
rn
.
(setf s)
.
s
.
(setf u)
.
u
.
(setf w)
.
w
.
write-object
.
:registers
:ignored
:conditions
elf
.
(setf b)
.
b
.
(setf conditions)
.
conditions
.
(setf i)
.
i
.
(setf ignored)
.
ignored
.
(setf l)
.
l
.
(setf offset)
.
offset
.
(setf p)
.
p
.
(setf rd)
.
rd
.
read-object
.
(setf rn)
.
rn
.
(setf u)
.
u
.
(setf w)
.
w
.
write-object
.
:offset
:ignored
:conditions
Name of the decoding commands listed by ‘machine’. Where ‘machine’ is the elf header field.
elf
.
Association list of type meaning by machine type.
SPEC is the variable used to reference the file w/optional extension. After BODY is executed the temporary file is removed.
Return subsequent chunks of LIST of size SIZE.
Return the string representation of the instructions in SECTION.
elf
.
Return the entry in .dynamic associated with SEC.
Return the appropriate type of dynamic symbol given the value of *CLASS*.
Raise a warning if HEADER was read using the wrong endianness.
Return the appropriate type of elf relocation given the value of *CLASS*.
Return type of elf relocation (w/addend) given the value of *CLASS*.
Return the appropriate type of elf symbol given the value of *CLASS*.
Equal over objects and lists.
Return the sections of the ELF file sorted by their order in memory. Each element of the resulting list is a triplet of (offset size header).
Assign names to the symbols contained in SEC.
Parse line of objdump output into (address raw instruction).
elf
.
Return the program header in PT associated with SEC.
Note: a section may be included in multiple program headers, but for
now lets just select the one with the tightest bounds on the
section (in the file).
Return the appropriate type of program header given the value of *CLASS*.
Print the fields of a elf, section or program header. Optional argument OUT specifies an output stream.
Print information on the symbols stored in a relocatable section. Note: the output should resemble the output of readelf -r.
elf
.
elf-rela-64
)) ¶automatically generated reader method
elf-rela-32
)) ¶automatically generated reader method
elf
.
elf-rela-64
)) ¶automatically generated writer method
elf-rela-32
)) ¶automatically generated writer method
elf
.
bad-elf-class
)) ¶elf
.
data-processing
)) ¶automatically generated reader method
ldm/stm
)) ¶automatically generated reader method
elf
.
data-processing
)) ¶automatically generated writer method
b/bl
)) ¶automatically generated writer method
bx
)) ¶automatically generated writer method
ldm/stm
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
Parse an instruction from a string representation.
elf
.
tsl-instruction
) string) ¶objdump-instruction
) string) ¶elf
.
data-processing
)) ¶data-processing
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
data-processing
)) ¶automatically generated reader method
elf
.
data-processing
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
data-processing
)) ¶automatically generated reader method
elf
.
data-processing
)) ¶data-processing
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
instruction
)) ¶automatically generated reader method
elf
.
instruction
)) ¶automatically generated writer method
elf
.
data-processing
)) ¶elf
.
register-operand
)) ¶automatically generated reader method
elf
.
register-operand
)) ¶automatically generated writer method
elf
.
immediate-operand
)) ¶automatically generated reader method
elf
.
immediate-operand
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
register-operand
)) ¶automatically generated reader method
elf
.
register-operand
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
elf
.
elf-dyn-64
)) ¶automatically generated reader method
elf-dyn-32
)) ¶automatically generated reader method
elf
.
elf-dyn-64
)) ¶automatically generated writer method
elf-dyn-32
)) ¶automatically generated writer method
elf
.
elf-dyn-64
)) ¶automatically generated reader method
elf-dyn-32
)) ¶automatically generated reader method
elf
.
elf-dyn-64
)) ¶automatically generated writer method
elf-dyn-32
)) ¶automatically generated writer method
elf
.
elf-header
)) ¶automatically generated reader method
elf
.
elf-header
)) ¶automatically generated writer method
Return the word size for the given class.
elf
.
elf-dyn-64
)) ¶elf-dyn-32
)) ¶b/bl
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-header
) streamvar1) ¶com.gigamonkeys.binary-data
.
data-processing
) streamvar1) ¶com.gigamonkeys.binary-data
.
ldm/stm
) streamvar1) ¶com.gigamonkeys.binary-data
.
bx
) streamvar1) ¶com.gigamonkeys.binary-data
.
ldr/str
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-sym-64
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-dyn-64
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-rel-64
) streamvar1) ¶com.gigamonkeys.binary-data
.
register-operand
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-rela-64
) streamvar1) ¶com.gigamonkeys.binary-data
.
.word
) streamvar1) ¶com.gigamonkeys.binary-data
.
immediate-operand
) streamvar1) ¶com.gigamonkeys.binary-data
.
program-header-32
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-dyn-32
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-rel-32
) streamvar1) ¶com.gigamonkeys.binary-data
.
section-header
) streamvar1) ¶com.gigamonkeys.binary-data
.
program-header-64
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-sym-32
) streamvar1) ¶com.gigamonkeys.binary-data
.
elf-rela-32
) streamvar1) ¶com.gigamonkeys.binary-data
.
b/bl
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-header
) streamvar3) ¶com.gigamonkeys.binary-data
.
data-processing
) streamvar3) ¶com.gigamonkeys.binary-data
.
ldm/stm
) streamvar3) ¶com.gigamonkeys.binary-data
.
bx
) streamvar3) ¶com.gigamonkeys.binary-data
.
ldr/str
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-sym-64
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-dyn-64
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-rel-64
) streamvar3) ¶com.gigamonkeys.binary-data
.
register-operand
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-rela-64
) streamvar3) ¶com.gigamonkeys.binary-data
.
.word
) streamvar3) ¶com.gigamonkeys.binary-data
.
immediate-operand
) streamvar3) ¶com.gigamonkeys.binary-data
.
program-header-32
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-dyn-32
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-rel-32
) streamvar3) ¶com.gigamonkeys.binary-data
.
section-header
) streamvar3) ¶com.gigamonkeys.binary-data
.
program-header-64
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-sym-32
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf-rela-32
) streamvar3) ¶com.gigamonkeys.binary-data
.
elf
.
(setf ptr)
.
ptr
.
un-type
.
(setf val)
.
val
.
elf
.
:value
:other
:shndx
elf
.
:other
:shndx
:value
elf
.
:offset
:vaddr
:paddr
:filesz
:memsz
:flags
:align
elf
.
:flags
:offset
:vaddr
:paddr
:filesz
:memsz
:align
elf
.
(setf alignment)
.
alignment
.
(setf bits-at-ea)
.
bits-at-ea
.
(setf data)
.
data
.
(setf elf)
.
elf
.
(setf flags)
.
flags
.
index-of-ea
.
insert
.
(setf name)
.
name
.
(setf offset)
.
offset
.
(setf ph)
.
ph
.
set-data
.
(setf sh)
.
sh
.
(setf size)
.
size
.
(setf subseq-ea)
.
subseq-ea
.
(setf subseq-off)
.
subseq-off
.
(setf type)
.
type
.
(setf vma)
.
vma
.
(setf word-at-ea)
.
word-at-ea
.
(setf word-at-off)
.
word-at-off
.
elf
.
:flags
:address
:offset
:addralign
:entsize
Jump to: | (
A B C D E F G H I L M N O P R S T U V W |
---|
Jump to: | (
A B C D E F G H I L M N O P R S T U V W |
---|
Jump to: | *
A B C D E F H I L M N O P R S T U V W |
---|
Jump to: | *
A B C D E F H I L M N O P R S T U V W |
---|
Jump to: | .
A B C D E F I L O P R S T U |
---|
Jump to: | .
A B C D E F I L O P R S T U |
---|