Nikolay Nikolov
|
bbb564437d
+ parse the data section in the wasm object reader
|
1 year ago |
Nikolay Nikolov
|
818b6e6983
* check that the data count section preceeds the data section and report an error otherwise
|
1 year ago |
Nikolay Nikolov
|
e4600f5e38
+ read the data count from the data section. Set size of the DataSegments
|
1 year ago |
Nikolay Nikolov
|
10b201c506
+ check for duplicated data sections
|
1 year ago |
Nikolay Nikolov
|
6f7c1b5b4e
+ added DataSegments dynarray of record, that will store data segment info
|
1 year ago |
Nikolay Nikolov
|
e3c5d016e0
+ check for duplicated WASM_SEGMENT_INFO subsections
|
1 year ago |
Nikolay Nikolov
|
3121ee1367
+ parse the WASM_SEGMENT_INFO subsection
|
1 year ago |
Nikolay Nikolov
|
8a7743b566
* set FReader and InputFileName in the beginning of TWasmObjInput.ReadObjData
|
1 year ago |
Nikolay Nikolov
|
e7f6da4cb0
* the 'linking' section is a section, not a subsection. Fix error messages.
|
1 year ago |
Nikolay Nikolov
|
9063c3c0ed
+ parse the linking custom section by splitting it into subsections and call subfunctions (dummy for now) for each subsection
|
1 year ago |
Nikolay Nikolov
|
8802c7d489
+ parse and check the version of the 'linking' section
|
1 year ago |
Nikolay Nikolov
|
5a5abe2419
+ started parsing of custom sections - known custom sections are dispatched to
|
1 year ago |
Nikolay Nikolov
|
2ae98a7363
+ read the code entries count from the code section
|
1 year ago |
Nikolay Nikolov
|
7d41f5eb92
+ added code section duplicate check in wasm object reader
|
1 year ago |
Nikolay Nikolov
|
b2861bacdd
- removed the repeated section bounds check in the section parsing code,
|
1 year ago |
Nikolay Nikolov
|
8591f1218c
+ added section bounds checking to the read function, used inside TWasmObjInput.ReadObjData.ReadSection
|
1 year ago |
Nikolay Nikolov
|
16c18e845f
- removed the TObjectReader parameter from ReadUleb, ReadUleb32 and ReadName
|
1 year ago |
Nikolay Nikolov
|
01d97bea00
- rm commented out code
|
1 year ago |
Nikolay Nikolov
|
36fe4cf43d
* the ReadUleb, ReadUleb32 and ReadName methods moved to be local functions inside TWasmObjInput.ReadObjData.ReadSection
|
1 year ago |
Nikolay Nikolov
|
c9b407508a
* use ReadUleb32 in more places
|
1 year ago |
Nikolay Nikolov
|
621699acca
+ introduced ReadUleb32 to avoid code repetition of the >high(uint32) checks
|
1 year ago |
Nikolay Nikolov
|
bcb7c069fb
+ parse the data count section
|
1 year ago |
Nikolay Nikolov
|
f87a66f1e6
+ parse the rest of the function section
|
1 year ago |
Nikolay Nikolov
|
c7880e7bd1
+ read the functions count from the functions section
|
1 year ago |
Nikolay Nikolov
|
be56b641d7
+ function section duplicate check
|
1 year ago |
Nikolay Nikolov
|
e81b062e2d
+ WebAssembly object reader: implemented parsing of the import section
|
1 year ago |
Nikolay Nikolov
|
e6a3aa3450
+ import section duplicate check
|
1 year ago |
Nikolay Nikolov
|
3bc6340424
- removed TODO comment
|
1 year ago |
Nikolay Nikolov
|
01dbc63735
+ input error message in case the type section size is unexpected/wrong
|
1 year ago |
Nikolay Nikolov
|
a08c937beb
+ Wasm internal linker, object reader: implemented parsing of the type section
|
1 year ago |