summaryrefslogtreecommitdiff
path: root/src/leb128.cc
Commit message (Collapse)AuthorAgeFilesLines
* src/leb128.cc: fix detection of too-big u64 LEB128s (#2256)Keith Winstein2023-06-091-2/+2
|
* Move headers to include/wabt/ (#1998)Alex Reinking2022-09-281-2/+2
| | | This makes things easier for users and packagers of libwabt.
* [Memory64] Support reading/writing limits as 64-bit LEBs (#1664)Wouter van Oortmerssen2021-04-221-0/+7
|
* Fix bug when writing multi-value block type (#1533)Ben Smith2020-09-081-0/+14
| | | | | | | | | * Fix bug when writing multi-value block type The block type must be written as an SLEB, not an LEB. We also want it to be relocatable, so I added a way to write a fixed-size SLEB too (`WriteS32Leb128WithReloc` and `WriteFixedS32Leb128`). * Fix ubsan issue
* Added initial "memory64" proposal support (#1500)Wouter van Oortmerssen2020-08-071-0/+44
|
* Add test for disabled opcodes in binary reader (#934)Ben Smith2018-10-181-0/+11
| | | | | | It's easy to forget to add a check for unexpected opcodes, and it's tedious to have to write additional tests in `test/binary/*`. This way we can test all potentially disabled instructions at once.
* [cleanup] Always use braces with if (#691)Ben Smith2017-12-091-6/+10
|
* Move Leb128 reading functions to leb128.cc (#635)Ben Smith2017-09-221-0/+154
|
* Move LEB128 stuff to its own file (#612)Ben Smith2017-09-061-0/+127
Also rename some of the functions.