Commit Graph

5 Commits

Author SHA1 Message Date
scnale 24d682bca4
Mark assembly as `memory safe` (#107)
* Adds `memory-safe` tag to assembly sections in `BytesLib`.

This improves codegen in the compiler and reduces the chance of
untraceable internal codegen errors when dealing with stack variables
that can't be referenced with an instruction.

Also, it removes unused functions in `BytesLib` to reduce code surface.

* Renames functions and contracts in reentrancy negative test.

* Adds `unchecked` block for overflow check.
2023-02-27 15:59:00 -07:00
derpy-duck 785ba82080 Revert "Adds `memory-safe` tag to assembly sections in `BytesLib`."
This reverts commit 2cbbf25d74.
2023-02-14 14:08:21 -05:00
Sebastián Claudio Nale 302a0e07fe Adds `memory-safe` tag to assembly sections in `BytesLib`.
This improves codegen in the compiler and reduces the chance of
untraceable internal codegen errors when dealing with stack variables
that can't be referenced with an instruction.
2023-02-14 14:08:21 -05:00
Joe Howarth d9f9dfb173 run forge fmt 2023-01-05 17:46:58 -07:00
Drew 725f92683b
Add wormhole artifacts 2022-09-09 15:10:12 +00:00