Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add missing types in binary reading | Alon Zakai | 2016-01-14 | 1 | -4/+17 |
| | |||||
* | use std::pow | Alon Zakai | 2016-01-14 | 1 | -2/+2 |
| | |||||
* | add a constant for natural alignment in the binary format | Alon Zakai | 2016-01-14 | 1 | -2/+3 |
| | |||||
* | improve a for loop | Alon Zakai | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | minor binary updates following comments | Alon Zakai | 2016-01-14 | 1 | -3/+3 |
| | |||||
* | comments | Alon Zakai | 2016-01-14 | 1 | -2/+2 |
| | |||||
* | fix an LEB128 bug | Alon Zakai | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | add local assertions | Alon Zakai | 2016-01-14 | 1 | -0/+2 |
| | |||||
* | break/switch fixes | Alon Zakai | 2016-01-14 | 1 | -1/+9 |
| | |||||
* | break assert | Alon Zakai | 2016-01-14 | 1 | -0/+3 |
| | |||||
* | add locations for recursion debugging | Alon Zakai | 2016-01-14 | 1 | -4/+4 |
| | |||||
* | fix binary writing of CallIndirect | Alon Zakai | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | fix binary writing of BrIf | Alon Zakai | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | fix recursion debugging | Alon Zakai | 2016-01-14 | 1 | -6/+6 |
| | |||||
* | artisinal debugging | Alon Zakai | 2016-01-14 | 1 | -85/+104 |
| | |||||
* | more binary debugging | Alon Zakai | 2016-01-14 | 1 | -46/+55 |
| | |||||
* | fix call_import | Alon Zakai | 2016-01-14 | 1 | -3/+4 |
| | |||||
* | fix function size offsetting | Alon Zakai | 2016-01-13 | 1 | -4/+5 |
| | |||||
* | more binary fixes | Alon Zakai | 2016-01-13 | 1 | -4/+4 |
| | |||||
* | fix locals in binary format | Alon Zakai | 2016-01-13 | 1 | -8/+16 |
| | |||||
* | fix binary skipping bug | Alon Zakai | 2016-01-13 | 1 | -1/+5 |
| | |||||
* | fix buffer writing bug | Alon Zakai | 2016-01-13 | 1 | -1/+3 |
| | |||||
* | more debugging | Alon Zakai | 2016-01-13 | 1 | -0/+3 |
| | |||||
* | functions must be parsed after all their targets are known | Alon Zakai | 2016-01-13 | 1 | -8/+27 |
| | |||||
* | add a call assert and debugging | Alon Zakai | 2016-01-13 | 1 | -0/+3 |
| | |||||
* | fix maybeVisit logic | Alon Zakai | 2016-01-13 | 1 | -5/+6 |
| | |||||
* | use unsigned types in wasm-binary.h | Alon Zakai | 2016-01-13 | 1 | -17/+24 |
| | |||||
* | more debugging | Alon Zakai | 2016-01-13 | 1 | -0/+43 |
| | |||||
* | avoid char casting bug in wasm-binary | Alon Zakai | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | fix LEB128 bug | Alon Zakai | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | add debugging for wasm-binary.h | Alon Zakai | 2016-01-13 | 3 | -11/+50 |
| | |||||
* | initial work on wasm-dis | Alon Zakai | 2016-01-13 | 3 | -16/+592 |
| | |||||
* | avoid unportable sizes in wasm.h | Alon Zakai | 2016-01-13 | 1 | -2/+2 |
| | |||||
* | some function parsing changes in s2wasm, due to upstream llvm | Alon Zakai | 2016-01-13 | 1 | -1/+7 |
| | |||||
* | implement br_if in wasm-as | Alon Zakai | 2016-01-12 | 1 | -2/+2 |
| | |||||
* | implement switch in wasm-as | Alon Zakai | 2016-01-12 | 1 | -2/+12 |
| | |||||
* | fix some macros in wasm-as | Alon Zakai | 2016-01-12 | 1 | -0/+3 |
| | |||||
* | ensure function types for all functions in wasm-as, as the binary format ↵ | Alon Zakai | 2016-01-12 | 1 | -1/+15 |
| | | | | requires it | ||||
* | update s2wasm for new block and loop format in .s files from llvm #97 | Alon Zakai | 2016-01-12 | 1 | -37/+45 |
| | |||||
* | refactor FunctionType to always be accessed from the Module's central store, ↵ | Alon Zakai | 2016-01-11 | 8 | -69/+55 |
| | | | | which is necessary for simple binary writing | ||||
* | finish initial pass on wasm-binary, and add wasm-as tool #13 | Alon Zakai | 2016-01-11 | 2 | -139/+243 |
| | |||||
* | Merge pull request #93 from WebAssembly/asm2wasm-use-command-line | Alon Zakai | 2016-01-11 | 8 | -58/+91 |
|\ | | | | | asm2wasm: use support's command-line | ||||
| * | asm2wasm: use support's command-line | JF Bastien | 2016-01-11 | 8 | -58/+91 |
| | | |||||
* | | emit data segments in binary #13 | Alon Zakai | 2016-01-11 | 1 | -16/+24 |
| | | |||||
* | | implement LEB128 writing in binary format support #13 | Alon Zakai | 2016-01-11 | 1 | -10/+60 |
| | | |||||
* | | ignore @FUNCTION | Alon Zakai | 2016-01-11 | 1 | -2/+12 |
| | | |||||
* | | Check for negative overflow. | JF Bastien | 2016-01-11 | 1 | -30/+50 |
| | | |||||
* | | Safe integer: assert before converting double to integer. | JF Bastien | 2016-01-10 | 1 | -0/+5 |
| | | |||||
* | | Asm2WasmBuilder: allow building u/s int32. | JF Bastien | 2016-01-10 | 1 | -2/+3 |
| | | |||||
* | | Add Travis builds with sanitizers | JF Bastien | 2016-01-10 | 10 | -57/+165 |
|/ | | | | | | | | | | | | | | | | This triggers 5 independent build / test runs: - clang, no sanitizer; - clang, UB sanitizer; - clang, address sanitizer (disabled for now); - clang, thread sanitizer (disabled for now); - GCC. Enabling UBSan led to these changes: - Fix a bunch of undefined behavior throughout the code base. - Fix some tests that relied on that undefined behavior. - Make some of the tests easier to debug by printing their command line. - Add ubsan blacklist to work around libstdc++ bug. - Example testcase also needs sanitizer because libsupport.a uses it. |