Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work in progress on tests for verifty_instr function #2

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
7259a0b
tests for `BrTrue` instruction
olympichek Aug 15, 2024
cc15bb3
add tests for `BrFalse` instruction
olympichek Aug 16, 2024
1ad0730
tests for `Abort` instruction
olympichek Aug 16, 2024
36466a6
join tests for `BrTrue` and `BrFalse`
olympichek Aug 16, 2024
a1466a4
add tests for `CastU*` instructions
olympichek Aug 16, 2024
c3e00cc
tests for arithmetic operations
olympichek Aug 16, 2024
1ea1ccb
tests for `Shl` and `Shr` instructions
olympichek Aug 16, 2024
8cd8658
tests for `Or` and `And` operations
olympichek Aug 16, 2024
05034b3
tests for `Not` operation
olympichek Aug 16, 2024
97bf728
test comparison operations
olympichek Aug 16, 2024
135631d
tests for `Branch` and `Nop` instructions
olympichek Aug 22, 2024
cc4c43e
tests for `LdU*` instructions
olympichek Aug 22, 2024
88a9273
tests for `LdTrue` and `LdFalse` instructions
olympichek Aug 22, 2024
5499319
tests for `LdConst` instruction
olympichek Aug 22, 2024
1483afa
tests for `Pack` operation
olympichek Aug 27, 2024
7420fe7
tests for `Unpack` operation
olympichek Aug 27, 2024
248111e
add tests for `Eq` and `Neq` operations
olympichek Aug 27, 2024
1615c49
split "too few args" and "no args" tests
olympichek Aug 27, 2024
d4fd2ee
tests for the `Pop` operation
olympichek Aug 27, 2024
11ad166
tests for `ImmBorrowLoc` and `MutBorrowLoc` instructions
olympichek Aug 27, 2024
e5550ac
tests for `CopyLoc` and `MoveLoc` instructions
olympichek Aug 28, 2024
ca491ed
tests for `FreezeRef` operation
olympichek Aug 28, 2024
f0190d7
tests for `ReadRef` instruction
olympichek Aug 28, 2024
53afaba
tests for `WriteRef` operation
olympichek Aug 28, 2024
5da187d
tests for `StLoc` instruction
olympichek Aug 28, 2024
a660084
tests for `ImmBorrowField` operation
olympichek Aug 29, 2024
f438c4a
tests for `MutBorrowField` operation
olympichek Aug 29, 2024
61df51d
tests for `Ret` instruction
olympichek Aug 30, 2024
449b1ae
tests for `Call` instruction
olympichek Aug 30, 2024
674d1d1
`cargo fmt`
olympichek Aug 30, 2024
7f3853b
tests for `VecPack` operation
olympichek Aug 31, 2024
7ad39c5
tests for `VecUnpack` operation
olympichek Aug 31, 2024
b91b975
tests for `VecLen` operation
olympichek Sep 2, 2024
d40d47d
tests for `VecImmBorrow` operation
olympichek Sep 2, 2024
34e725e
tests for `VecMutBorrow` operation
olympichek Sep 2, 2024
cd27f70
tests for `VecPushBack` operation
olympichek Sep 2, 2024
094db42
tests for `VecPopBack` operation
olympichek Sep 2, 2024
887b39e
tests for `VecSwap` operation
olympichek Sep 2, 2024
c17baa2
`cargo fmt`
olympichek Sep 2, 2024
34a065e
tests for `ExistsDeprecated` instruction
olympichek Sep 4, 2024
69ef9c9
tests for `MoveFromDeprecated` instruction
olympichek Sep 4, 2024
6b9224e
tests for `ImmBorrowGlobalDeprecated` and `MutBorrowGlobalDeprecated`
olympichek Sep 4, 2024
f91cdf2
tests for `MoveToDeprecated` instructions
olympichek Sep 4, 2024
6ee23f8
tests for `CallGeneric` instruction
olympichek Sep 5, 2024
662a5fa
tests for `PackGeneric` and `UnpackGeneric`
olympichek Sep 6, 2024
689cf60
tests for `ExistsGenericDeprecated` instruction
olympichek Sep 6, 2024
1a760f9
tests for `MoveFromGenericDeprecated` instruction
olympichek Sep 6, 2024
ee84b11
use the same number of signatures in `make_module` and its `with_loca…
olympichek Sep 6, 2024
1e876a4
tests for `MoveToGenericDeprecated` instruction
olympichek Sep 6, 2024
3040986
tests for `ImmBorrowGlobalGenericDeprecated` and `MutBorrowGlobalGene…
olympichek Sep 6, 2024
53ad165
tests for `ImmBorrowFieldGeneric` instruction
olympichek Sep 6, 2024
156cb98
tests for `MutBorrowFieldGeneric` instruction
olympichek Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions crates/move-bytecode-verifier/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ mod reference_safety;
mod regression_tests;
mod stack_usage_verifier;
mod type_safety;

#[cfg(test)]
mod type_safety_tests;
Loading