Nikolay Nikolov
|
01d97bea00
- rm commented out code
|
1 ano atrás |
Nikolay Nikolov
|
36fe4cf43d
* the ReadUleb, ReadUleb32 and ReadName methods moved to be local functions inside TWasmObjInput.ReadObjData.ReadSection
|
1 ano atrás |
Nikolay Nikolov
|
c9b407508a
* use ReadUleb32 in more places
|
1 ano atrás |
Nikolay Nikolov
|
621699acca
+ introduced ReadUleb32 to avoid code repetition of the >high(uint32) checks
|
1 ano atrás |
Nikolay Nikolov
|
bcb7c069fb
+ parse the data count section
|
1 ano atrás |
Nikolay Nikolov
|
f87a66f1e6
+ parse the rest of the function section
|
1 ano atrás |
Nikolay Nikolov
|
c7880e7bd1
+ read the functions count from the functions section
|
1 ano atrás |
Nikolay Nikolov
|
be56b641d7
+ function section duplicate check
|
1 ano atrás |
Nikolay Nikolov
|
e81b062e2d
+ WebAssembly object reader: implemented parsing of the import section
|
1 ano atrás |
Nikolay Nikolov
|
e6a3aa3450
+ import section duplicate check
|
1 ano atrás |
Nikolay Nikolov
|
3bc6340424
- removed TODO comment
|
1 ano atrás |
Nikolay Nikolov
|
01dbc63735
+ input error message in case the type section size is unexpected/wrong
|
1 ano atrás |
Nikolay Nikolov
|
a08c937beb
+ Wasm internal linker, object reader: implemented parsing of the type section
|
1 ano atrás |
Nikolay Nikolov
|
90e7b2be56
+ added functions for reading the different types of Wasm object sections
|
1 ano atrás |
Nikolay Nikolov
|
54eb8de658
* write a WebAssembly header in TWasmExeOutput.writeData
|
1 ano atrás |
Nikolay Nikolov
|
6bead20fc3
* set CObjData in the TWasmExeOutput constructor
|
1 ano atrás |
Nikolay Nikolov
|
5a61f51b3c
+ added TWasmExeOutput class (not implemented, yet)
|
1 ano atrás |
Nikolay Nikolov
|
d98d0c5e62
+ started implementing TWasmObjInput.ReadObjData
|
1 ano atrás |
Nikolay Nikolov
|
b9668a88c6
+ implemented TWasmObjInput.CanReadObjData: checks for WASM header and version
|
1 ano atrás |
Nikolay Nikolov
|
bc727f9fb2
+ added TWasmObjInput class. To be used in the WASM internal linker. Not doing anything, yet.
|
1 ano atrás |
Nikolay Nikolov
|
322befbf56
+ added mutable globals to the target switches section
|
2 anos atrás |
Nikolay Nikolov
|
9b4366e4f6
+ support externref and funcref WebAssembly globals in the internal object writer
|
2 anos atrás |
Nikolay Nikolov
|
dd13b46088
* use WasmCustomSectionName to obtain the debug section names in MaybeWriteDebugSection and MaybeAddDebugSectionToSymbolTable
|
3 anos atrás |
Nikolay Nikolov
|
efd92fba01
+ introduced TWasmCustomDebugSectionType
|
3 anos atrás |
Nikolay Nikolov
|
cc260eb7b2
* wasm32 obj writer: use Data.ObjSectionList.Find to find the debug section by name in MaybeWriteDebugSection
|
3 anos atrás |
Nikolay Nikolov
|
e959422753
* wasm32 obj writer: do the relocations before writing the code, data and debug sections
|
3 anos atrás |
Nikolay Nikolov
|
edf5fce7e3
* wasm32 obj writer: determine the section number for the datacount, code, data and debug sections ahead of time (before writing the sections)
|
3 anos atrás |
Nikolay Nikolov
|
b5a71086e8
* wasm32 obj writer: moved the writing of the data sections ahead
|
3 anos atrás |
Nikolay Nikolov
|
2a196899bc
* wasm32 obj writer: writing the debug section symbols to the symbol table moved before the writing of the debug sections themselves
|
3 anos atrás |
Nikolay Nikolov
|
65b4425672
+ support declaring wasm globals in the WebAssembly internal object writer
|
3 anos atrás |