Skip to content

Commit 77c1f9d

Browse files
committed
Make load_strtab an interface
1 parent 71e4f81 commit 77c1f9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ObjFileBase.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module ObjFileBase
33
export ObjectHandle, SectionRef, SymbolRef, debugsections
44

55
export printfield, printentry, printfield_with_color, deref,
6-
sectionaddress, sectionoffset, sectionsize, sectionname
6+
sectionaddress, sectionoffset, sectionsize, sectionname,
7+
load_strtab
78

89
import Base: read, seek, readbytes, position, show
910

@@ -124,6 +125,8 @@ handleT{T}(::Union(Type{SectionRef{T}}, Type{Section{T}}, Type{SymbolRef{T}},
124125

125126
abstract StrTab
126127

128+
function load_strtab
129+
end
127130
@mustimplement strtab_lookup(s::StrTab, offset)
128131

129132
################################# Utilities ####################################

0 commit comments

Comments
 (0)