Skip to content

Commit

Permalink
LFVM: Refactor overflow checks, add tests (#838)
Browse files Browse the repository at this point in the history
* Refactor overflow checks

delay range check for offset and length op parameters instead of doing at the beginning of the instructions to simplify instructions control flow.

* Apply review changes

Remove superfluous tests

* Apply review changes,

- remove dead code
-  move word cost after get slice to guard size cast
- move global variable to local scope
- fix variable naming

* Fix log broken test
  • Loading branch information
LuisPH3 authored Oct 8, 2024
1 parent 9a66428 commit 563210c
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 309 deletions.
Loading

0 comments on commit 563210c

Please sign in to comment.