@@ -8,7 +8,7 @@ export printfield, printentry, printfield_with_color, deref,
8
8
load_strtab, readmeta, StrTab, symname, Sections, symbolvalue,
9
9
isundef, symbolnum, Symbols
10
10
11
- import Base: read, seek, readbytes, position, show, showcompact, readuntil
11
+ import Base: read, seek, readbytes, position, show, showcompact, readuntil, skip
12
12
13
13
# ######### ObjFileBase.jl - Basic shared functionality for all object files ####
14
14
#
@@ -327,7 +327,7 @@ function readmeta(io::IO)
327
327
end
328
328
end
329
329
error ("""
330
- Object file is not any of $(join (ts , " , " )) !
330
+ Object file is not any of $(join (ObjHandles , " , " )) !
331
331
To force one object file use readmeta(io,T).
332
332
If the format you want is not listed, make sure
333
333
the appropriate pacakge is loaded before calling
@@ -340,7 +340,7 @@ readmeta(file::AbstractString) = readmeta(open(file,"r"))
340
340
read {T<:ObjectHandle} (oh:: T , args... ) = read (oh. io,args... )
341
341
read {H<:ObjectHandle,T} (oh:: H , :: Type{T} ) = read (oh. io, T):: T
342
342
readuntil {H<:ObjectHandle} (oh:: H , x) = readuntil (oh. io, x)
343
-
343
+ skip {H<:ObjectHandle} (oh :: H , x) = skip (oh . io, x)
344
344
# Others
345
345
346
346
function getSectionLoadAddress
0 commit comments