File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ readmeta{T<:ObjectHandle}(io::IO, ::Type{T}) =
93
93
94
94
abstract SectionRef{T<: ObjectHandle }
95
95
abstract Section{T<: ObjectHandle }
96
+ abstract Relocation{T<: ObjectHandle }
97
+ abstract RelocationRef{T<: ObjectHandle }
96
98
97
99
# The size of the actual data contained in the section. This should exclude any
98
100
# padding mandated by the file format e.g. due to alignment rules
@@ -109,6 +111,7 @@ abstract Section{T<:ObjectHandle}
109
111
110
112
# Retrieving the actual section datastructure
111
113
@mustimplement deref (section:: SectionRef )
114
+ deref (section:: Section ) = section
112
115
113
116
# Retrieving the object handle
114
117
@mustimplement handle (section:: SectionRef )
280
283
281
284
readmeta (file:: String ) = readmeta (open (file," r" ))
282
285
286
+ read {T<:ObjectHandle} (oh:: T , args... ) = read (oh. io,args... )
287
+
283
288
# Others
284
289
285
290
function getSectionLoadAddress
You can’t perform that action at this time.
0 commit comments