Commit History

Autor SHA1 Mensaxe Data
  Nikolay Nikolov 50f76a2ffb * moved another local var to avoid bug %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 2ab16a5a8f - removed debug writeln %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov e754937ad3 + verify the segment count when parsing the WASM_SEGMENT_INFO subsection %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov bbb564437d + parse the data section in the wasm object reader %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 818b6e6983 * check that the data count section preceeds the data section and report an error otherwise %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov e4600f5e38 + read the data count from the data section. Set size of the DataSegments %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 10b201c506 + check for duplicated data sections %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 6f7c1b5b4e + added DataSegments dynarray of record, that will store data segment info %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov e3c5d016e0 + check for duplicated WASM_SEGMENT_INFO subsections %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 3121ee1367 + parse the WASM_SEGMENT_INFO subsection %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 8a7743b566 * set FReader and InputFileName in the beginning of TWasmObjInput.ReadObjData %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov e7f6da4cb0 * the 'linking' section is a section, not a subsection. Fix error messages. %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 9063c3c0ed + parse the linking custom section by splitting it into subsections and call subfunctions (dummy for now) for each subsection %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 8802c7d489 + parse and check the version of the 'linking' section %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 5a5abe2419 + started parsing of custom sections - known custom sections are dispatched to %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 2ae98a7363 + read the code entries count from the code section %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 7d41f5eb92 + added code section duplicate check in wasm object reader %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov b2861bacdd - removed the repeated section bounds check in the section parsing code, %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 8591f1218c + added section bounds checking to the read function, used inside TWasmObjInput.ReadObjData.ReadSection %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 16c18e845f - removed the TObjectReader parameter from ReadUleb, ReadUleb32 and ReadName %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 01d97bea00 - rm commented out code %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 36fe4cf43d * the ReadUleb, ReadUleb32 and ReadName methods moved to be local functions inside TWasmObjInput.ReadObjData.ReadSection %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov c9b407508a * use ReadUleb32 in more places %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov 621699acca + introduced ReadUleb32 to avoid code repetition of the >high(uint32) checks %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov bcb7c069fb + parse the data count section %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov f87a66f1e6 + parse the rest of the function section %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov c7880e7bd1 + read the functions count from the functions section %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov be56b641d7 + function section duplicate check %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov e81b062e2d + WebAssembly object reader: implemented parsing of the import section %!s(int64=2) %!d(string=hai) anos
  Nikolay Nikolov e6a3aa3450 + import section duplicate check %!s(int64=2) %!d(string=hai) anos