Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [WebAssembly] Check if the section order is correct | Heejin Ahn | 2018-12-15 | 1 | -0/+0 |
| | | | | | | | | | | | | | | | | | | | | Summary: This patch checks if the section order is correct when reading a wasm object file in `WasmObjectFile` and converting YAML to wasm object in yaml2wasm. (It is not possible to check when reading YAML because it is handled exclusively by the YAML reader.) This checks the ordering of all known sections (core sections + known custom sections). This also adds section ID DataCount section that will be scheduled to be added in near future. Reviewers: sbc100 Subscribers: dschuff, mgorny, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D54924 llvm-svn: 349221 | ||||
* | [WASM] Fix overflow when reading custom section | Jonas Devlieghere | 2018-08-08 | 1 | -0/+0 |
| | | | | | | | | | | | | | When reading a custom WASM section, it was possible that its name extended beyond the size of the section. This resulted in a bogus value for the section size due to the size overflowing. Fixes heap buffer overflow detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8190 Differential revision: https://reviews.llvm.org/D50387 llvm-svn: 339269 | ||||
* | [WebAssembly] Fix overflow for input with missing version | Jonas Devlieghere | 2017-08-23 | 1 | -0/+0 |
Differential revision: https://reviews.llvm.org/D37070 llvm-svn: 311605 |