Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Mar 11, 2020
  2. Mar 10, 2020
  3. Mar 09, 2020
  4. Mar 06, 2020
    • bors[bot]'s avatar
      Merge #1262 · b2922922
      bors[bot] authored
      
      1262: Update to latest inkwell which adds context lifetime to basic blocks. r=nlewycky a=nlewycky
      
      The latest inkwell adds lifetimes to basic blocks and also changes most APIs to pass them without reference.
      
      Co-authored-by: default avatarNick Lewycky <nick@wasmer.io>
      b2922922
    • Syrus's avatar
      Updated Wasmer icons · bd9aae1e
      Syrus authored
      bd9aae1e
  5. Mar 05, 2020
    • Syrus's avatar
      Fixed comments · d1f79ae1
      Syrus authored
      d1f79ae1
    • Syrus's avatar
      Added support for wapm wax · 4b99a41e
      Syrus authored
      4b99a41e
    • bors[bot]'s avatar
      Merge #1272 · 4861e6ec
      bors[bot] authored
      
      1272: Fix WasmPtr to work with accesses accessing the final valid byte r=MarkMcCaskey a=MarkMcCaskey
      
      Resolves #1258 
      
      The fix was to change `>=` into `>`.  Doing this made us vulnerable to accessing memory to create an empty slice just out of bounds so we have to add some additional checks to make sure that that can't happen.
      
      This PR also prevents accessing arrays of length 0 (the length bound is non-inclusive, so length 0 is never valid) and prevents access of zero-sized types.
      
      The zero-sized type checks will probably be inlined (or will be in the future as `const fn` gets more mature) so provide no additional overhead.  The checking of if length == 0 does add some overhead, but on modern CPUs it shouldn't be an issue as it's a branch that should be always false in normal use.
      
      # Review
      
      - [x] Add a short description of the the change to the CHANGELOG.md file
      
      
      Co-authored-by: default avatarMark McCaskey <mark@wasmer.io>
      4861e6ec
    • Mark McCaskey's avatar
      Add `WasmPtr` bug fix to changelog · 8a8b3a43
      Mark McCaskey authored
      8a8b3a43
    • Mark McCaskey's avatar
      Add WasmPtr access edge case test · f8d34e0b
      Mark McCaskey authored
      f8d34e0b
    • Mark McCaskey's avatar
      eb4c1bda
    • Mark McCaskey's avatar
      Fix WasmPtr to work with accesses accessing the final valid byte · 1c6424a7
      Mark McCaskey authored
      This also returns `None` for all accesses of zero sized types and
      arrays of length 0.  Because the array accesses have a non-inclusive
      length, length of 0 is not valid.  These checks prevent returning
      empty slices that point just outside of memory bounds.
      1c6424a7
  6. Mar 04, 2020
Loading