Package org.qbicc.machine.file.wasm
Class WasmObjectFile
java.lang.Object
org.qbicc.machine.file.wasm.WasmObjectFile
- All Implemented Interfaces:
Closeable,AutoCloseable,ObjectFile
A Wasm object file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.qbicc.machine.arch.CpugetCpu()org.qbicc.machine.arch.ObjectTypegetSection(String name) byte[]getSymbolAsBytes(String name, int size) longgetSymbolSize(String name) intgetSymbolValueAsByte(String name) intgetSymbolValueAsInt(String name) longgetSymbolValueAsLong(String name) getSymbolValueAsUtfString(String name, int nbytes)
-
Constructor Details
-
WasmObjectFile
- Throws:
IOException
-
-
Method Details
-
getSymbolValueAsByte
- Specified by:
getSymbolValueAsBytein interfaceObjectFile
-
getSymbolValueAsInt
- Specified by:
getSymbolValueAsIntin interfaceObjectFile
-
getSymbolValueAsLong
- Specified by:
getSymbolValueAsLongin interfaceObjectFile
-
getSymbolAsBytes
- Specified by:
getSymbolAsBytesin interfaceObjectFile
-
getSymbolValueAsUtfString
- Specified by:
getSymbolValueAsUtfStringin interfaceObjectFile
-
getSymbolSize
- Specified by:
getSymbolSizein interfaceObjectFile
-
getByteOrder
- Specified by:
getByteOrderin interfaceObjectFile
-
getCpu
public org.qbicc.machine.arch.Cpu getCpu()- Specified by:
getCpuin interfaceObjectFile
-
getObjectType
public org.qbicc.machine.arch.ObjectType getObjectType()- Specified by:
getObjectTypein interfaceObjectFile
-
getSection
- Specified by:
getSectionin interfaceObjectFile
-
getRelocationSymbolForSymbolValue
- Specified by:
getRelocationSymbolForSymbolValuein interfaceObjectFile
-
getStackMapSectionName
- Specified by:
getStackMapSectionNamein interfaceObjectFile
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-